Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Sep 2008 02:00:13 +0400
From:      Stanislav Sedov <stas@FreeBSD.org>
To:        "Bob McClure" <h8msft@gmail.com>
Cc:        freebsd-cluster@freebsd.org
Subject:   Re: CARP Status
Message-ID:  <20080924020013.8c1ac0ce.stas@FreeBSD.org>
In-Reply-To: <dd2bb6b50809231231x78d706c2hd5b8958fc402d2@mail.gmail.com>
References:  <dd2bb6b50809231231x78d706c2hd5b8958fc402d2@mail.gmail.com>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On Tue, 23 Sep 2008 14:31:21 -0500
"Bob McClure" <h8msft@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

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (FreeBSD)

iEYEARECAAYFAkjZZvYACgkQK/VZk+smlYE02wCdGuR7LQ1jIJoNl5BGlkZKo4vt
imEAnj2oyFinU+FYIqBPolwRgkTfOlmO
=Fcwp
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080924020013.8c1ac0ce.stas>