LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Ultramonkey heartbeat not starting ldirectord automatica

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] Ultramonkey heartbeat not starting ldirectord automatically
From: "j j" <rampeters@xxxxxxxxx>
Date: Wed, 5 Sep 2007 23:22:16 -0400
> > [me@dev ~]$ mysql -h 192.168.0.240 -u ldirector -p
> > Enter password:
> > ERROR 2003 (HY000): Can't connect to MySQL server on '192.168.0.240' (113)
> /etc/init.d/mysql status?
> Or ps auxw | grep mysql?
>
mysql server is running.  That's not the problem.

My guess is that something wrong with ldirectord.  It's showing Real
Server weights =0.  This shouldn't be the case because both servers
are running and weight should be 1 for both.

[root@a me]# /sbin/ipvsadm -L -n
IP Virtual Server version 1.2.0 (size=4096)
Prot LocalAddress:Port Scheduler Flags
 -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP  192.168.0.240:3306 wrr
 -> 192.168.0.5:3306             Route   0      0          0
 -> 192.168.0.4:3306             Route   0      0          0


<Prev in Thread] Current Thread [Next in Thread>