Linux system build Keepalived+lvs load balancer can't access VIP problem

Source: Internet
Author: User
Tags server port

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.