[lvs-users] Using Pulse pre/post script

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: [lvs-users] Using Pulse pre/post script
From: Antoine Samson <antoine.samson@xxxxxxxxx>
Date: Mon, 07 Dec 2009 17:01:59 +0100
In my current lab setup, LVS routeurs are also real servers (did I tell 
this is a lab setup? ;-) )

Everything works fine and I get my HA services running in round-robin 
mode on both node.

But I'm still having this problem and cannot seem to found any work around:

- Node 1 is LVS Master and real server 1
- Node 2 is LVS Backup and real server 2
- Node 2 has an iptable PREROUTING rule to accept virtual ip connections

- If Node 1 fails and Node 2 becomes LVS Master, it will keep handling 
connections to VIP on itself and not on every real servers (until 
PREROUTING rules are enabled)

So I was thinking that there is maybe a way to run pre/post scripts to 
LVS events such like flushing some iptables rules.

Thanks for your help.


Antoine SAMSON

Please read the documentation before posting - it's available at: mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to

<Prev in Thread] Current Thread [Next in Thread>
  • [lvs-users] Using Pulse pre/post script, Antoine Samson <=