ipvsadm – load balancer – it changes the weight automatically
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 ?
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