ipvsadm – load balancer – it changes the weight automatically

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 ?
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

Leave a Reply

Your email address will not be published. Required fields are marked *