Hello all,
I have a problem in Piranha FOS. I cannot get the result of failover if I
plug and unplug the cable with a certain case as shown below:
Here is my configuration:
- 2 Virtual servers without other real server.
- I set "002" virtual server as master(primary) and "001" virtual server as
slave(redundant).
- installed RedHat 6.2, piranha-0.4.14-1 and ipvsadm-0.4.9-1
Here is my first test case:
1. Run the pulse program in 001 and then run the pulse program in 002
=> 001 is the active server and 002 is the standby server
2. Unplug the cable in 001.
=> 002 is takeover the floating IP. (001 does not know its cable being
unplugged)
3. Plug the cable in 001
=> 001 released the floating IP and 002 is still the master.
But for another similar case:
1. Run the pulse program in 002 and then run the pulse program in 001
=> 002 is the active server and 001 is the standby server
2. Unplug the cable in 002
=> 001 is takeover the floating IP. (002 does not know its cable being
unplugged)
3. Plug the cable in 002
=> 002 released the floating IP. 001 ALSO RELEASED THE FLOATING IP BUT I
CANNOT FIND ANY STEP IN /var/log/messages THAT 001 GRACEFULLY RELEASED THE
FLOATING IP.
As you can see, the testing steps seems to be the same. But the outcome is
not the same. When I restart the pulse program in machine 001, I got a
response "cannot create heartbeat socket". Can anyone help me to solve the
above problem? Is it a limitation of Piranha 0.4.14-1?
Thanks.
Kevin Ho
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
|