summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2024-04-21 11:53:02 +0300
committerPaul Buetow <paul@buetow.org>2024-04-21 11:53:02 +0300
commit81b9da0516ea42eedf90f8438df0ce714dfe9486 (patch)
tree02534bf1c0c0e0a798862bf734ef9f746853f33e
parent82e8095bf20f2f96468804c5c0d9ac92acfdd53b (diff)
Update content for html
-rw-r--r--gemfeed/2024-04-01-KISS-high-availability-with-OpenBSD.html8
-rw-r--r--gemfeed/atom.xml10
-rw-r--r--index.html2
-rw-r--r--uptime-stats.html2
4 files changed, 9 insertions, 13 deletions
diff --git a/gemfeed/2024-04-01-KISS-high-availability-with-OpenBSD.html b/gemfeed/2024-04-01-KISS-high-availability-with-OpenBSD.html
index a55e7530..da65d2db 100644
--- a/gemfeed/2024-04-01-KISS-high-availability-with-OpenBSD.html
+++ b/gemfeed/2024-04-01-KISS-high-availability-with-OpenBSD.html
@@ -43,13 +43,10 @@ Table of contents:
My auto-failover requirements
My HA solution
Only OpenBSD base installation required
- !/bin/ksh
- Race condition (e.g. script execution aborted in the middle of the previous run)
Fairly cheap and geo-redundant
Failover time and split-brain
Failover support for multiple protocols
Let&#39;s encrypt TLS certificates
- Weekly auto-failover for Let&#39;s Encrypt automation
Monitoring
Rex automation
More HA
@@ -182,7 +179,8 @@ http://www.gnu.org/software/src-highlite -->
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><i><font color="#9A1900"># Race condition (e.g. script execution aborted in the middle of the previous run)</font></i>
+<pre><i><font color="#9A1900">#! Race condition !#</font></i>
+
<b><font color="#0000FF">if</font></b> <font color="#990000">[</font> -f <font color="#009900">$zone_file</font><font color="#990000">.</font>bak <font color="#990000">];</font> <b><font color="#0000FF">then</font></b>
mv <font color="#009900">$zone_file</font><font color="#990000">.</font>bak <font color="#009900">$zone_file</font>
<b><font color="#0000FF">fi</font></b>
@@ -279,7 +277,7 @@ echo <font color="#FF0000">"Failover of zone $zone to $MASTER completed"</font>
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><i><font color="#9A1900"># Weekly auto-failover for Let's Encrypt automation</font></i>
+<pre><i><font color="#9A1900">#! Weekly auto-failover for Let's Encrypt automation !#</font></i>
<b><font color="#0000FF">local</font></b> -i -r <font color="#009900">week_of_the_year</font><font color="#990000">=</font><font color="#009900">$(</font>date <font color="#990000">+%</font>U<font color="#990000">)</font>
<b><font color="#0000FF">if</font></b> <font color="#990000">[</font> <font color="#009900">$(</font><font color="#990000">(</font> week_of_the_year <font color="#990000">%</font> <font color="#993399">2</font> <font color="#990000">))</font> -eq <font color="#993399">0</font> <font color="#990000">];</font> <b><font color="#0000FF">then</font></b>
<b><font color="#0000FF">local</font></b> <font color="#009900">tmp</font><font color="#990000">=</font><font color="#009900">$master</font>
diff --git a/gemfeed/atom.xml b/gemfeed/atom.xml
index e9536214..706c8167 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>2024-04-21T11:44:45+03:00</updated>
+ <updated>2024-04-21T11:52:49+03:00</updated>
<title>foo.zone feed</title>
<subtitle>To be in the .zone!</subtitle>
<link href="https://foo.zone/gemfeed/atom.xml" rel="self" />
@@ -53,13 +53,10 @@ Table of contents:
My auto-failover requirements
My HA solution
Only OpenBSD base installation required
- !/bin/ksh
- Race condition (e.g. script execution aborted in the middle of the previous run)
Fairly cheap and geo-redundant
Failover time and split-brain
Failover support for multiple protocols
Let&#39;s encrypt TLS certificates
- Weekly auto-failover for Let&#39;s Encrypt automation
Monitoring
Rex automation
More HA
@@ -192,7 +189,8 @@ http://www.gnu.org/software/src-highlite -->
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><i><font color="#9A1900"># Race condition (e.g. script execution aborted in the middle of the previous run)</font></i>
+<pre><i><font color="#9A1900">#! Race condition !#</font></i>
+
<b><font color="#0000FF">if</font></b> <font color="#990000">[</font> -f <font color="#009900">$zone_file</font><font color="#990000">.</font>bak <font color="#990000">];</font> <b><font color="#0000FF">then</font></b>
mv <font color="#009900">$zone_file</font><font color="#990000">.</font>bak <font color="#009900">$zone_file</font>
<b><font color="#0000FF">fi</font></b>
@@ -289,7 +287,7 @@ echo <font color="#FF0000">"Failover of zone $zone to $MASTER completed"</font>
by Lorenzo Bettini
http://www.lorenzobettini.it
http://www.gnu.org/software/src-highlite -->
-<pre><i><font color="#9A1900"># Weekly auto-failover for Let's Encrypt automation</font></i>
+<pre><i><font color="#9A1900">#! Weekly auto-failover for Let's Encrypt automation !#</font></i>
<b><font color="#0000FF">local</font></b> -i -r <font color="#009900">week_of_the_year</font><font color="#990000">=</font><font color="#009900">$(</font>date <font color="#990000">+%</font>U<font color="#990000">)</font>
<b><font color="#0000FF">if</font></b> <font color="#990000">[</font> <font color="#009900">$(</font><font color="#990000">(</font> week_of_the_year <font color="#990000">%</font> <font color="#993399">2</font> <font color="#990000">))</font> -eq <font color="#993399">0</font> <font color="#990000">];</font> <b><font color="#0000FF">then</font></b>
<b><font color="#0000FF">local</font></b> <font color="#009900">tmp</font><font color="#990000">=</font><font color="#009900">$master</font>
diff --git a/index.html b/index.html
index fa2986fb..63351f17 100644
--- a/index.html
+++ b/index.html
@@ -10,7 +10,7 @@
<body>
<h1 style='display: inline'>foo.zone</h1><br />
<br />
-<span class='quote'>This site was generated at 2024-04-21T11:44:45+03:00 by <span class='inlinecode'>Gemtexter</span></span><br />
+<span class='quote'>This site was generated at 2024-04-21T11:52:49+03:00 by <span class='inlinecode'>Gemtexter</span></span><br />
<br />
<pre>
|\---/|
diff --git a/uptime-stats.html b/uptime-stats.html
index 68d57d9c..acac7567 100644
--- a/uptime-stats.html
+++ b/uptime-stats.html
@@ -10,7 +10,7 @@
<body>
<h1 style='display: inline'>My machine uptime stats</h1><br />
<br />
-<span class='quote'>This site was last updated at 2024-04-21T11:44:45+03:00</span><br />
+<span class='quote'>This site was last updated at 2024-04-21T11:52:49+03:00</span><br />
<br />
<span>The following stats were collected via <span class='inlinecode'>uptimed</span> on all of my personal computers over many years and the output was generated by <span class='inlinecode'>guprecords</span>, the global uptime records stats analyser of mine.</span><br />
<br />