summaryrefslogtreecommitdiff
path: root/gemfeed
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-01-04 00:36:06 +0200
committerPaul Buetow <paul@buetow.org>2026-01-04 00:36:06 +0200
commit626973f34ebcf90cd74ebc13f123285672559627 (patch)
tree0f511fbe02db24121a68fd11e26e5284c6287994 /gemfeed
parente72d00499dc2e61b2e48fffbf6de5784835675e5 (diff)
Update content for gemtext
Diffstat (limited to 'gemfeed')
-rw-r--r--gemfeed/2025-07-14-f3s-kubernetes-with-freebsd-part-6.gmi8
-rw-r--r--gemfeed/2025-07-14-f3s-kubernetes-with-freebsd-part-6.gmi.tpl8
-rw-r--r--gemfeed/atom.xml10
3 files changed, 22 insertions, 4 deletions
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 @@
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
- <updated>2026-01-04T00:05:40+02:00</updated>
+ <updated>2026-01-04T00:34:59+02:00</updated>
<title>foo.zone feed</title>
<subtitle>To be in the .zone!</subtitle>
<link href="gemini://foo.zone/gemfeed/atom.xml" rel="self" />
@@ -7381,18 +7381,24 @@ paul@f1:~ % doas zfs list -t snapshot -r zdata/sink | grep zrepl | tail -<font c
<br />
<span>First, we add the CARP configuration to <span class='inlinecode'>/etc/rc.conf</span> on both <span class='inlinecode'>f0</span> and <span class='inlinecode'>f1</span>:</span><br />
<br />
+<span class='quote'>Update: Sun 4 Jan 00:17:00 EET 2026 - Added <span class='inlinecode'>advskew 100</span> to f1 so f0 always wins CARP elections when it comes back online after a reboot.</span><br />
+<br />
<!-- Generator: GNU source-highlight 3.1.9
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><i><font color="silver"># The virtual IP 192.168.1.138 will float between f0 and f1</font></i>
+<pre><i><font color="silver"># On f0 - The virtual IP 192.168.1.138 will float between f0 and f1</font></i>
ifconfig_re0_alias0=<font color="#808080">"inet vhid 1 pass testpass alias 192.168.1.138/32"</font>
+
+<i><font color="silver"># On f1 - Higher advskew means lower priority, so f0 wins elections</font></i>
+ifconfig_re0_alias0=<font color="#808080">"inet vhid 1 advskew 100 pass testpass alias 192.168.1.138/32"</font>
</pre>
<br />
<span>Whereas:</span><br />
<br />
<ul>
<li><span class='inlinecode'>vhid 1</span>: Virtual Host ID - must match on all CARP members</li>
+<li><span class='inlinecode'>advskew</span>: Advertisement skew - higher value means lower priority (f1 uses 100, f0 uses default 0)</li>
<li><span class='inlinecode'>pass testpass</span>: Password for CARP authentication (if you follow this, use a different password!)</li>
<li><span class='inlinecode'>alias 192.168.1.138/32</span>: The virtual IP address with a /32 netmask</li>
</ul><br />