We will all encounter the situation that the server can't meet the requirements. At this time, we usually increase the server to meet the requirements. In fact, if you are using the Win2003 system, you only need to use the network load balancing cluster in the system to solve this problem. Let's take a look at how to achieve network load balancing in Windows Server 2003.
First, the advantages of network load balancing
1. Network load balancing allows you to propagate incoming requests to up to 32 servers, that is, you can use up to 32 servers to share External network request service. Network load balancing technology ensures that they respond quickly even under heavy load conditions.
2. Network load balancing only needs to provide an IP address (or domain name).
3. If one or several servers in network load balancing are not available, the service will not be interrupted. Network Load Balancing automatically detects that the server is not available and can quickly reassign client communications to the remaining servers. This protection can help you provide uninterrupted service for critical business processes. You can increase the number of network load balancing servers based on the increase in network traffic.
4. Network load balancing can be implemented on a normal computer.
In Windows Server 2003, network load balancing applications include Internet Information Services (IIS), ISA Server 2000 Firewall and Proxy Server, VPN Virtual Private Network, Terminal Server, Windows Media Services (Windows Video on Demand, Video broadcast) and other services. At the same time, network load balancing can help improve your server's performance and scalability to meet the growing needs of Internet-based clients.
Network Load Balancing allows clients to access the cluster with a logical Internet name and virtual IP address (also known as a cluster IP address) while preserving the name of each computer.
Below, we will introduce the implementation and application of network load balancing on two ordinary computers with Windows Server 2003 installed.
Second, the implementation of network load balancing
Of the two computers, one computer name is w2003-1, the IP address is 202.206.197.190, and the other is named w2003-2. The IP address is 202.206.197.191.
The IP address of the network load balancing cluster is planned to be 202.206.197.195. Plan the network load balancing cluster. The complete computer name is cluster.heinfo.edu.cn. You need to be in heinfo. Register this hostname in the edu.cn domain and set the address to 202.206.197.195. If you don't have DNS, you can edit %systemroot%"system32"drivers" on clients that need to access Network Load Balancing (including Network Load Balancing hosts) ; The hosts file in the etc directory, add a message "202.206.197.195 cluster.heinfo.edu.cn", you can solve the problem of DNS domain name resolution.
When officially applied, the client only needs to use cluster.heinfo.edu.cn or IP address 202.206.197.195 to access the server. Network service balance will automatically select 202.206.197.190 according to the load of each server. 202.206.197.191 provides external services.
The process of network load balancing is as follows:
On each computer that implements network load balancing, you can only install TCP/IP protocol, and do not install any other protocols (such as IPX protocol). Or NetBEUI protocol), in the network properties, "Network Load Balancing" can not be selected, which can be viewed from the "Network Connection Properties".
1 first enter the first computer, log in as an administrator, run from “Administrative Tools">;Network Load Balancing Manager", right-click "Network Load Balancing Cluster ”, select “New Cluster> from the menu that appears, go to the “Cluster Parameters” interface.
Enter the planned cluster parameter address 202.206.197.195 after “IP address", use the default value at the subnet mask, and enter cluster.heinfo.edu after "full Internet name". Cn (may be another name, but the entered DNS name must match the entered IP address).
If remote control is allowed, check "Allow remote control" and enter a password that can be remotely controlled at "Remote Password" and "Confirm Password".
2 Click the “Next” button to enter the cluster IP address page and then enter the “Port Rules” interface. Click the “Next” button to enter the “Connect” interface.
3Enter the current computer name w2003-1 in the "Host" column of the "Connection" dialog box, and then click the "Connect" button to configure a new cluster in the "Host" pair. The Available Interfaces box shows the network card and IP address of the connected computer. Select the address of the same network segment as the cluster IP address (for the network card that provides external network applications), and then click the “Next” button to enter the “Host Parameters” interface. Click the “Complete” button. The configuration of the Network Load Balancing cluster will start automatically. After a few minutes, the Network Load Balancing cluster configuration is complete.
4Open the second computer and log in as an administrator.
Note: On each node in Network Load Balancing, the username and password of the administrator account are preferably the same.
5 Then, on the first computer, right-click on the newly created cluster and select “Add Host to Cluster” from the menu that appears. The “Connection” interface will appear, enter the computer name of the second computer in “Host”, click the “Connect” button, and the connection will be displayed under “The interface available to the configuration cluster”. Network configuration on your computer. Select the network card of 202.206.197.191, enter the host parameter interface, click the “Complete” button to return to the Network Load Balancing Manager.
6Turn off the Network Load Balancing Manager before entering the Network Load Balancing Manager. Right-click on “Network Load Balancing Cluster” and select “Connect to Existing” from the menu that appears, and the “Connections” interface will pop up.
Enter the name of the first computer, click the “link” button, and the cluster's IP address will be listed under "Cluster", select this IP address, and click the “Complete” button , connect to the cluster to complete.
In the future, if the two servers cannot meet the demand, you can add the third and fourth computers to the network load balancing according to the above steps to meet the requirements.
Third, use IIS service to verify network load balancing
After network load balancing is configured, in order to achieve a specific service, you need to install the corresponding service on the network load balancing computer. For example, in order to achieve load balancing of the IIS website, you need to install the IIS service on the corresponding network load balancing computer.
When installing a network load balancing application, no special method is required. Just install the corresponding service on the computer with network load balancing configured. However, in order for each user to have access to consistent data while accessing different computers through network load balancing, data consistency needs to be maintained on each computer with network load balancing. For example: to achieve network load balancing of IIS on two nodes, in order to ensure the consistency of the content of the two websites, in addition to the same configuration of the two IIS servers, the corresponding website data must be consistent.
In order to verify network load balancing, we can use IIS for authentication. Other applications such as Terminal Services and Windows Media Services are similar to IIS applications.
To install IIS services on each computer with network load balancing, do the following:
In “Add/Remove Programs, click “Add Windows Components” Windows Components Wizard, double-click "Application Server" to enter the "Application Server".
After selecting ASP.NET, Internet Information Service and application network COM+ access, you can start to install IIS service.
After installation, go to the inetpub"wwwroot directory of the first computer, create a new text file, and type the following:
This win2003-1
Then save it as Default.htm file. This page will display the following in IE:
This w2003-1
In the inetpub"wwwroot directory of the second computer, create a new text file and enter the following:
This win2003-2
This page will display “This w2003-2” in IE, and then save this file with the default.htm name.
Then, type http://cluster.heinfo.edu.cn in the IE browser on other computers, it will be displayed as “This win2003-1” or“This win2003-2”, Network load balancing is automatically forwarded to the first or second computer based on the load on the network. In order to verify the effect, you can unplug the network cable of the first computer or unplug the network cable of the second machine when browsing. You will find that the content you browsed will be different. Of course, when we are only testing, in order to verify the effect of network load balancing, the content of the two websites is inconsistent, and when it is officially applied, the content of each node computer of the network load balancing cluster will be the same, so that regardless of the use That node responds and guarantees that the content of the access is consistent.
Through the above detailed explanation, I believe that everyone has a certain understanding of the working principle of network load balancing, and has a certain grasp of the method of its implementation, I hope to have some help for your future work.
We always hope to dig deep into the systems ability to make our computer run more quickly and effici
The opening of the 139 port means that the hard drive may be shared on the network; online hackers c
The Win2003 system is highly secure and stable in all systems. That is because the system is used as
We all know that Win2003 system is a safer and more stable system, but you can not think of it as a
How to share printers under win 2003 system
Little-known Win2003 local policy setting tips
How to deal with hardware failure in win2003
Create a new Active Directory forest or domain
The trick to add Win2003 system restore function
Fun Win2003! Create a RAID trick
Do you really understand the Win2003 system?
How to implement DNS Internet access under Win 2003
Win2003 system: Eliminate security risks
The importance of the permissions of the win 2003 system account is
About the configuration of printers and related servers in win 2003
About the introduction of the security event ID Detailed content exposure
What should I do if the Win10 System Security Center service does not start? What should I do if the
Cancel Win7 Window Automatic Arrangement Step Diagram
Under Windows 7 World of Warcraft can not solve the full screen problem
Win7 system taskbar thumbnail window preview speed how to improve
Display the store app on the Win8.1 system tray
Reasonable setting of six common problems of Vista to solve
Vista workstation system security measures
How to install U disk win10? u disk version windows10 system usage