Date: Sat, 31 Mar 2018 08:09:32 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-doc@FreeBSD.org Subject: [Bug 192663] Incorrect info in handbook for carp on 10+ Message-ID: <bug-192663-9-Nqal6dkstz@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-192663-9@https.bugs.freebsd.org/bugzilla/>
index | next in thread | previous in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192663 Karl Sundström <rootvg@unix.pizza> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rootvg@unix.pizza --- Comment #5 from Karl Sundström <rootvg@unix.pizza> --- I stumbled upon this documentation error as well. For instance, Hast documentation suggests: notify 30 { match "system" "IFNET"; match "subsystem" "carp0"; match "type" "LINK_UP"; action "/usr/local/sbin/carp-hast-switch master"; }; notify 30 { match "system" "IFNET"; match "subsystem" "carp0"; match "type" "LINK_DOWN"; action "/usr/local/sbin/carp-hast-switch slave"; }; But, since you are not using pseudo-devices for CARP anymore, you hook it up to an already existing device, such as em0, the correct example would then be (for VHID 1 on em0): notify 30 { match "system" "CARP"; match "subsystem" "1@em0"; match "type" "MASTER"; action "/opt/scripts/carp-hast-switch master"; }; notify 30 { match "system" "CARP"; match "subsystem" "1@em0"; match "type" "BACKUP"; action "/opt/scripts/carp-hast-switch slave"; }; devd.conf documentation has this as an example as well, but its not reflected in the handbook. It requires a bit more than just "If the systems are running FreeBSD 10 or higher, replace carp0 with the name of the CARP-configured interface.", becuase it uses CARP system now, instead of CARP as a subsystem. -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192663-9-Nqal6dkstz>
