LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Keepalived Director failover, LVS-TUN

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>, graeme@xxxxxxxxxxx
Subject: Re: Keepalived Director failover, LVS-TUN
From: Matt Chan <engineuity@xxxxxxxxx>
Date: Mon, 6 Feb 2006 10:37:11 -0500
On 2/6/06, Graeme Fowler <graeme@xxxxxxxxxxx> wrote:
>
> When you say "bringing up/down...", can you give us the contents of
> your script? I'm just a little puzzled by what happens here, since it
> looks to me like you're administratively bringing an interface down
> with no way to fetch it back up again afterwards (if you'll excuse the
> appalling turn of phrase there).

Well, I am only bringing up/down eth1 where the VIP is:
backupState.sh
#!/bin/sh
/usr/bin/touch /<my_home_path>/this.is.not.cool
/sbin/ifconfig eth1 down > /<my_home_path>/outputBackup.txt

masterState.sh
#!/bin/sh
/usr/bin/touch /<my_home_directory/this.is.cool
/sbin/ifconfig eth1 x.x.x.208 broadcast x.x.x.223 netmask 255.255.255.255 up
> /<my_home_directory>/outputMaster.txt

You say that your script does not get run. This is puzzling, too.

Very, the email notifications work though.

-Matt

<Prev in Thread] Current Thread [Next in Thread>