In this series, I will show you step by step how to configure Hub Transport servers in an NLB using WNLB. We will also verify some things work as expected to look at the ability to fix errors and load balancing work for outgoing mail flow.
The environment is used in this articleIf you want to deploy and test the solution explained in this series in your own environment (should be done in a lab environment for the first time), the following environmental requirements will be required:
Note :
Because the NLB cluster configured in this series is configured in unicast mode, you need to install two network interface cards (NICs) in each Hub Transport server.
With the new environment, the first thing you want to do is create an A-record for the NLB cluster in DNS. To do so, log on to the domain controller in the Active Directory forest, then open the DNS manager by clicking Start > Run and typing dnsmgmt.msc .
Now open the Forward Lookup Zones item and right-click the search item in Active Directory. In the right-click menu, select New Host (A) , and then type the name you want to use. As you can see in Figure 1, we used MAIL for this installation. Then type the IP address you want to use as the IP address of the Windows NLB cluster (this is the IP address on the same subnet as NLB member servers).
Figure 1: Create a DNS Record for the Windows NLB Cluster in DNS Manager
Now click Add Host ( Figure 2 ) and then click OK and Done . Close DNS Manager.
Figure 2: Enter the DNS name and IP address
Although not required (as explained above), we will use unicast mode with the two network adapters installed in this setting (this gives the best performance). To configure the second network adapter on each Exchange 2007 Hub Transport server, open the Network Connections and set each LAN connection to a name as shown in Figure 3.
Figure 3: Name the network connections
Open the properties page of the NLB adapter, then configure the TCP / IP settings as shown in Figure 4. You can specify an IP address and Subnet mask. Click OK.
Figure 4: Configuring TCP / IP Settings for NLB NIC
Enable network load balancing on the first Hub Transport server
OK, now it's time to enable NLB on the first Hub Transport server in our installation. This can be done via the properties page of the network adapter, or by using the Network Load Balancing Manager. We enable it through the properties page of the network adapter and then add the second Hub Transport server to the NLB clust in the next section. So open the NLB LAN adapter's properties page, then check the Network Speaker d Balancing checkbox, as shown in Figure 5. When you check this box, click the Properties button .
Figure 5: Enable network load balancing
Under the Cluster Parameters tab (Figure 6) , enter the IP address, subnet mask and Full Internet name for the NLB cluster. Next, make sure the unicast is selected in the Cluster operation mode .
Figure 6: Configuring Cluster parameters
Click the Host Parameters tab, enter the IP address and the configured subnet mask for the network adapter (Figure 7). Leave the other settings by default.
Figure 7: Configuring Host parameters
Click the Port Rules tab, then select the default port mode and click Remove .
Now we need to add a rule for each port on which the NLB cluster accepts client requests on it. To do so, click the Add button, then enter the corresponding port under Port range (Figure 8). You also need to make sure Affinity is set to Single . Finally, click OK to add the port rule.
Figure 8: Configuring the rules for NLB Cluster Port
Doing so for each port has been requested, so you have a list of rules that are similar to those shown in Figure 9 depending on which client access service you want to allow in your organization. .
Figure 9: List of rules for the configured port
Click OK and OK (Figure 10).
Figure 10: Message dialog box
Now add a new virtual IP cluster address for the TCP / IP properties for the network adapter, see Figure 11.
Figure 11: Adding the IP Cluster address in the TCP / IP Settings page
Finally click Add and OK. Now we have installed a Windows NLB cluster on each member server.
Add the second Hub Transport server to the NLB Cluster
Now let us add a second Exchange 2007 Client Access server to the cluster. To do this, open Network Load Balancing Manager by clicking Start > Run and typing NLBMGR.EXE (or click Administrative Tools > Network Load Balancing Manager ). This will help you open the Network Load Balancing Manager as shown in Figure 12.
Figure 12: Network Load Balancing Manager
To add a second server to the NLB cluster, click Cluster in the menu, then select Add Host . In the window that appears, type in the name of this server, then click Connect (Figure 13). Select the corresponding cluster and click Finish.
Figure 13: Add the second Client Access Server to the NLB Cluster
Next, type the IP address and subnet mask of the network adapter that will be associated with the NLB cluster, and then click Finish (Figure 14).
Figure 14: Host Parameter Settings configuration for the second Hub Transport server
Now wait a bit for the server to be added and configured appropriately (Figure 15).
Figure 15: The second Hub Transport server is added to the NLB Cluster
Close Network Load Balancing Manager . Now we have load-balanced Hub Transport servers in a lab environment, but there are still some configuration steps needed. However, this is just part of the lesson, the next steps will be introduced in the next section, invite you to read.
Balancing download of Exchange 2007 SP1 Hub Transport servers with Windows Network Load Balancing (Part 2)