Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Jul 2008 16:20:46 -0400
From:      Sven Willenberger <sven@dmv.com>
To:        stable@FreeBSD.org
Subject:   CARP state changes and devd.conf
Message-ID:  <1216930846.6489.21.camel@lanshark.dmv.com>

next in thread | raw e-mail | index | archive | help

--=-kC4EcY14/3M6hMo0ky2x
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

I see mention of CARP as a device-type in the devd.conf documentation
but for the life of me cannot manage to get devd to recognize *any*
changes in the CARP interface.

I have set
sysctl net.inet.carp.log=3D2
and I see message in /var/log/messages when the interface goes
INIT->BACKUP and BACKUP -> MASTER, but for the life of me cannot get
devd to "see" these changes.

I have tried something even as simple as:
notify 100 {
        action "logger -p kern.notice '$device-name interface has
changed'";
};

and then bringing the CARP interfaces up and down on either boxes to
change INIT and BACKUP/MASTER states, but *nothing* is noted. Does CARP
simply not work that way with devd (i.e. only the creation of the CARP
device, not any subsequent states, work )?

Sven

--=-kC4EcY14/3M6hMo0ky2x
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQBIiOQeSnmnd8q3JGsRAi4+AJwPeO73vkU4eVE15tfWJ2DM5SnoWACgh/1P
YsRoTmxWVtrzqTY/KxzhuCA=
=8Bdm
-----END PGP SIGNATURE-----

--=-kC4EcY14/3M6hMo0ky2x--




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