From 626973f34ebcf90cd74ebc13f123285672559627 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Sun, 4 Jan 2026 00:36:06 +0200 Subject: Update content for gemtext --- gemfeed/2025-07-14-f3s-kubernetes-with-freebsd-part-6.gmi | 8 +++++++- gemfeed/2025-07-14-f3s-kubernetes-with-freebsd-part-6.gmi.tpl | 8 +++++++- gemfeed/atom.xml | 10 ++++++++-- 3 files changed, 22 insertions(+), 4 deletions(-) (limited to 'gemfeed') diff --git a/gemfeed/2025-07-14-f3s-kubernetes-with-freebsd-part-6.gmi b/gemfeed/2025-07-14-f3s-kubernetes-with-freebsd-part-6.gmi index 157951a9..4a2f31d0 100644 --- a/gemfeed/2025-07-14-f3s-kubernetes-with-freebsd-part-6.gmi +++ b/gemfeed/2025-07-14-f3s-kubernetes-with-freebsd-part-6.gmi @@ -858,14 +858,20 @@ Key benefits for our storage system: First, we add the CARP configuration to `/etc/rc.conf` on both `f0` and `f1`: +> Update: Sun 4 Jan 00:17:00 EET 2026 - Added `advskew 100` to f1 so f0 always wins CARP elections when it comes back online after a reboot. + ```sh -# The virtual IP 192.168.1.138 will float between f0 and f1 +# On f0 - The virtual IP 192.168.1.138 will float between f0 and f1 ifconfig_re0_alias0="inet vhid 1 pass testpass alias 192.168.1.138/32" + +# On f1 - Higher advskew means lower priority, so f0 wins elections +ifconfig_re0_alias0="inet vhid 1 advskew 100 pass testpass alias 192.168.1.138/32" ``` Whereas: * `vhid 1`: Virtual Host ID - must match on all CARP members +* `advskew`: Advertisement skew - higher value means lower priority (f1 uses 100, f0 uses default 0) * `pass testpass`: Password for CARP authentication (if you follow this, use a different password!) * `alias 192.168.1.138/32`: The virtual IP address with a /32 netmask diff --git a/gemfeed/2025-07-14-f3s-kubernetes-with-freebsd-part-6.gmi.tpl b/gemfeed/2025-07-14-f3s-kubernetes-with-freebsd-part-6.gmi.tpl index 444dcafe..487afae8 100644 --- a/gemfeed/2025-07-14-f3s-kubernetes-with-freebsd-part-6.gmi.tpl +++ b/gemfeed/2025-07-14-f3s-kubernetes-with-freebsd-part-6.gmi.tpl @@ -801,14 +801,20 @@ Key benefits for our storage system: First, we add the CARP configuration to `/etc/rc.conf` on both `f0` and `f1`: +> Update: Sun 4 Jan 00:17:00 EET 2026 - Added `advskew 100` to f1 so f0 always wins CARP elections when it comes back online after a reboot. + ```sh -# The virtual IP 192.168.1.138 will float between f0 and f1 +# On f0 - The virtual IP 192.168.1.138 will float between f0 and f1 ifconfig_re0_alias0="inet vhid 1 pass testpass alias 192.168.1.138/32" + +# On f1 - Higher advskew means lower priority, so f0 wins elections +ifconfig_re0_alias0="inet vhid 1 advskew 100 pass testpass alias 192.168.1.138/32" ``` Whereas: * `vhid 1`: Virtual Host ID - must match on all CARP members +* `advskew`: Advertisement skew - higher value means lower priority (f1 uses 100, f0 uses default 0) * `pass testpass`: Password for CARP authentication (if you follow this, use a different password!) * `alias 192.168.1.138/32`: The virtual IP address with a /32 netmask diff --git a/gemfeed/atom.xml b/gemfeed/atom.xml index 708635df..ffdbf4c9 100644 --- a/gemfeed/atom.xml +++ b/gemfeed/atom.xml @@ -1,6 +1,6 @@ - 2026-01-04T00:05:40+02:00 + 2026-01-04T00:34:59+02:00 foo.zone feed To be in the .zone! @@ -7381,18 +7381,24 @@ paul@f1:~ % doas zfs list -t snapshot -r zdata/sink | grep zrepl | tail - First, we add the CARP configuration to /etc/rc.conf on both f0 and f1:

+Update: Sun 4 Jan 00:17:00 EET 2026 - Added advskew 100 to f1 so f0 always wins CARP elections when it comes back online after a reboot.
+
-
# The virtual IP 192.168.1.138 will float between f0 and f1
+
# On f0 - The virtual IP 192.168.1.138 will float between f0 and f1
 ifconfig_re0_alias0="inet vhid 1 pass testpass alias 192.168.1.138/32"
+
+# On f1 - Higher advskew means lower priority, so f0 wins elections
+ifconfig_re0_alias0="inet vhid 1 advskew 100 pass testpass alias 192.168.1.138/32"
 

Whereas:

  • vhid 1: Virtual Host ID - must match on all CARP members
  • +
  • advskew: Advertisement skew - higher value means lower priority (f1 uses 100, f0 uses default 0)
  • pass testpass: Password for CARP authentication (if you follow this, use a different password!)
  • alias 192.168.1.138/32: The virtual IP address with a /32 netmask

-- cgit v1.2.3