ldirectord lvs load balance had worked but now it 's run only 1 node.

Discussion in 'Installation/Configuration' started by Fineday, Jan 3, 2015.

  1. Fineday

    Fineday New Member

    lb51:~# ipvsadm -L
    IP Virtual Server version 1.2.1 (size=4096)
    Prot LocalAddress:port Scheduler Flags
    -> RemoteAddress:port Forward Weight ActiveConn InActConn
    TCP lb51.mydomain.com:www wrr
    -> web53.node:www Masq 145 247 2996
    -> web19.node:www Masq 0 0 0
    -> web95.node:www Masq 0 0 0
    -> web56.node:www Masq 0 0 0
    -> web57.node:www Masq 0 0 0

    lb51:~# ping 192.168.0.19
    PING 192.168.0.19 (192.168.0.19) 56(84) bytes of data.
    64 bytes from 192.168.0.19: icmp_seq=1 ttl=64 time=0.183 ms
    64 bytes from 192.168.0.19: icmp_seq=2 ttl=64 time=0.154 ms
    64 bytes from 192.168.0.19: icmp_seq=3 ttl=64 time=0.088 ms

    lb51:~# /etc/init.d/ldirectord status
    ldirectord for /etc/ha.d/ldirectord.cf is running with pid: 4107
    ---------------------------------------------------
    lb51:~# nano /etc/ha.d/ldirectord.cf
    checktimeout=6
    checkinterval=10
    autoreload=yes
    logfile="/var/log/ldirectord.log"
    quiescent=yes
    virtual=100.100.37.139:80
    service=http
    scheduler=wrr
    real=192.168.0.53:80 masq 145
    real=192.168.0.56:80 masq 145
    real=192.168.0.57:80 masq 145
    real=192.168.0.19:80 masq 85
    ---------------------------------------------------
    Now it works only 1 node server but I can ping to all node servers and I can ping from node server to load balance server.
    I have 2 farm servers .They had been working for 7 years but now both of them have same problem.Please give me some help.
     

Share This Page