Re: Running a shell script on becoming the CARP master?
From: David S. Madole (david_at_madole.net)
Date: 11/26/05
- Previous message: Dominic Marks: "Re: Running a shell script on becoming the CARP master?"
- In reply to: Matthew Hagerty: "Running a shell script on becoming the CARP master?"
- Next in thread: Matthew Hagerty: "Re: Running a shell script on becoming the CARP master?"
- Reply: Matthew Hagerty: "Re: Running a shell script on becoming the CARP master?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: <matthew@digitalstratum.com>, <freebsd-hackers@freebsd.org> Date: Sat, 26 Nov 2005 11:15:38 -0500
From: "Matthew Hagerty" <matthew@digitalstratum.com>
>
> Are there any hooks into CARP to run a shell script when a machine
> becomes the master? Also, is there a way to force a machine to become
> the master without powering off the current master (for example to do
> maintenance on the current master)?
I don't know of any way to do the former, but for the latter it's easy
enough to temporarily adjust the advbase setting higher on the master
until failover occurs. Set it to at least three times the setting on the
slave.
Or simply ifconfig down the carp interface on the master.
David
_______________________________________________
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"
- Previous message: Dominic Marks: "Re: Running a shell script on becoming the CARP master?"
- In reply to: Matthew Hagerty: "Running a shell script on becoming the CARP master?"
- Next in thread: Matthew Hagerty: "Re: Running a shell script on becoming the CARP master?"
- Reply: Matthew Hagerty: "Re: Running a shell script on becoming the CARP master?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|