Failure phenomena:
When the client accesses the VIP, there is no access, and the view log information is displayed as follows:
Kernel:IPVS:RR:no Destination Available
Kernel:IPVS:RR:no Destination Available
Kernel:IPVS:RR:no Destination Available
。。。。。。
There are about two reasons for online inquiry
1, Ipvs RR module is not installed, after the Lsmod |grep RR display has been installed, excluded.
2, keepalived all the server port service did not start, after Ps-aux and lsof have been started, this reason has been excluded.
So where is the problem, the personal feeling is still possible because of the keepalived configuration file problems, and then after careful search, found in the configuration of realserver when the ' Cyclic scheduling algorithm ' was written wrong, now posted out, has enhanced some personal memory, to prevent the next occurrence of this low-level error.
Real_server 192.168.2.88 80{
Weight 1 (this is mistakenly written weight = 1 causes the above error, unable to access the VIP)
Tcp_check {
Connect_timeout 3
Nb_get_retry 3
Delay_before_retry 3
Connect_port 80
Linux system build Keepalived+lvs load balancer can't access VIP problem