Home  >  Article  >  Operation and Maintenance  >  Introduction to the simple method of configuring Win2008 load balancing under R2 (picture)

Introduction to the simple method of configuring Win2008 load balancing under R2 (picture)

黄舟
黄舟Original
2017-05-31 10:40:341641browse

This article mainly introduces the load balancing method under Win2008 R2 (concise version with pictures and texts). Friends who need it can refer to

Two web servers, the operating system is Windows Server 2008 R2, apply for three IP addresses and the domain name to be load balanced (www.test.cn). One of the IP addresses is a virtual IP address, and the other two are configured on two servers respectively. For example:

Virtual IP: 11.1 .6.13 The addresses of the two servers are 11.1.6.11 and 11.1.6.12. The two services must install as follows:

Server (11.1.6.11): 1. Install load balancing service 2 . Configure load balancing operations on this server (the following takes this server as an example)

Server (11.1.6.12): 1. Install the load balancing service

Load balancing type: 1. When the same machine opens different pages, it connects to different servers (there is a Session sharing problem) 2. After one machine connects to the server, it will not go to another server (there is no Session sharing problem) The following is Take the two methods as examples

Install the service

Install the service on the server (11.1.6.11, 11.1.6.12) respectively. Take one of the servers as an example. Start=>Server Manager as shown below

Click on the add function on the right to enter and find "Remote Server Management Tools" -> "Network Load Balancing Tool" check the filter box Click Install. The following picture shows the picture after successful installation.

New clusters

After completing the above service installation, Start->Network Load Balancing Manager (taking the 11.1.6.11 server as an example)

Open the manager and select the "Network Load Balancing Cluster" item, right-click and select " New Cluster" The "New Cluster" page will pop up as shown below

As shown above, double-click "Local Area Connection" in the above picture. When another interface pops up, press the default option and click "Next" Step" to enter the "New Cluster" page as shown below

Enter the IP address and subnet mask of the cluster and click "OK". Return to the cluster IP address page and click "Next ” and then enter the “Cluster Parameters” page as shown below

Enter the domain name (www.test.cn) in the “Full Internet Name” box, select “Unicast” mode and click "Next step" enters the "Port Rules" setting page as shown below

Select the existing port rule row and click "Edit" to pop up the port rule editing page and set the parameters as follows

After that, keep clicking "Finish" and the installation will be completed, as shown in the picture:

If you add another one, The cluster of the station is as shown below:

When adding the second station, enter the IP (11.1.6.12) in the host input box Sometimes it fails when clicking to connect, so

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

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

You can service and deploy the test network on two separate computers respectively. Open it on (www.test.cn) and you can see the different servers connected

The above is the detailed content of Introduction to the simple method of configuring Win2008 load balancing under R2 (picture). For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn