Wednesday, December 29, 2010

【 Weak current College 】 alternative ways to implement network load balancing


In the day-to-day operation and maintenance, network management, often encounter problems: access intranet server users to a sharp increase, one server is difficult to meet users ' access needs. So how can you guarantee that the user's normal access? solution has many, such as using Windows2000 or WindowsServer2003 provides network load balancing service, but the service setting is very complex. While the DNS server for network load balancing is a relatively simple way.

Here's to an enterprise network of Web servers, for example to describe how to use the DNS server for network load balancing. In order to increase the domain name is "www.abc.com" site visits, in enterprise network deployment of three identical Web servers, which provide the same service, but each server's IP address. Following on the corporate network DNS server settings to achieve the three Web servers share the customer access to the site.

First, enable circular

For example, WindowsServer2003-system on the DNS server, then click on "Start → Programs → Administrative Tools → DNS" option, enter the DNS Manager window, right-click a DNS server icon in the shortcut menu, select "Properties" option, then in the Properties dialog box switch to the "Advanced" tab, ensure that the "server option" list box "enable circular" option is selected.

Second, add a host record

In the "create" zone abc.com host records. In DNS Manager window, right-click "abc.com" item in the pop-up menu select "new host", enter the new host dialog box, in the "name" column, enter the "WWW" with IP address bar, enter one IP address of the Web server, e.g. 192.168.0.5, last click on "add host" button.

As enterprise networks have three Web servers, and their IP addresses are different, and therefore also new two host named "WWW" the host record, and as above, just their IP addresses different contents. This allows the Web site domain name are resolved to a different Web server.

DNSserver abc.com region three host records content as shown in the table below:

Completed the above three host records created after enabling Web server network load balancing. So when a client visits a site that just www.abc.com will issue to the DNS server to DNS requests. The DNS server receives the first request, the first IP address 192.168.0.5 returned to the client, when the second client requirements for domain name resolution, the DNS server on the second IP address 192.168.1.5 returned to the client. Through this cycle of the allocations can be shared between the client access to a different Web server, enabling network load balancing feature.

3. optimization of load balancing features

Enterprise network is typically used by a lot of subnets, in order to reduce the data traffic on the network, the client can access it in the same subnet and the Web server. Although the implementation of a network load balancing functionality, but does not guarantee that the customer access is keeping to the network of Web servers. In fact, this problem is also very good, as long as the "enable DNS servers enable netmask ordering" function.

In DNS Manager window, right-click the DNS server, in the pop-up menu, select "Properties", then in the Properties dialog box switch to the "Advanced" tab, check the "server option" list box "Enable netmask ordering" option. So the client can access every time to book the Web server.

After completing the above setup, enable the DNS server for network load balancing feature, share the customer's access to each Web server, and also reduces cross-subnet network traffic, which greatly reduces the burden on enterprises network communication.




No comments:

Post a Comment