Wednesday, March 14, 2012

Installing Failover Cluster & Load Balancing (in server 2008 r2)


























Before installing failover cluster we should install Network Load Balancing as given below.


Start/Administrative tools /server manger

Right click on feature and select add feature


Check the check box of Network Load Balancing & hit next

Now Click Install button and installation will proceed

Now hit close button your NLB will Successfully installed 






























































































 What is Failover Cluster ?


==> A failover cluster is a group of independent computer or nodes, which are physically connected by a local- area network (LAN) or a wide area network (WAN) and that are progammatically connected by cluster software. We can connect as many PC as we need no limit but same webpage and site name you have to create in other computers which you are going to connect .HTML pages of site should be same.


NOTE :-- After installing NLB you have to go network sharing /right click on local area network (LAN) /properties/ check the NLB (network load balancing) & at last hit OK .


Soo after installing NLB (Network Load balancing ) we gonna install Cluster so here we go ....
  1. Login as administrator in window server 2008 r2 .
  2. Click start /administrative tools /Network Load Balancing Manger (NLB Manager).
  3. When you open NLB Manger console /click on cluster in above tab /select new.
  4. Now after clicking on new write name of server you want to connect and press connect button on right side. Remote Administration Exception has been enabled in the remote system's firewall. 
  5. All the network adapters will be listed , select the adopter that will be used for the NLB cluster & click next.
  6. On the host parameter page, accept the default of giving this first server the host ID of 1 and select the dedicated ip address that will be used when communication is received for NLB cluster IP address , which will be specified next.Now hit next to continue.
  7. On the cluster ip address page , click the add button to specify and IPv4 address and subnet mask or an IPv6 address to use for the NLB cluster, and click ok. For e.g -- we will use the IPV4 configuration of 192.168.155/255.255.255.0 .
  8. Back on the cluster IP Address page, add additional cluster IP address as required , and click next to continue.
  9. On the cluster parameters page, enter the fully qualified DNS name which is associated with the ip address specified on the previous page, and select whether it will be used for unicast traffic , or IGMP multicast . This choice depends on the network communication of the service or application which will be used in this NLB cluster . FOr this example , we are creating an NLB cluster for standard web traffic, so we will use royal.com as the internet name and select unicast as the cluster operation mode.
  10. If multiple IP address were  defined on the previous page, the IP address can be chose from the IP address drop-down list , and the internet name and cluster operation mode can be defined for each additional address . When all the IP address have had their properties defined , click Next to continue.
  11. On the Port Rules page, a default rule is pre-created which allow all traffic  on all port to be load balanced across the NLB cluster between the cluster IP address and the dedicated IP address of the local server's dedicated IP address . Select this rule and click the Remove button to del it.
  12. Click the Add button to create a new port rule.
  13.  When the Add/Edit Port Rule window opens, type in the starting and ending port range, for example 80 & 80 for a single HTTP port rule, but do not close the window .
  14. Under protocols, select the TCO option button , but do not close the window.
  15. In the filtering Mode selection, select Multiple Host, and select single Affinity,but do not close the window .
  16. Finally review the setting and click OK to create the port rule.
  17. Back on the Port Rule page , click the Add button to create an additional port rule,
  18. Specify the starting port as 0 and the ending port as 79, select Both for the protocol's configuration , select the disable this port range Filtering mode , and click ok to create the rule.
  19. Back in the Port Rule page, click the Add button to create one more port rule.
  20. Specify the starting port as 81 and the ending port as 65535, select both for the protocol's configuration, select the disable This port range Filtering mode, and click OK to create the rule.
  21. Back on the Port Rule page, review the list of port rules and if the rule look correct, click Finish.
  22. Back in the Network Load Balancing Manger window , the cluster will be created and brought online. The cluster IP address are automatically added to the TCP properties of the designed network adapter . Close the NLB manager and log off of the server.

Twitter Delicious Facebook Digg Stumbleupon Favorites More