LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] ipvsadm not showing backup sync daemon

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: [lvs-users] ipvsadm not showing backup sync daemon
From: "Ryan O'Hara" <rohara@xxxxxxxxxx>
Date: Tue, 07 Feb 2012 20:17:08 -0600
On 02/07/2012 02:31 PM, Ryan O'Hara wrote:
> I noticed that 'ipvsadm --list --daemon' was not showing the backup
> daemon, which appears to be running. Best explained with an example.
>
> After starting the master and backup daemons on separate node, the
> master node appears to be normal:
>
> # ipvsadm --list --daemon
> master sync daemon (mcast=eth0, syncid=0)
>
> But on the backup node I don't see the backup daemon that appears be be
> running:
>
> # ipvsadm --list --daemon
>
> Nothing shown as running, so I try to start the backup daemon by hand:
>
> # ipvsadm --start-daemon backup
> Daemon has already run
>
> Now let's try to stop the backup sync daemon and start it again:
>
> # ipvsadm --stop-daemon backup
> # ipvsadm --list --daemon
> # ipvsadm --start-daemon backup
> # ipvsadm --list --daemon
>
> Still not output for 'ipvsadm --list --daemon'.
>
> For what its worth, each node does correctly report connections via
> 'ipvsadm -lc', so the sync daemon appears to be working. The only
> problem appears to be that 'ipvsadm --list --daemon' does not show the
> backup daemon.
>
> What am I missing? Thanks.

I see the problem. Adding some printf statements to ipvsadm.c led me to 
the code causing this behavior. I'll take it over to lvs-devel. Sorry 
for the noise.

Ryan

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users

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