CARP Status
Stanislav Sedov
stas at FreeBSD.org
Wed Sep 24 00:04:57 UTC 2008
On Tue, 23 Sep 2008 14:31:21 -0500
"Bob McClure" <h8msft at gmail.com> 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
ST4096-RIPE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-cluster/attachments/20080924/e0e08a97/attachment.pgp
More information about the freebsd-cluster
mailing list