Problem with weight 0 and reload : weight not modified

ROHAUT Sébastien (ext GFI - SNCF) <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Organization S.N.C.F. French Railways
Message-ID <A1555934C55DCA41AFB4CAB0DD0FFC51071708B8@se3cllbiaqr.COMMUN.AD.SNCF.FR>
Hi,
 
I'm encountering a problem.
I modified the weight of two real servers (the LVS contains 4 realservers, all with initial weight at 1) like this :
 
>From :
        real_server 10.11.12.13 443 {
                weight 1
To :
        real_server 10.11.12.13 443 {
                weight 0

then I reloaded the conf (/etc/init.d/keepalived reload).
 
# ipvsadm -Ln|grep  10.11.12.13
  -> 10.11.12.13:443               Masq    1      23          47

Weight is not modified. I don't understand why. I had to stop/start keepalived on the backup node, then stop keepalived on the master, to have the correct behavior.
 
# cat /etc/debian_version
6.0.2

# uname -a
Linux s64lmwbiag8 2.6.32-5-686 #1 SMP Mon Jun 13 04:13:06 UTC 2011 i686 GNU/Linux

# keepalived -v
Keepalived v1.2.2 (08/29,2011)

# ipvsadm -v
ipvsadm v1.25 2008/5/15 (compiled with popt and IPVS v1.2.1)

Any help will be appreciated 
 
Cdt,
Sébastien ROHAUT
 
-------
Ce message et toutes les pièces jointes sont établis à l'intention exclusive de ses destinataires et sont confidentiels. L'intégrité de ce message n'étant pas assurée sur Internet, la SNCF ne peut être tenue responsable des altérations qui pourraient se produire sur son contenu. Toute publication, utilisation, reproduction, ou diffusion, même partielle, non autorisée préalablement par la SNCF, est strictement interdite. Si vous n'êtes pas le destinataire de ce message, merci d'en avertir immédiatement l'expéditeur et de le détruire.
-------
This message and any attachments are intended solely for the addressees and are confidential. SNCF may not be held responsible for their contents whose accuracy and completeness cannot be guaranteed over the Internet. Unauthorized use, disclosure, distribution, copying, or any part thereof is strictly prohibited. If you are not the intended recipient of this message, please notify the sender immediately and delete it.

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev

_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.