How to install NLB cluster on Windows 2008 R2

来自koorka知识分享
跳到导航 跳到搜索
Install NLB feature
  1. Run "ServerManager.msc" open server manager tools
  2. Select "feature" (功能),select "Network Load Balancing"
Configure NLB
    1. To open Network Load Balancing Manager, click Start, click Administrative Tools, and then click Network Load Balancing Manager. You can also open Network Load Balancing Manager by typing Nlbmgr from a command prompt.
    2. Right-click Network Load Balancing Clusters, and then click New Cluster.
    3. Connect to the host that is to be a part of the new cluster. In Host, enter the name of the host, and then click Connect.
    4. Select the interface that you want to use with the cluster, and then click Next. (The interface hosts the virtual IP address and receives the client traffic to load balance.)
    5. In Host Parameters, select a value in Priority (Unique host identifier). This parameter specifies a unique ID for each host. The host with the lowest numerical priority among the current members of the cluster handles all of the cluster's network traffic that is not covered by a port rule. You can override these priorities or provide load balancing for specific ranges of ports by specifying rules on the Port rules tab of the Network Load Balancing Properties dialog box. Click Next to continue.
    6. In Cluster IP Addresses, click Add to enter the cluster IP address that is shared by every host in the cluster. NLB adds this IP address to the TCP/IP stack on the selected interface of all hosts chosen to be part of the cluster. NLB doesn't support Dynamic Host Configuration Protocol (DHCP). NLB disables DHCP on each interface it configures, so the IP addresses must be static. Click Next to continue.
    7. In Cluster Parameters, type values in IP Address and Subnet mask (for IPv6 addresses, subnet mask is not needed). A full Internet name is not needed when using NLB with Terminal Services.
    8. In Cluster operation mode, click Unicast to specify that a unicast media access control (MAC) address should be used for cluster operations. In unicast mode, the MAC address of the cluster is assigned to the network adapter of the computer, and the built-in MAC address of the network adapter is not used. It is recommended that you accept the unicast default settings. Click Next to continue.
    9. In Port Rules, click Edit to modify the default port rules. Configure the rules as follows: In Port Range, specify a range of 3389 to 3389 so that the new rule applies only to RDP traffic. In Protocols, select TCP as the specific TCP/IP protocol that a port rule should cover. Only the network traffic for the specified protocol is affected by the rule. Traffic not affected by the port rule is handled by the default host. In Filtering mode, select Multiple host, which specifies that multiple hosts in the cluster handle network traffic for this port rule. In Affinity (which applies only for the Multiple host filtering mode), select None if you are planning to use TS Session Broker. Select Single if you are not planning to use TS Session Broker.
    10. Click Finish to create the cluster.

https://social.technet.microsoft.com/Forums/windowsserver/en-US/0afdb0fc-2adf-4864-b164-87e24451f875/how-to-properly-configure-nlb-cluster-in-windows-2008

https://blog.csdn.net/jmilk/article/details/51397508