Windows2003 clustering method

  
                  

First talk about the required environment: 1, each machine has only one network card, operating system windows2003 sp2, prepare three IP addresses, such as: server A: 192.168.0.2 server B: 192.168.0.3 and for cluster IP: 192.168.0.5 The next step is the same as the one described on the Internet: Create a new cluster on A (Control Panel -> Management Tools -> Cluster Management Tool below), the cluster's ip address is 192.168.0.5 mode to be selected as "Multicast" Please note that you want to select “Multicast”, unicast mode. I tried to add a second host in one day. The filtering mode of the port rule is: multiple hosts: no options here. First, because when it is single, when one of the servers hangs, the request previously connected to this server will not be automatically forwarded to another server, which is obviously not what we hope to see. He will show that Aggregation. In general, it will be aggregated. Next, go to Server B: Also open the Cluster Manager "Network Load Balancing Manager"., connect to the new cluster. Enter the IP address of A. At this time, it is very likely that you will be prompted to "unable to access the host" or "Can't locate the situation", or ask for the login user name and password, etc., but it is not correct. At this time, you can refer to the Microsoft documentation to modify the registry, disable authentication or other methods.

When there is no problem, you will see that the server A has been aggregated. Next, go to the server A. Add in and choose to add a host to the cluster. If the problem in the previous step is solved, there is usually no problem here. Then switch to B, choose to add the host to the cluster, and add its own IP to the cluster. After a while, the display will be aggregated. At this point, we can receive the cluster ip: 192.168.0.5 on IIS to test whether our configuration is valid. The IIS of both servers receives the cluster IP instead of the original IP. It creates two pages with the same address and different page contents. Put them on two servers, turn off one to see what's displayed, turn off the one, and start that one to see the changes. In general, we have already done it. Note: The account and password of the two servers must remain the same. & ldquo; Network Load Balancing Manager & rdquo; After configuration, please save the host list. Otherwise, you will not see the list the next time you open it. Both servers must be saved. The log can be turned on so that the problem can be analyzed.

Copyright © Windows knowledge All Rights Reserved