CARP Status

Bob McClure h8msft at gmail.com
Tue Sep 23 19:59:28 UTC 2008


I have several servers running CARP in an active/passive configuration.
Currently the only way that my scripts can determine if a given node is
master is by
periodically executing ifconfig carp1 and grepping for MASTER. Although this
works,
it's kind of clunky.

Is there a better way to detect the CARP status of a server?

Thanks in advance.

Bob McClure


More information about the freebsd-cluster mailing list