How do I get Piranha LVS to failover to the backup router?
Issue
- Actually my objective was to test switching from active to standby and vice versa. When I was testing the same it was not switching over. For testing what I did is :
- login the active LB's GUI and tried to change the primary public IP but unable to edit.
- then i opened the /etc/sysconfig/ha/lvs.cf file and changed both primary and secondary pubilc IP
- scp the file to existing standby server and restarted the pulse service on both server
- I checked using #ipvsadm -L in both server i cannot find the connections
- But the Virtual IPs displayed in the existing standby server (which I want to convert to active)
- Then I waited for some time still both are not active so I rolled back to the existing.
Environment
- Red Hat Enterprise Linux 5.8
- kernel-2.6.18-308.20.1.el5
- piranha-0.8.4-24.el5.x86_64
- ipvsadm-1.24-13.el5.x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.