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
Cc: ultramonkey-users@xxxxxxxxxxxxxxx
From: "j j" <rampeters@xxxxxxxxx>
Date: Wed, 5 Sep 2007 09:47:11 -0400
> Why do you use lvs, heartbeat and everyhting else with one node?

I am just running ultramonkey, nothing else.  I have looked the system
logs.  This is what I have:

/var/log/messages for node "a" after starting ultramonkey ldirecotrd

Sep  5 12:37:44 a kernel: IPVS: Registered protocols (TCP, UDP, AH, ESP)
Sep  5 12:37:44 a kernel: IPVS: Connection hash table configured
(size=4096, memory=32Kbytes)
Sep  5 12:37:44 a kernel: IPVS: ipvs loaded.
Sep  5 12:37:53 a ldirectord[4602]: Starting Linux Director v1.77.2.32 as daemon
Sep  5 12:37:53 a ldirectord: Starting ldirectord succeeded
Sep  5 12:37:53 a kernel: IPVS: [wrr] scheduler registered.
Sep  5 12:37:53 a ldirectord[4604]: Added virtual server: 192.168.0.240:3306
Sep  5 12:37:53 a ldirectord[4604]: Quiescent real server:
192.168.0.4:3306 mapped from 192.168.0.4:3306 ( x 192.168.0.240:3306)
(Weight set to 0)
Sep  5 12:37:53 a ldirectord[4604]: Quiescent real server:
192.168.0.5:3306 mapped from 192.168.0.5:3306 ( x 192.168.0.240:3306)
(Weight set to 0)

[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)

When I try to connect to mysql, I don't see any entry in
/var/log/messages real server c,d or in linux director
/var/log/messages.

Ping Virtual IP from node "a"
[root@a me]# ping 192.168.0.240
PING 192.168.0.240 (192.168.0.240) 56(84) bytes of data.
>From 192.168.0.2 icmp_seq=1 Destination Host Unreachable
>From 192.168.0.2 icmp_seq=2 Destination Host Unreachable
>From 192.168.0.2 icmp_seq=3 Destination Host Unreachable
>From 192.168.0.2 icmp_seq=5 Destination Host Unreachable

Ping Virtual IP from node "a" (another computer on the same network)
[me@dev ~]$ ping 192.168.0.240
PING 192.168.0.240 (192.168.0.240) 56(84) bytes of data.
>From 192.168.0.3 icmp_seq=2 Destination Host Unreachable
>From 192.168.0.3 icmp_seq=3 Destination Host Unreachable
>From 192.168.0.3 icmp_seq=4 Destination Host Unreachable
>From 192.168.0.3 icmp_seq=6 Destination Host Unreachable

Ping doesn't work either.


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