LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Ldirectord problem

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] Ldirectord problem
From: Pierguido <pierg75@xxxxxxxx>
Date: Fri, 27 Jul 2007 11:09:55 +0200
Cristi wrote:
> Just rm -f the stale pid file and restart heartbeat on both servers.
Seems to have some problems:


srv-cluster-1:~# rm -rf /var/run/ldirectord.ldirectord.cf.pid
srv-cluster-1:~# /etc/init.d/heartbeat restart
Stopping High-Availability services:
Done.

Waiting to allow resource takeover to complete:
Done.

Starting High-Availability services:
ldirectord is stopped for /etc/ha.d/ldirectord.cf
Done.

srv-cluster-1:~# ./test_cluster.sh
1: lo: <LOOPBACK,UP,10000> mtu 16436 qdisc noqueue
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:e0:18:fe:35:7d brd ff:ff:ff:ff:ff:ff
    inet 192.168.30.120/24 brd 192.168.30.255 scope global eth0
    inet 192.168.30.253/24 brd 192.168.30.255 scope global secondary eth0
    inet6 fe80::2e0:18ff:fefe:357d/64 scope link
       valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:50:04:37:76:95 brd ff:ff:ff:ff:ff:ff
    inet 192.168.30.121/24 brd 192.168.30.255 scope global eth1
    inet6 fe80::250:4ff:fe37:7695/64 scope link
       valid_lft forever preferred_lft forever
4: eth2: <BROADCAST,MULTICAST,UP,10000> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:19:5b:5d:41:6e brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.1/24 brd 10.0.0.255 scope global eth2
    inet6 fe80::219:5bff:fe5d:416e/64 scope link
       valid_lft forever preferred_lft forever
5: sit0: <NOARP> mtu 1480 qdisc noop
    link/sit 0.0.0.0 brd 0.0.0.0


ldirectord stale pid file /var/run/ldirectord.ldirectord.cf.pid for
/etc/ha.d/ldirectord.cf
ldirectord is stopped for /etc/ha.d/ldirectord.cf


IP Virtual Server version 1.2.1 (size=4096)
Prot LocalAddress:Port Scheduler Flags
  -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
TCP  192.168.30.253:143 rr persistent 600
  -> 192.168.30.120:143           Local   0      0          0
  -> 192.168.30.122:143           Masq    0      0          0
  -> 127.0.0.1:143                Local   0      0          0
TCP  192.168.30.253:80 rr
  -> 192.168.30.122:80            Route   1      0          0
  -> 192.168.30.120:80            Local   1      0          0
TCP  192.168.30.253:25 rr persistent 600
  -> 192.168.30.120:25            Local   1      0          0
  -> 192.168.30.122:25            Tunnel  1      0          0


master running
(ipvs_syncmaster pid: 4800)



srv-cluster-2:~# rm -rf /var/run/ldirectord.ldirectord.cf.pid
srv-cluster-2:~# /etc/init.d/heartbeat restart
Stopping High-Availability services:
Done.

Waiting to allow resource takeover to complete:
Done.

Starting High-Availability services:
ldirectord stale pid file /var/run/ldirectord.ldirectord.cf.pid for
/etc/ha.d/ldirectord.cf
ldirectord is stopped for /etc/ha.d/ldirectord.cf
Done.


I also noticed that i'm not able to make any service listen on the
virtual address...is that correlated to the ldirectord?
Thanks


Pier
------
"I disapprove of what you say, but I will defend to the death your right
to say it"

Evelyn Beatrice Hall


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