Load balancing and failover 1, mission objectives
This task is to solve the server load balancing and failover, this load balancing is to achieve a true sense of load balancing, the actual use, according to the server's various performance indicators for task allocation, in order to achieve fast response, experience high effect. Second, failover is a complement to load balancing that combines fast response and high availability. The goal of this task is not only to achieve, but also to avoid hardware changes and additions, software-level implementation, reduce implementation costs.
The task environment is Windows Server R2, IIS7.0 or more.
2. Solutions
Because the environment is in Windows, considering compatibility issues, special consideration is given to using the Network Load Balancing components and the failover cluster components that are available with the Windows Server R2 system.
2, 1 Load Balancing
Scenario One: Load balancing takes the Network Load Balancing component that comes with the Windows Server R2 system.
Scenario Two: Nginx load balancing.
2, 2 fail-over
Failover takes the failover cluster component that comes with the Windows Server R2 system.
3. Program implementation 3, 1 Network Load Balancing process
Trying to code the word ...
3, 2 Nginx load Balancing
Trying to code the word ...
3.3 Failover Cluster process
Trying to code the word ...
3, 4 IIS configuration failover
Trying to code the word ...
3, 5 failover cluster corruption
Trying to code the word ...
4. Summary of tasks
Trying to code the word ...
Load balancing and failover serialization