On Tue, 23 Sep 2008 14:31:21 -0500
"Bob McClure" <[EMAIL PROTECTED]> 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

Attachment: pgpAv7p0zpNhE.pgp
Description: PGP signature

Reply via email to