Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Nov 2005 18:05:40 -0500
From:      Matthew Hagerty <matthew@digitalstratum.com>
To:        freebsd-questions@freebsd.org
Subject:   Force box to become CARP master?
Message-ID:  <4384F5C4.8000908@digitalstratum.com>

next in thread | raw e-mail | index | archive | help
Greetings,

I'm working on setting up to machines that will be using CARP to provide 
fail-over, and I was wondering a couple of things:

1. How do you determine if the current box is the master?  I need to 
have each machine do certain things at startup depending on whether or 
not it is the current CARP master.

2. How to force a box to become the CARP master?  Suppose I want to take 
the current master offline to do regular maintenance, but I don't want 
to do so by rebooting the current master.  A controlled switch of the 
CARP master to the hot-spare box is what I'd like to be able to do.

3. How to run a script when the hot-spare becomes the CARP master?

Any insight or suggestions as to how I might do these things would be 
greatly appreciated!

Thanks,
Matthew




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4384F5C4.8000908>