Do you have this problem ?
– you made the changes in /etc/ha.d/ldirectord.cf ,
– restart ipvsadm : /etc/init.d/ipvsadm restart
you see the changes : ipvsadm -L
But after sometimes, you go back and check , the weight has been changed ?
WHY ?
It’s because there are 2 ldirectord ar running ( you can verify by running top command
Kill one of them and check the status (ipvsadm -L) it will fix your problem