diff options
| -rw-r--r-- | about/resources.html | 206 | ||||
| -rw-r--r-- | gemfeed/2024-12-03-f3s-kubernetes-with-freebsd-part-2.html | 76 | ||||
| -rw-r--r-- | gemfeed/atom.xml | 78 | ||||
| -rw-r--r-- | index.html | 2 | ||||
| -rw-r--r-- | uptime-stats.html | 2 |
5 files changed, 232 insertions, 132 deletions
diff --git a/about/resources.html b/about/resources.html index 66f68843..2cff1495 100644 --- a/about/resources.html +++ b/about/resources.html @@ -50,54 +50,54 @@ <span>In random order:</span><br /> <br /> <ul> +<li>21st Century C: C Tips from the New School; Ben Klemens; O'Reilly</li> +<li>Perl New Features; Joshua McAdams, brian d foy; Perl School</li> +<li>DevOps And Site Reliability Engineering Handbook; Stephen Fleming; Audible</li> <li>Distributed Systems: Principles and Paradigms; Andrew S. Tanenbaum; Pearson</li> +<li>Terraform Cookbook; Mikael Krief; Packt Publishing</li> <li>Systemprogrammierung in Go; Frank Müller; dpunkt</li> -<li>DevOps And Site Reliability Engineering Handbook; Stephen Fleming; Audible</li> -<li>Learn You a Haskell for Great Good!; Miran Lipovaca; No Starch Press</li> +<li>Amazon Web Services in Action; Michael Wittig and Andreas Wittig; Manning Publications</li> +<li>Ultimate Go Notebook; Bill Kennedy</li> +<li>Learn You Some Erlang for Great Good; Fred Herbert; No Starch Press</li> +<li>Systems Performance Tuning; Gian-Paolo D. Musumeci and others...; O'Reilly</li> +<li>Hands-on Infrastructure Monitoring with Prometheus; Joel Bastos, Pedro Araujo; Packt </li> <li>Kubernetes Cookbook; Sameer Naik, Sébastien Goasguen, Jonathan Michaux; O'Reilly</li> -<li>C++ Programming Language; Bjarne Stroustrup;</li> +<li>Site Reliability Engineering; How Google runs production systems; O'Reilly</li> +<li>Go Brain Teasers - Exercise Your Mind; Miki Tebeka; The Pragmatic Programmers</li> +<li>Programming Perl aka "The Camel Book"; Tom Christiansen, brian d foy, Larry Wall & Jon Orwant; O'Reilly</li> +<li>Data Science at the Command Line; Jeroen Janssens; O'Reilly</li> +<li>Clusterbau mit Linux-HA; Michael Schwartzkopff; O'Reilly</li> +<li>Leanring eBPF; Liz Rice; O'Reilly</li> +<li>Pro Puppet; James Turnbull, Jeffrey McCune; Apress</li> +<li>Programming Ruby 3.3 (5th Edition); Noel Rappin, with Dave Thomas; The Pragmatic Bookshelf</li> +<li>Developing Games in Java; David Brackeen and others...; New Riders</li> +<li>Raku Fundamentals; Moritz Lenz; Apress</li> +<li>The KCNA (Kubernetes and Cloud Native Associate) Book; Nigel Poulton</li> +<li>Concurrency in Go; Katherine Cox-Buday; O'Reilly</li> <li>The Kubernetes Book; Nigel Poulton; Unabridged Audiobook</li> -<li>Object-Oriented Programming with ANSI-C; Axel-Tobias Schreiner</li> -<li>Polished Ruby Programming; Jeremy Evans; Packt Publishing</li> +<li>The Pragmatic Programmer; David Thomas; Addison-Wesley</li> <li>97 things every SRE should know; Emil Stolarsky, Jaime Woo; O'Reilly</li> -<li>The KCNA (Kubernetes and Cloud Native Associate) Book; Nigel Poulton</li> -<li>Seeking SRE: Conversations About Running Production Systems at Scale; David N. Blank-Edelman; eBook</li> -<li>The Docker Book; James Turnbull; Kindle</li> -<li>Effective Java; Joshua Bloch; Addison-Wesley Professional</li> -<li>Higher Order Perl; Mark Dominus; Morgan Kaufmann</li> -<li>Perl New Features; Joshua McAdams, brian d foy; Perl School</li> -<li>Learn You Some Erlang for Great Good; Fred Herbert; No Starch Press</li> +<li>Polished Ruby Programming; Jeremy Evans; Packt Publishing</li> +<li>Chaos Engineering - System Resiliency in Practice; Casey Rosenthal and Nora Jones; eBook</li> +<li>Learn You a Haskell for Great Good!; Miran Lipovaca; No Starch Press</li> +<li>C++ Programming Language; Bjarne Stroustrup;</li> <li>The Practise of System and Network Administration; Thomas A. Limoncelli, Christina J. Hogan, Strata R. Chalup; Addison-Wesley Professional Pro Git; Scott Chacon, Ben Straub; Apress</li> -<li>Developing Games in Java; David Brackeen and others...; New Riders</li> -<li>21st Century C: C Tips from the New School; Ben Klemens; O'Reilly</li> -<li>The DevOps Handbook; Gene Kim, Jez Humble, Patrick Debois, John Willis; Audible</li> -<li>Leanring eBPF; Liz Rice; O'Reilly</li> -<li>Raku Recipes; J.J. Merelo; Apress</li> -<li>Ultimate Go Notebook; Bill Kennedy</li> -<li>Clusterbau mit Linux-HA; Michael Schwartzkopff; O'Reilly</li> -<li>Programming Perl aka "The Camel Book"; Tom Christiansen, brian d foy, Larry Wall & Jon Orwant; O'Reilly</li> -<li>Concurrency in Go; Katherine Cox-Buday; O'Reilly</li> -<li>Think Raku (aka Think Perl 6); Laurent Rosenfeld, Allen B. Downey; O'Reilly</li> -<li>Amazon Web Services in Action; Michael Wittig and Andreas Wittig; Manning Publications</li> -<li>Modern Perl; Chromatic ; Onyx Neon Press</li> -<li>100 Go Mistakes and How to Avoid Them; Teiva Harsanyi; Manning Publications</li> +<li>The Go Programming Language; Alan A. A. Donovan; Addison-Wesley Professional</li> +<li>Java ist auch eine Insel; Christian Ullenboom; </li> <li>Tmux 2: Productive Mouse-free Development; Brain P. Hogan; The Pragmatic Programmers </li> -<li>Hands-on Infrastructure Monitoring with Prometheus; Joel Bastos, Pedro Araujo; Packt </li> -<li>Funktionale Programmierung; Peter Pepper; Springer</li> <li>DNS and BIND; Cricket Liu; O'Reilly</li> -<li>Go Brain Teasers - Exercise Your Mind; Miki Tebeka; The Pragmatic Programmers</li> -<li>The Pragmatic Programmer; David Thomas; Addison-Wesley</li> -<li>Terraform Cookbook; Mikael Krief; Packt Publishing</li> <li>Effective awk programming; Arnold Robbins; O'Reilly</li> -<li>Raku Fundamentals; Moritz Lenz; Apress</li> -<li>Systems Performance Tuning; Gian-Paolo D. Musumeci and others...; O'Reilly</li> -<li>Pro Puppet; James Turnbull, Jeffrey McCune; Apress</li> -<li>Java ist auch eine Insel; Christian Ullenboom; </li> -<li>Data Science at the Command Line; Jeroen Janssens; O'Reilly</li> -<li>Chaos Engineering - System Resiliency in Practice; Casey Rosenthal and Nora Jones; eBook</li> -<li>The Go Programming Language; Alan A. A. Donovan; Addison-Wesley Professional</li> -<li>Programming Ruby 3.3 (5th Edition); Noel Rappin, with Dave Thomas; The Pragmatic Bookshelf</li> -<li>Site Reliability Engineering; How Google runs production systems; O'Reilly</li> +<li>Modern Perl; Chromatic ; Onyx Neon Press</li> +<li>Raku Recipes; J.J. Merelo; Apress</li> +<li>Effective Java; Joshua Bloch; Addison-Wesley Professional</li> +<li>100 Go Mistakes and How to Avoid Them; Teiva Harsanyi; Manning Publications</li> +<li>Higher Order Perl; Mark Dominus; Morgan Kaufmann</li> +<li>Object-Oriented Programming with ANSI-C; Axel-Tobias Schreiner</li> +<li>Funktionale Programmierung; Peter Pepper; Springer</li> +<li>Seeking SRE: Conversations About Running Production Systems at Scale; David N. Blank-Edelman; eBook</li> +<li>The DevOps Handbook; Gene Kim, Jez Humble, Patrick Debois, John Willis; Audible</li> +<li>Think Raku (aka Think Perl 6); Laurent Rosenfeld, Allen B. Downey; O'Reilly</li> +<li>The Docker Book; James Turnbull; Kindle</li> </ul><br /> <h2 style='display: inline' id='technical-references'>Technical references</h2><br /> <br /> @@ -106,10 +106,10 @@ <ul> <li>BPF Performance Tools - Linux System and Application Observability, Brendan Gregg; Addison Wesley</li> <li>Algorithms; Robert Sedgewick, Kevin Wayne; Addison Wesley</li> -<li>Implementing Service Level Objectives; Alex Hidalgo; O'Reilly</li> -<li>The Linux Programming Interface; Michael Kerrisk; No Starch Press </li> <li>Go: Design Patterns for Real-World Projects; Mat Ryer; Packt</li> +<li>Implementing Service Level Objectives; Alex Hidalgo; O'Reilly</li> <li>Relayd and Httpd Mastery; Michael W Lucas</li> +<li>The Linux Programming Interface; Michael Kerrisk; No Starch Press </li> <li>Understanding the Linux Kernel; Daniel P. Bovet, Marco Cesati; O'Reilly</li> <li>Groovy Kurz & Gut; Joerg Staudemeier; O'Reilly</li> </ul><br /> @@ -118,44 +118,44 @@ <span>In random order:</span><br /> <br /> <ul> -<li>Influence without Authority; A. Cohen, D. Bradford; Wiley</li> -<li>The Software Engineer's Guidebook: Navigating senior, tech lead, and staff engineer positions at tech companies and startups; Gergely Orosz; Audiobook </li> -<li>Ultralearning; Anna Laurent; Self-published via Amazon</li> -<li>Never Split the Difference; Chris Voss, Tahl Raz; Random House Business</li> -<li>Ultralearning; Scott Young; Thorsons</li> -<li>The Good Enough Job; Simone Stolzoff; Ebury Edge</li> -<li>Atomic Habits; James Clear; Random House Business</li> -<li>So Good They Can't Ignore You; Cal Newport; Business Plus</li> -<li>Solve for Happy; Mo Gawdat (RE-READ 1ST TIME)</li> -<li>The Off Switch; Mark Cropley; Virgin Books (RE-READ 1ST TIME)</li> -<li>Coders at Work - Reflections on the craft of programming, Peter Seibel and Mitchell Dorian et al., Audiobook</li> -<li>The Phoenix Project - A Novel About IT, DevOps, and Helping your Business Win; Gene Kim and Kevin Behr; Trade Select</li> -<li>The Power of Now; Eckhard Tolle; Yellow Kite</li> -<li>The Daily Stoic; Ryan Holiday, Stephen Hanselman; Profile Books</li> +<li>Eat That Frog!; Brian Tracy; Hodder Paperbacks</li> <li>The Obstacle Is The Way; Ryan Holiday; Profile Books Ltd</li> -<li>Meditation for Mortals, Oliver Burkeman, Audiobook</li> -<li>Who Moved My Cheese?; Dr. Spencer Johnson; Vermilion</li> -<li>The Bullet Journal Method; Ryder Carroll; Fourth Estate</li> -<li>The Joy of Missing Out; Christina Crook; New Society Publishers</li> -<li>Buddah and Einstein walk into a Bar; Guy Joseph Ale, Claire Bloom; Blackstone Publishing</li> -<li>Staff Engineer: Leadership beyond the management track; Will Larson; Audiobook</li> +<li>Search Inside Yourself - The Unexpected path to Achieving Success, Happiness (and World Peace); Chade-Meng Tan, Daniel Goleman, Jon Kabat-Zinn; HarperOne</li> +<li>101 Essays that change the way you think; Brianna Wiest; Audiobook</li> <li>Eat That Frog; Brian Tracy</li> -<li>Eat That Frog!; Brian Tracy; Hodder Paperbacks</li> +<li>The Software Engineer's Guidebook: Navigating senior, tech lead, and staff engineer positions at tech companies and startups; Gergely Orosz; Audiobook </li> +<li>Deep Work; Cal Newport; Piatkus</li> <li>Psycho-Cybernetics; Maxwell Maltz; Perigee Books</li> -<li>Stop starting, start finishing; Arne Roock; Lean-Kanban University </li> -<li>The Complete Software Developer's Career Guide; John Sonmez; Unabridged Audiobook</li> -<li>Digital Minimalism; Cal Newport; Portofolio Penguin</li> +<li>The Bullet Journal Method; Ryder Carroll; Fourth Estate</li> <li>The 7 Habits Of Highly Effective People; Stephen R. Covey; Simon & Schuster UK</li> -<li>101 Essays that change the way you think; Brianna Wiest; Audiobook</li> -<li>97 Things Every Engineering Manager Should Know; Camille Fournier; Audiobook</li> +<li>The Power of Now; Eckhard Tolle; Yellow Kite</li> +<li>So Good They Can't Ignore You; Cal Newport; Business Plus</li> +<li>Digital Minimalism; Cal Newport; Portofolio Penguin</li> +<li>The Complete Software Developer's Career Guide; John Sonmez; Unabridged Audiobook</li> <li>Slow Productivity; Cal Newport; Penguin Random House</li> -<li>The Courage to Be Disliked; Ichiro Kishimi and Fumitake Koga; Audiobook</li> +<li>Getting Things Done; David Allen</li> +<li>The Phoenix Project - A Novel About IT, DevOps, and Helping your Business Win; Gene Kim and Kevin Behr; Trade Select</li> +<li>Buddah and Einstein walk into a Bar; Guy Joseph Ale, Claire Bloom; Blackstone Publishing</li> <li>Time Management for System Administrators; Thomas A. Limoncelli; O'Reilly</li> +<li>The Good Enough Job; Simone Stolzoff; Ebury Edge</li> +<li>Atomic Habits; James Clear; Random House Business</li> +<li>The Daily Stoic; Ryan Holiday, Stephen Hanselman; Profile Books</li> +<li>97 Things Every Engineering Manager Should Know; Camille Fournier; Audiobook</li> +<li>Never Split the Difference; Chris Voss, Tahl Raz; Random House Business</li> +<li>Influence without Authority; A. Cohen, D. Bradford; Wiley</li> +<li>Staff Engineer: Leadership beyond the management track; Will Larson; Audiobook</li> +<li>Who Moved My Cheese?; Dr. Spencer Johnson; Vermilion</li> +<li>Meditation for Mortals, Oliver Burkeman, Audiobook</li> <li>Consciousness: A Very Short Introduction; Susan Blackmore; Oxford Uiversity Press</li> -<li>Deep Work; Cal Newport; Piatkus</li> -<li>Search Inside Yourself - The Unexpected path to Achieving Success, Happiness (and World Peace); Chade-Meng Tan, Daniel Goleman, Jon Kabat-Zinn; HarperOne</li> -<li>Getting Things Done; David Allen</li> +<li>Ultralearning; Anna Laurent; Self-published via Amazon</li> +<li>The Courage to Be Disliked; Ichiro Kishimi and Fumitake Koga; Audiobook</li> +<li>Coders at Work - Reflections on the craft of programming, Peter Seibel and Mitchell Dorian et al., Audiobook</li> <li>Soft Skills; John Sommez; Manning Publications</li> +<li>The Off Switch; Mark Cropley; Virgin Books (RE-READ 1ST TIME)</li> +<li>Ultralearning; Scott Young; Thorsons</li> +<li>Stop starting, start finishing; Arne Roock; Lean-Kanban University </li> +<li>The Joy of Missing Out; Christina Crook; New Society Publishers</li> +<li>Solve for Happy; Mo Gawdat (RE-READ 1ST TIME)</li> </ul><br /> <a class='textlink' href='../notes/index.html'>Here are notes of mine for some of the books</a><br /> <br /> @@ -164,31 +164,31 @@ <span>Some of these were in-person with exams; others were online learning lectures only. In random order:</span><br /> <br /> <ul> -<li>Apache Tomcat Best Practises; 3-day on-site training</li> +<li>Developing IaC with Terraform (with Live Lessons); O'Reilly Online</li> +<li>Scripting Vim; Damian Conway; O'Reilly Online</li> <li>Red Hat Certified System Administrator; Course + certification (Although I had the option, I decided not to take the next course as it is more effective to self learn what I need)</li> -<li>MySQL Deep Dive Workshop; 2-day on-site training</li> -<li>Algorithms Video Lectures; Robert Sedgewick; O'Reilly Online</li> -<li>Structure and Interpretation of Computer Programs; Harold Abelson and more...; </li> +<li>Functional programming lecture; Remote University of Hagen</li> +<li>Cloud Operations on AWS - Learn how to configure, deploy, maintain, and troubleshoot your AWS environments; 3-day online live training with labs; Amazon</li> <li>The Well-Grounded Rubyist Video Edition; David. A. Black; O'Reilly Online</li> +<li>MySQL Deep Dive Workshop; 2-day on-site training</li> <li>Ultimate Go Programming; Bill Kennedy; O'Reilly Online</li> -<li>Cloud Operations on AWS - Learn how to configure, deploy, maintain, and troubleshoot your AWS environments; 3-day online live training with labs; Amazon</li> +<li>Algorithms Video Lectures; Robert Sedgewick; O'Reilly Online</li> <li>Protocol buffers; O'Reilly Online</li> -<li>The Ultimate Kubernetes Bootcamp; School of Devops; O'Reilly Online</li> -<li>AWS Immersion Day; Amazon; 1-day interactive online training </li> -<li>Developing IaC with Terraform (with Live Lessons); O'Reilly Online</li> -<li>Functional programming lecture; Remote University of Hagen</li> +<li>Structure and Interpretation of Computer Programs; Harold Abelson and more...; </li> <li>F5 Loadbalancers Training; 2-day on-site training; F5, Inc. </li> +<li>Apache Tomcat Best Practises; 3-day on-site training</li> +<li>AWS Immersion Day; Amazon; 1-day interactive online training </li> +<li>The Ultimate Kubernetes Bootcamp; School of Devops; O'Reilly Online</li> <li>Linux Security and Isolation APIs Training; Michael Kerrisk; 3-day on-site training</li> -<li>Scripting Vim; Damian Conway; O'Reilly Online</li> </ul><br /> <h2 style='display: inline' id='technical-guides'>Technical guides</h2><br /> <br /> <span>These are not whole books, but guides (smaller or larger) which I found very useful. in random order:</span><br /> <br /> <ul> +<li>Raku Guide at https://raku.guide </li> <li>Advanced Bash-Scripting Guide </li> <li>How CPUs work at https://cpu.land</li> -<li>Raku Guide at https://raku.guide </li> </ul><br /> <h2 style='display: inline' id='podcasts'>Podcasts</h2><br /> <br /> @@ -197,21 +197,21 @@ <span>In random order:</span><br /> <br /> <ul> -<li>Hidden Brain</li> -<li>Pratical AI</li> -<li>Maintainable</li> -<li>Fallthrough [Golang]</li> <li>Backend Banter</li> -<li>Wednesday Wisdom</li> +<li>BSD Now [BSD]</li> <li>Fork Around And Find Out</li> <li>Cup o' Go [Golang]</li> -<li>Deep Questions with Cal Newport</li> -<li>The Pragmatic Engineer Podcast</li> +<li>Pratical AI</li> <li>The ProdCast (Google SRE Podcast)</li> +<li>The Pragmatic Engineer Podcast</li> <li>Modern Mentor</li> -<li>Dev Interrupted</li> -<li>BSD Now [BSD]</li> +<li>Deep Questions with Cal Newport</li> +<li>Hidden Brain</li> +<li>Maintainable</li> <li>The Changelog Podcast(s)</li> +<li>Fallthrough [Golang]</li> +<li>Dev Interrupted</li> +<li>Wednesday Wisdom</li> </ul><br /> <h3 style='display: inline' id='podcasts-i-liked'>Podcasts I liked</h3><br /> <br /> @@ -219,10 +219,10 @@ <br /> <ul> <li>Ship It (predecessor of Fork Around And Find Out)</li> -<li>Go Time (predecessor of fallthrough)</li> +<li>Modern Mentor</li> <li>FLOSS weekly</li> +<li>Go Time (predecessor of fallthrough)</li> <li>CRE: Chaosradio Express [german]</li> -<li>Modern Mentor</li> <li>Java Pub House</li> </ul><br /> <h2 style='display: inline' id='newsletters-i-like'>Newsletters I like</h2><br /> @@ -230,28 +230,28 @@ <span>This is a mix of tech and non-tech newsletters I am subscribed to. In random order:</span><br /> <br /> <ul> -<li>Monospace Mentor</li> -<li>The Pragmatic Engineer</li> -<li>Register Spill</li> -<li>Changelog News</li> -<li>VK Newsletter</li> -<li>The Valuable Dev</li> -<li>Applied Go Weekly Newsletter</li> <li>Ruby Weekly</li> <li>Andreas Brandhorst Newsletter (Sci-Fi author)</li> -<li>byteSizeGo</li> <li>Golang Weekly</li> +<li>Applied Go Weekly Newsletter</li> +<li>The Valuable Dev</li> +<li>Changelog News</li> +<li>Register Spill</li> <li>The Imperfectionist</li> +<li>Monospace Mentor</li> +<li>byteSizeGo</li> +<li>The Pragmatic Engineer</li> +<li>VK Newsletter</li> </ul><br /> <h2 style='display: inline' id='magazines-i-liked'>Magazines I like(d)</h2><br /> <br /> <span>This is a mix of tech I like(d). I may not be a current subscriber, but now and then, I buy an issue. In random order:</span><br /> <br /> <ul> -<li>freeX (not published anymore)</li> +<li>LWN (online only)</li> <li>Linux User</li> +<li>freeX (not published anymore)</li> <li>Linux Magazine</li> -<li>LWN (online only)</li> </ul><br /> <h1 style='display: inline' id='formal-education'>Formal education</h1><br /> <br /> diff --git a/gemfeed/2024-12-03-f3s-kubernetes-with-freebsd-part-2.html b/gemfeed/2024-12-03-f3s-kubernetes-with-freebsd-part-2.html index 80ba4748..32e73b23 100644 --- a/gemfeed/2024-12-03-f3s-kubernetes-with-freebsd-part-2.html +++ b/gemfeed/2024-12-03-f3s-kubernetes-with-freebsd-part-2.html @@ -59,8 +59,9 @@ <li>⇢ <a href='#cpu-throttling'>CPU throttling</a></li> <li><a href='#wake-on-lan-setup'>Wake-on-LAN Setup</a></li> <li>⇢ <a href='#setting-up-wol-on-the-laptop'>Setting up WoL on the laptop</a></li> -<li>⇢ <a href='#testing-wol'>Testing WoL</a></li> +<li>⇢ <a href='#testing-wol-and-shutdown'>Testing WoL and Shutdown</a></li> <li>⇢ <a href='#wol-from-wifi'>WoL from WiFi</a></li> +<li>⇢ <a href='#remote-shutdown-via-ssh'>Remote Shutdown via SSH</a></li> <li>⇢ <a href='#bios-configuration'>BIOS Configuration</a></li> <li><a href='#conclusion'>Conclusion</a></li> </ul><br /> @@ -371,20 +372,28 @@ http://www.gnu.org/software/src-highlite --> <pre>[paul@earth]~% sudo dnf install -y wol </pre> <br /> -<span>Next, I created a simple script (<span class='inlinecode'>~/bin/wol-f3s</span>) to wake the machines:</span><br /> +<span>Next, I created a simple script (<span class='inlinecode'>~/bin/wol-f3s</span>) to wake and shutdown the machines:</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">#!/bin/bash</font></i> -<i><font color="silver"># Wake-on-LAN script for f3s cluster (f0, f1, f2)</font></i> +<i><font color="silver"># Wake-on-LAN and shutdown script for f3s cluster (f0, f1, f2)</font></i> <i><font color="silver"># MAC addresses</font></i> F0_MAC=<font color="#808080">"e8:ff:1e:d7:1c:ac"</font> <i><font color="silver"># f0 (192.168.1.130)</font></i> F1_MAC=<font color="#808080">"e8:ff:1e:d7:1e:44"</font> <i><font color="silver"># f1 (192.168.1.131)</font></i> F2_MAC=<font color="#808080">"e8:ff:1e:d7:1c:a0"</font> <i><font color="silver"># f2 (192.168.1.132)</font></i> +<i><font color="silver"># IP addresses</font></i> +F0_IP=<font color="#808080">"192.168.1.130"</font> +F1_IP=<font color="#808080">"192.168.1.131"</font> +F2_IP=<font color="#808080">"192.168.1.132"</font> + +<i><font color="silver"># SSH user</font></i> +SSH_USER=<font color="#808080">"paul"</font> + <i><font color="silver"># Broadcast address for your LAN</font></i> BROADCAST=<font color="#808080">"192.168.1.255"</font> @@ -395,7 +404,18 @@ wake() { wol -i <font color="#808080">"$BROADCAST"</font> <font color="#808080">"$mac"</font> } -<b><u><font color="#000000">case</font></u></b> <font color="#808080">"${1:-all}"</font> <b><u><font color="#000000">in</font></u></b> +shutdown_host() { + <b><u><font color="#000000">local</font></u></b> name=$1 + <b><u><font color="#000000">local</font></u></b> ip=$2 + echo <font color="#808080">"Shutting down $name ($ip)..."</font> + ssh -o ConnectTimeout=<font color="#000000">5</font> <font color="#808080">"$SSH_USER@$ip"</font> <font color="#808080">"doas poweroff"</font> <font color="#000000">2</font>>/dev/null && \ + echo <font color="#808080">" ✓ Shutdown command sent to $name"</font> || \ + echo <font color="#808080">" ✗ Failed to reach $name (already down?)"</font> +} + +ACTION=<font color="#808080">"${1:-all}"</font> + +<b><u><font color="#000000">case</font></u></b> <font color="#808080">"$ACTION"</font> <b><u><font color="#000000">in</font></u></b> f0) wake <font color="#808080">"f0"</font> <font color="#808080">"$F0_MAC"</font> ;; f1) wake <font color="#808080">"f1"</font> <font color="#808080">"$F1_MAC"</font> ;; f2) wake <font color="#808080">"f2"</font> <font color="#808080">"$F2_MAC"</font> ;; @@ -404,8 +424,16 @@ wake() { wake <font color="#808080">"f1"</font> <font color="#808080">"$F1_MAC"</font> wake <font color="#808080">"f2"</font> <font color="#808080">"$F2_MAC"</font> ;; + shutdown|poweroff|down) + shutdown_host <font color="#808080">"f0"</font> <font color="#808080">"$F0_IP"</font> + shutdown_host <font color="#808080">"f1"</font> <font color="#808080">"$F1_IP"</font> + shutdown_host <font color="#808080">"f2"</font> <font color="#808080">"$F2_IP"</font> + echo <font color="#808080">""</font> + echo <font color="#808080">"✓ Shutdown commands sent to all machines."</font> + <b><u><font color="#000000">exit</font></u></b> <font color="#000000">0</font> + ;; *) - echo <font color="#808080">"Usage: $0 [f0|f1|f2|all]"</font> + echo <font color="#808080">"Usage: $0 [f0|f1|f2|all|shutdown]"</font> <b><u><font color="#000000">exit</font></u></b> <font color="#000000">1</font> ;; <b><u><font color="#000000">esac</font></u></b> @@ -414,27 +442,34 @@ echo <font color="#808080">""</font> echo <font color="#808080">"✓ WoL packets sent. Machines should boot in a few seconds."</font> </pre> <br /> -<span>After making the script executable with <span class='inlinecode'>chmod +x ~/bin/wol-f3s</span>, I can now wake the machines with simple commands:</span><br /> +<span>After making the script executable with <span class='inlinecode'>chmod +x ~/bin/wol-f3s</span>, I can now control the machines with simple commands:</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>[paul@earth]~% wol-f3s <i><font color="silver"># Wake all three</font></i> -[paul@earth]~% wol-f3s f0 <i><font color="silver"># Wake only f0</font></i> +<pre>[paul@earth]~% wol-f3s <i><font color="silver"># Wake all three</font></i> +[paul@earth]~% wol-f3s f0 <i><font color="silver"># Wake only f0</font></i> +[paul@earth]~% wol-f3s shutdown <i><font color="silver"># Shutdown all three via SSH</font></i> </pre> <br /> -<h2 style='display: inline' id='testing-wol'>Testing WoL</h2><br /> +<h2 style='display: inline' id='testing-wol-and-shutdown'>Testing WoL and Shutdown</h2><br /> <br /> -<span>To test the setup, I shutdown all three machines:</span><br /> +<span>To test the setup, I shutdown all three machines using the script's shutdown function:</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>[paul@earth]~% ssh paul@<font color="#000000">192.168</font>.<font color="#000000">1.130</font> <font color="#808080">"doas poweroff"</font> -[paul@earth]~% ssh paul@<font color="#000000">192.168</font>.<font color="#000000">1.131</font> <font color="#808080">"doas poweroff"</font> -[paul@earth]~% ssh paul@<font color="#000000">192.168</font>.<font color="#000000">1.132</font> <font color="#808080">"doas poweroff"</font> +<pre>[paul@earth]~% wol-f3s shutdown +Shutting down f0 (<font color="#000000">192.168</font>.<font color="#000000">1.130</font>)... + ✓ Shutdown <b><u><font color="#000000">command</font></u></b> sent to f0 +Shutting down f1 (<font color="#000000">192.168</font>.<font color="#000000">1.131</font>)... + ✓ Shutdown <b><u><font color="#000000">command</font></u></b> sent to f1 +Shutting down f2 (<font color="#000000">192.168</font>.<font color="#000000">1.132</font>)... + ✓ Shutdown <b><u><font color="#000000">command</font></u></b> sent to f2 + +✓ Shutdown commands sent to all machines. </pre> <br /> <span>After waiting for them to fully power down (about 1 minute), I sent the WoL magic packets:</span><br /> @@ -462,6 +497,21 @@ Waking up e8:ff:1e:d7:1c:a0... <br /> <span>This makes WoL very convenient - I can wake the cluster from anywhere in my home, whether I'm on WiFi or ethernet.</span><br /> <br /> +<h2 style='display: inline' id='remote-shutdown-via-ssh'>Remote Shutdown via SSH</h2><br /> +<br /> +<span>While Wake-on-LAN handles powering on the machines remotely, I also added a shutdown function to the script for convenience. The <span class='inlinecode'>wol-f3s shutdown</span> command uses SSH to connect to each machine and execute <span class='inlinecode'>doas poweroff</span>, gracefully shutting them all down.</span><br /> +<br /> +<span>This is particularly useful for power saving - when I'm done working with the cluster for the day, I can simply run:</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>[paul@earth]~% wol-f3s shutdown +</pre> +<br /> +<span>And all three machines will shut down cleanly. The next time I need them, a simple <span class='inlinecode'>wol-f3s</span> command wakes them all back up. This combination makes the cluster very energy-efficient while maintaining quick access when needed.</span><br /> +<br /> <h2 style='display: inline' id='bios-configuration'>BIOS Configuration</h2><br /> <br /> <span>For WoL to work reliably, make sure to check the BIOS settings on each Beelink:</span><br /> diff --git a/gemfeed/atom.xml b/gemfeed/atom.xml index da1b65c7..d9eda66d 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-11T10:37:38+02:00</updated> + <updated>2026-01-11T10:46:34+02:00</updated> <title>foo.zone feed</title> <subtitle>To be in the .zone!</subtitle> <link href="https://foo.zone/gemfeed/atom.xml" rel="self" /> @@ -13637,8 +13637,9 @@ Jan 26 17:36:32 f2 apcupsd[2159]: apcupsd shutdown succeeded <li>⇢ <a href='#cpu-throttling'>CPU throttling</a></li> <li><a href='#wake-on-lan-setup'>Wake-on-LAN Setup</a></li> <li>⇢ <a href='#setting-up-wol-on-the-laptop'>Setting up WoL on the laptop</a></li> -<li>⇢ <a href='#testing-wol'>Testing WoL</a></li> +<li>⇢ <a href='#testing-wol-and-shutdown'>Testing WoL and Shutdown</a></li> <li>⇢ <a href='#wol-from-wifi'>WoL from WiFi</a></li> +<li>⇢ <a href='#remote-shutdown-via-ssh'>Remote Shutdown via SSH</a></li> <li>⇢ <a href='#bios-configuration'>BIOS Configuration</a></li> <li><a href='#conclusion'>Conclusion</a></li> </ul><br /> @@ -13949,20 +13950,28 @@ http://www.gnu.org/software/src-highlite --> <pre>[paul@earth]~% sudo dnf install -y wol </pre> <br /> -<span>Next, I created a simple script (<span class='inlinecode'>~/bin/wol-f3s</span>) to wake the machines:</span><br /> +<span>Next, I created a simple script (<span class='inlinecode'>~/bin/wol-f3s</span>) to wake and shutdown the machines:</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">#!/bin/bash</font></i> -<i><font color="silver"># Wake-on-LAN script for f3s cluster (f0, f1, f2)</font></i> +<i><font color="silver"># Wake-on-LAN and shutdown script for f3s cluster (f0, f1, f2)</font></i> <i><font color="silver"># MAC addresses</font></i> F0_MAC=<font color="#808080">"e8:ff:1e:d7:1c:ac"</font> <i><font color="silver"># f0 (192.168.1.130)</font></i> F1_MAC=<font color="#808080">"e8:ff:1e:d7:1e:44"</font> <i><font color="silver"># f1 (192.168.1.131)</font></i> F2_MAC=<font color="#808080">"e8:ff:1e:d7:1c:a0"</font> <i><font color="silver"># f2 (192.168.1.132)</font></i> +<i><font color="silver"># IP addresses</font></i> +F0_IP=<font color="#808080">"192.168.1.130"</font> +F1_IP=<font color="#808080">"192.168.1.131"</font> +F2_IP=<font color="#808080">"192.168.1.132"</font> + +<i><font color="silver"># SSH user</font></i> +SSH_USER=<font color="#808080">"paul"</font> + <i><font color="silver"># Broadcast address for your LAN</font></i> BROADCAST=<font color="#808080">"192.168.1.255"</font> @@ -13973,7 +13982,18 @@ wake() { wol -i <font color="#808080">"$BROADCAST"</font> <font color="#808080">"$mac"</font> } -<b><u><font color="#000000">case</font></u></b> <font color="#808080">"${1:-all}"</font> <b><u><font color="#000000">in</font></u></b> +shutdown_host() { + <b><u><font color="#000000">local</font></u></b> name=$1 + <b><u><font color="#000000">local</font></u></b> ip=$2 + echo <font color="#808080">"Shutting down $name ($ip)..."</font> + ssh -o ConnectTimeout=<font color="#000000">5</font> <font color="#808080">"$SSH_USER@$ip"</font> <font color="#808080">"doas poweroff"</font> <font color="#000000">2</font>>/dev/null && \ + echo <font color="#808080">" ✓ Shutdown command sent to $name"</font> || \ + echo <font color="#808080">" ✗ Failed to reach $name (already down?)"</font> +} + +ACTION=<font color="#808080">"${1:-all}"</font> + +<b><u><font color="#000000">case</font></u></b> <font color="#808080">"$ACTION"</font> <b><u><font color="#000000">in</font></u></b> f0) wake <font color="#808080">"f0"</font> <font color="#808080">"$F0_MAC"</font> ;; f1) wake <font color="#808080">"f1"</font> <font color="#808080">"$F1_MAC"</font> ;; f2) wake <font color="#808080">"f2"</font> <font color="#808080">"$F2_MAC"</font> ;; @@ -13982,8 +14002,16 @@ wake() { wake <font color="#808080">"f1"</font> <font color="#808080">"$F1_MAC"</font> wake <font color="#808080">"f2"</font> <font color="#808080">"$F2_MAC"</font> ;; + shutdown|poweroff|down) + shutdown_host <font color="#808080">"f0"</font> <font color="#808080">"$F0_IP"</font> + shutdown_host <font color="#808080">"f1"</font> <font color="#808080">"$F1_IP"</font> + shutdown_host <font color="#808080">"f2"</font> <font color="#808080">"$F2_IP"</font> + echo <font color="#808080">""</font> + echo <font color="#808080">"✓ Shutdown commands sent to all machines."</font> + <b><u><font color="#000000">exit</font></u></b> <font color="#000000">0</font> + ;; *) - echo <font color="#808080">"Usage: $0 [f0|f1|f2|all]"</font> + echo <font color="#808080">"Usage: $0 [f0|f1|f2|all|shutdown]"</font> <b><u><font color="#000000">exit</font></u></b> <font color="#000000">1</font> ;; <b><u><font color="#000000">esac</font></u></b> @@ -13992,27 +14020,34 @@ echo <font color="#808080">""</font> echo <font color="#808080">"✓ WoL packets sent. Machines should boot in a few seconds."</font> </pre> <br /> -<span>After making the script executable with <span class='inlinecode'>chmod +x ~/bin/wol-f3s</span>, I can now wake the machines with simple commands:</span><br /> +<span>After making the script executable with <span class='inlinecode'>chmod +x ~/bin/wol-f3s</span>, I can now control the machines with simple commands:</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>[paul@earth]~% wol-f3s <i><font color="silver"># Wake all three</font></i> -[paul@earth]~% wol-f3s f0 <i><font color="silver"># Wake only f0</font></i> +<pre>[paul@earth]~% wol-f3s <i><font color="silver"># Wake all three</font></i> +[paul@earth]~% wol-f3s f0 <i><font color="silver"># Wake only f0</font></i> +[paul@earth]~% wol-f3s shutdown <i><font color="silver"># Shutdown all three via SSH</font></i> </pre> <br /> -<h2 style='display: inline' id='testing-wol'>Testing WoL</h2><br /> +<h2 style='display: inline' id='testing-wol-and-shutdown'>Testing WoL and Shutdown</h2><br /> <br /> -<span>To test the setup, I shutdown all three machines:</span><br /> +<span>To test the setup, I shutdown all three machines using the script's shutdown function:</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>[paul@earth]~% ssh paul@<font color="#000000">192.168</font>.<font color="#000000">1.130</font> <font color="#808080">"doas poweroff"</font> -[paul@earth]~% ssh paul@<font color="#000000">192.168</font>.<font color="#000000">1.131</font> <font color="#808080">"doas poweroff"</font> -[paul@earth]~% ssh paul@<font color="#000000">192.168</font>.<font color="#000000">1.132</font> <font color="#808080">"doas poweroff"</font> +<pre>[paul@earth]~% wol-f3s shutdown +Shutting down f0 (<font color="#000000">192.168</font>.<font color="#000000">1.130</font>)... + ✓ Shutdown <b><u><font color="#000000">command</font></u></b> sent to f0 +Shutting down f1 (<font color="#000000">192.168</font>.<font color="#000000">1.131</font>)... + ✓ Shutdown <b><u><font color="#000000">command</font></u></b> sent to f1 +Shutting down f2 (<font color="#000000">192.168</font>.<font color="#000000">1.132</font>)... + ✓ Shutdown <b><u><font color="#000000">command</font></u></b> sent to f2 + +✓ Shutdown commands sent to all machines. </pre> <br /> <span>After waiting for them to fully power down (about 1 minute), I sent the WoL magic packets:</span><br /> @@ -14040,6 +14075,21 @@ Waking up e8:ff:1e:d7:1c:a0... <br /> <span>This makes WoL very convenient - I can wake the cluster from anywhere in my home, whether I'm on WiFi or ethernet.</span><br /> <br /> +<h2 style='display: inline' id='remote-shutdown-via-ssh'>Remote Shutdown via SSH</h2><br /> +<br /> +<span>While Wake-on-LAN handles powering on the machines remotely, I also added a shutdown function to the script for convenience. The <span class='inlinecode'>wol-f3s shutdown</span> command uses SSH to connect to each machine and execute <span class='inlinecode'>doas poweroff</span>, gracefully shutting them all down.</span><br /> +<br /> +<span>This is particularly useful for power saving - when I'm done working with the cluster for the day, I can simply run:</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>[paul@earth]~% wol-f3s shutdown +</pre> +<br /> +<span>And all three machines will shut down cleanly. The next time I need them, a simple <span class='inlinecode'>wol-f3s</span> command wakes them all back up. This combination makes the cluster very energy-efficient while maintaining quick access when needed.</span><br /> +<br /> <h2 style='display: inline' id='bios-configuration'>BIOS Configuration</h2><br /> <br /> <span>For WoL to work reliably, make sure to check the BIOS settings on each Beelink:</span><br /> @@ -13,7 +13,7 @@ </p> <h1 style='display: inline' id='hello'>Hello!</h1><br /> <br /> -<span class='quote'>This site was generated at 2026-01-11T10:37:38+02:00 by <span class='inlinecode'>Gemtexter</span></span><br /> +<span class='quote'>This site was generated at 2026-01-11T10:46:34+02:00 by <span class='inlinecode'>Gemtexter</span></span><br /> <br /> <span>Welcome to the foo.zone!</span><br /> <br /> diff --git a/uptime-stats.html b/uptime-stats.html index a1d5586a..ef4181c0 100644 --- a/uptime-stats.html +++ b/uptime-stats.html @@ -13,7 +13,7 @@ </p> <h1 style='display: inline' id='my-machine-uptime-stats'>My machine uptime stats</h1><br /> <br /> -<span class='quote'>This site was last updated at 2026-01-11T10:37:38+02:00</span><br /> +<span class='quote'>This site was last updated at 2026-01-11T10:46:34+02: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 /> |
