Actually, I have a load balancing model using 2 LVS servers for failover (see attached figure)
Each LVS has one real i/f eth0 & one virtual i/f lo:0 assigned virtual ip
Sometimes eth0 in one of 2 LVS servers down, the incoming requests don't come the other server automatically.
The main reason is the router keeps holding MAC of server (has eth0 down) not the one of other server if i/f lo:0 is up (i really don't know why)
So needing a auto script in this case is very helpful
Last edited by bobo0110; 03-15-2011 at 02:26 AM.