Monthly Archives: June 2011

Solution: Exchange 2010 SP1 OWA is slow on Hyper-V | Hyper-V Windows Server 2008 R2 SP1 slow response

Author: Zahir Hussain Shah
Exchange 2010 SP1 OWA over Hyper-V Windows Server 2008 R2 SP1 is running slow

Tags: Exchange 2010 SP1 installed on Hyper-V Windows Server 2008 R2 SP1 high network utilization | Hyper-V Windows Server 2008 R2 SP1 high network utilization, Exchange 2010 SP1 is providing slow response to user queries | Installing Exchange 2010 SP1 on Hyper-V Windows Server 2008 R2 Sp1

Application and Server Virtualization Overview (Microsoft Hyper-V) :

After the immense boom of virtualization in the Information Technology, where this technology provides great saving for its users to save their money, and to use their IT resources at utmost capacity, while virtualizing Application Infrastructure, wherever it is possible to virtualize, with this trend in our IT industry, it help a lot of small to mid-size organization, which cannot afford massive requirement to build new servers and to meet growing business needs for having new application and their integration with existing applications.

Being a Microsoft Infrastructure Solutions Consultant, I personally see a great contribution from Microsoft in the Server and Application Virtualization products with their Hyper-V, and every day, I do encourage people to go with it, because specially for Microsoft Solutions such as Exchange, ADDS, SQL, System Center products and etc… using Hyper-V works quite well, and helps you to save your server cost, and also helps you to go for Green-IT.

Well, we described enough a lot Hyper-V and virtualization, now let’s talk about the issue for which we are going to resolve here…

I saw this problem, when I built one production Exchange 2010 SP1 HA environment on Hyper-V Windows Server 2008 R2, where we saw that the OWA from both Internally and Externally working slow, and since it was a brand new environment, and everything was dedicatedly assigned to have good performance, we were trying to figure it out that why it is happening, then we found that with Windows Server 2008 R2 SP1 there is a hotfix needed for Hyper-V which resolves this issue.

Problem:

Exchange 2010 SP1 OWA provides slow response while Exchange 2010 SP1 runs as a VM on Hyper-V Windows Server 2008 R2 SP1

Symptom:

When user tries to open OWA from LAN or WAN they complains that OWA response is not at par, and it takes time for OWA to perform any operations.

Resolution:
Install this hotfix “KB2263829” on your Windows Server 2008 R2 SP1 Hyper-V Servers, where you have created Exchange 2010 SP1 virtual machines.

I would also recommend here that, when creating VMs for Exchange 2010, especially for Hyper-V, always use dedicated physical networks for each Exchange 2010 Role, which means that if you are going to have Mailbox and HUB/CAS on one Hyper-V node, then you should have Network configuration like this for Hyper-V:

Physical Network(s) Virtual Network(s) Physical Network Connectivity, Cabling design Description
Physical Network Card 1 Exchange CAS W-NLB Interface Connect to your core-switch, because creating a private network with connection both physical Hyper-V server using crossover cable, will required to configure static-route, so connecting to core switch and using same IP Addressing scheme, save you from static route. CAS NLB (Private) on which you will select while creating W-NLB Cluster
Physical Network Card 2 Exchange Mailbox Replication Connect these two physical Hyper-V Server with crossover cable, and use private IP Addresses on hyper-V nodes like 172.16.0.0/24, and assign the same IP Addresses on your Exchange 2010 MBX VM for its Replication Network. Mailbox Replication Private Network
Physical Network Card 3 Exchange CAS / HUB / MBX Server Management Interface Normal connectivity for Server with Server VLAN Since on the management Interface you won’t be having much traffic, so you can use it for other VMs management interface also, but if you do have additional interfaces, then go for dedicated one for each role.

How to build W-NLB Cluster for Exchange 2010 SP1 Client Access Server (Client Access Array), see my below article, which provides step-by-step guide for setting up Exchange 2010 CAS ARRAY Cluster:

http://zahirshahblog.com/2011/06/01/solution-install-and-configure-windows-network-load-balancing-nlb-for-hyper-v-windows-server-2008-r2-vms-for-exchange-2010-sp1-client-access-servers/

Hope this article will help you to overcome this situation, and make your Hyper-V (Exchange 2010 SP1 Virtualized) environment stable.

Cheers!

Zahir Hussain Shah
Infrastructure Practice Consultant – Unified Communications

MCSE, MCTS, MCTIP Enterprise Administrator, ITIL
Blog: 
http://zahirshahblog.com | LinkedIn | Twitter 

Solution: Install and Configure Windows Network Load Balancing (NLB) for Hyper-V Windows Server 2008 R2 VMs for Exchange 2010 SP1 Client Access Servers

Article by : Zahir Hussain Shah

Tags: Install and Configure Windows Network Load Balancing (NLB) on Hyper-V Windows Server 2008 R2 for Exchange 2010 R2 | Configure NLB for Exchange 2010 R2 | Configure NLB for Exchange 2010 Client Access Array | Install and configure Windows NLB on Hyper-V Server for Exchange 2010

Installing Windows NLB Cluster for Exchange 2010 SP1 on Hyper-V Virtual Machines

As we know that now a days we all want to conserve physical server allocations, and always try to see any possibility where we can do virtualization, rather than simply going to allocate a Physical box for an application, and with the virtualization support for Exchange 2010, most of the organizations are going towards virtualizing their production Exchange systems.

Well, before we move forward to explain the solution, let me first direct you to the Exchange 2010 Virtualization Support Policy:

http://technet.microsoft.com/en-us/library/aa996719.aspx

In addition to the above TechNet article, I would also like to inform you that with the recent release of Exchange 2010 SP1, now Exchange 2010 UM role and Hyper-V Live Migration for Hyper-v nodes containing Exchange 2010 Mailbox DAG member VM are also supported, and for this you can look at my earlier blog post:

http://zahirshahblog.com/2011/05/15/news-virtualizing-exchange-server-2010-with-windows-server-2008-r2-hyper-v/

Microsoft Recommendations for CAS Array Load Balancing (Windows NLB / Hardware NLB):

After the recent evaluation, Microsoft recommended to use Hardware Load Balancing for Exchange 2010 Client Access Array, because they found that Windows NLB is not fully capable to cater the requirements for Exchange 2010 CAS Server, for more information, please see the below video, in which you will find all the relevant information:

http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/EXL307As long as W-NLB is concerned for Exchange 2010 Client Access Array, we are still using it, and H-NLB is always a better option, we small and medium size companies, sometimes, may not be able to have it, so therefore, lets go and discuss the various options, that how we can utilize the WIINDOWS NLB for load sharing our Exchange 2010 CAS Servers.

Configuration check-list:

1. Configure Hyper-V for Exchange 2010 CAS VM Network Card Configuration for Enable spoofing for MAC Addresses.

2. WNLB Feature Installation on Exchange 2010 CAS Nodes

3. Supported W-NLB Operations Mode by Microsoft for Exchange 2010 CAS Array

4. Configuring NLB on Exchange 2010 CAS Nodes

5. Creating Client Access Array

1) Configure Hyper-V for Exchange 2010 CAS VM Network Card Configuration for Enable spoofing for MAC Addresses.

I will here put some snapshots from my LAB Exchange 2010 CAS VMs Network Configuration, which you can put in your configuration and everything will work super fine.

You can see in the below images, that Im using Two Network Cards in the CAS VMs, and I have bonded both the Virtual Network Cards to same Virtual Network, because Im using same IP Address Scheme on both the NICs (Network Card for Server VLAN as Public Network Card, and Private Communication for NLB Cluster), by using the same Network IP Addressing on both Public and Private Networks, I dont have to bother about Static Routes and stuff.

IMPORTANT: ENABLE SPOOFING OF MAC ADDRESSES
The only configuration you have to make is to check the Enable spoofing of MAC Addresses for the each Network Card added in your Exchange 2010 CAS VM.

Public Network for Exchange 2010 CAS VM:

Private (NLB) Network for Exchange 2010 CAS VM:

2) WNLB Feature Installation on Exchange 2010 CAS Nodes

You can install the W-NLB feature on both the Exchange 2010 CAS nodes from Server Manger.

Go to Server Manager, in the Features tab, right click and add new feature and install Windows Network Load Balancing.


3) Supported W-NLB Operations Mode by Microsoft for Exchange 2010 CAS Array

Make sure that while you configure W-NLB for Exchange 2010, you always select Multi-Cast as NLB Cluster Operation Mode, because Microsoft does not support Unicast as NLB Cluster operation mode for Exchange 2010.

4) Configuring NLB on Exchange 2010 CAS Nodes

Tasks needs to be performed for forming W-NLB Cluster:

I. Create a DNS A-Host record entery for your CAS ARRAY FQDN, lets say mail.abc.com.

II. After installing W-NLB feature on both the Exchange 2010 CAS nodes, now open Windows Load Balancing Manager.

III. Right Click on the top and create new Cluster

IV. Locate 1st Exchange 2010 CAS node and select the interface which you dedicate for NLB, remember, as I described above, that we are keeping same IP Addressing Scheme on both the Network Cards, so if you have 10.200.5.23/24 for Public Interface, then you have the 10.200.25/24 on the private interface (NLB interface).

V. After selecting interface for NLB, now give IP Address for NLB Cluster, then it will ask you the FQDN for the Cluster, put mail.abc.com, and in the Cluster operation mode choose MULTICAST.

5) Creating Client Access Array

Go Exchange 2010 Management Shell and run the below commands for creating client Access Array:

New-ClientAccessArray FQDN mail.abc.com Site Your-AD-Site-Name Name mail.abc.com

And with the completion of last step, our Client Access Array and Windows NLB Cluster for Exchange 2010 Client Access Server has completed successfully.

I hope this article will help lots of people, because in which I sum-up all the required configuration for your Exchange 2010 CAS Servers.

Cheers!

Zahir Hussain Shah
Infrastructure Practice Consultant – Messaging Solutions
MCSE, MCTS, MCTIP Enterprise Administrator, ITIL
Blog: http://zahirshahblog.com | LinkedIn | Twitter

Follow

Get every new post delivered to your Inbox.

Join 173 other followers