LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: problem ldirectord 'missing' weight

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: problem ldirectord 'missing' weight
From: Roberto Nibali <ratz@xxxxxxxxxxxx>
Date: Fri, 10 Nov 2006 19:44:00 +0100
Sebastian Vieira wrote:
I have a test setup with only one realserver in my ldirectord.cf. When i
restart heartbeat, change the configuration or a failover occurs, i see this
message in syslog:

What's your ldirectord version?

lvs05    ldirectord[8363]: system(/sbin/ipvsadm -e  192.168.14.200:23 -r
192.168.14.13:23 -w ) failed:
lvs05    ldirectord[8363]: Restored real server: 192.168.14.23:23 (
192.168.14.200:23) (Weight set to )

This is in the _restore_service() method mostly likely called from _service_up() in your case. Your observed behaviour could happen, when after starting service_up() is called without proper filling of the $r struct.

The email alert that follows also misses the actual weight. But  `ipvsadm
-l` shows the correct weight though.

Which would be? Isn't it just defaulting to 1?

Regards,
Roberto Nibali, ratz
--
echo '[q]sa[ln0=aln256%Pln256/snlbx]sb3135071790101768542287578439snlbxq' | dc

<Prev in Thread] Current Thread [Next in Thread>
  • Re: problem ldirectord 'missing' weight, Roberto Nibali <=