CARP Status

Stanislav Sedov stas at
Wed Sep 24 00:04:57 UTC 2008

On Tue, 23 Sep 2008 14:31:21 -0500
"Bob McClure" <h8msft at> mentioned:

> 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?

You can try to use net/ifstated for this task. 

Stanislav Sedov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url :

More information about the freebsd-cluster mailing list