1 overview
In order to guarantee the stable operation of the bastion host-instruction channel, it is necessary to implement the load balance of instruction channel, and study to determine the use of LVS software.
LVS is the abbreviation for Linux virtual server, that is, the Linux server, the official site is: www.linuxvirtualserver.org
2 LVS Architecture
LVS set up server cluster to achieve load balancing has three components: the most front-end is the load balancer layer, with load balancer, the middle of the server group layer, with the server array, the lowest level of data sharing storage layer, with shared storage representation.
3 LVs use method 3.1 direct use of LVS
The advantages of direct use of LVS are: simple and fast configuration, less keepalived configuration; The disadvantage is obvious: 1. The director server does not have a standby server and the entire system goes down once the outage is made. A 2.real server outage is still forwarded to this server, causing an error in the request.
3.2 Using lvs+keepalived
Keepalived is a powerful auxiliary tool specifically designed for LVS to provide failover and health check functionality-judging the availability of the LVS load Scheduler (Director server), the node server (Real server), Isolate and replace the new server in a timely manner, and rejoin the failed host after it is restored.
Filed under: http://www.cnblogs.com/llhua/p/4195330.html
Linux Load Balancer software lvs-Introduction