Load Balancing method under Win2008 R2 (Graphic concise version) _win server

Source: Internet
Author: User

Two Web servers, the operating system is a Windows Server 2008 R2, requesting three IP addresses and a load-balanced domain name (www.test.cn) where one IP address is a virtual IP address and the other two are configured on two servers, for example:

Virtual ip:11.1.6.13 Two sets of addresses are 11.1 6.11, 11.1.6.12 Two services to be installed as follows:

Server (11.1.6.11): 1. Install load Balancing Service 2. Configure load Balancing operations on this server (for example, this server)

Server (11.1.6.12): 1. Install Load Balancing Services

Load balance Type: 1. When the same machine opens different pages, the connected server is different (there is session sharing problem) 2. One machine connects to the server and does not go to another server (no session sharing problem) The following is an example of the second way

Installation Services

Install the service on the server (11.1.6.11, 11.1.6.12) separately, taking one of the servers as an example at the beginning => Server Manager the following figure

Click the Add function to the right to go to find the Remote Server Administration tool-> Network Load Balancing tool check filter box Click Install, the following figure is the successful installation of the diagram

New cluster S

After completing the above service installation, start-> Network Load Balancing Manager (take 11.1.6.11 server for example)

When you open the manager, select the Network Load Balancing cluster item Click the right mouse button to select new cluster to pop up the next group page as shown in the following figure

Click "Next" to enter the "new cluster" page as shown in the figure above by double-clicking "Local connection" on the image above to eject another interface.

Enter the IP address and subnet mask of the cluster and click "OK" to return to the cluster IP address page click "Next" and go to the "Cluster Parameters" page as shown below

Enter the domain name in the full Internet Name box (www.test.cn) Select "Unicast" mode and click "Next" to enter the "Port rule" Settings page as shown below

Select an existing port rule line Click the Edit pop-up port rule to edit the page and set the parameters as follows

After you have clicked "Finish", you will have finished installing one as shown below:

A cluster with this additional table is shown below:

It sometimes fails when you click on a connection when you have an input IP (11.1.6.12) in the Host input box when you add the second station.

At this point, enter the "machine name" of another server (10.0.6.14) in the Host box and click "Connect" to repeat (11.1.6.11) process

After the two machines are added complete as shown in the figure

Can be seen on two separate service deployment test Web faces on two different computers (www.test.cn) to see the connection between different servers

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.