Three Nodes
You'll run one service across three machines so that pulling the plug on any one of them changes nothing.
About
High availability is the thing people read about and never do at home, so this badge has you do it. You'll need three nodes, a cluster, shared or replicated storage, and a service that keeps running when you unplug a machine mid-request. Three used mini PCs or three Pis will do. It takes a season to get right, because every shortcut shows up the first time you pull the cord.
At a glance
- Per requirement
- 75 XP
- Completion bonus
- 1200 XP
- Requirements
- 6
- Takes
- One season
- Skill level
- Advanced (years of practice)
- Cost
- Expensive ($100+)
- Supplies
- You need some
- Where
- At home
- Other people
- On your own
Requirements
-
1
Get three nodes with the same architecture and put them on a wired network. Three used mini PCs, or three Pi 4s or 5s, all work. Take a photo of the three on a shelf, cabled up. Photo
-
2
Form a cluster with Proxmox, k3s, Docker Swarm or something similar. Whichever one you pick, the goal is a single view that shows all three nodes. Take a screenshot of the cluster view showing three nodes healthy. Photo
-
3
Set up storage that survives losing a node, like Ceph, replicated ZFS, Longhorn or a separate NAS. Take a screenshot of the storage status showing it replicated across nodes, or the NAS mounted from all three. Photo
-
4
Run one service you rely on so it can move to or run on any node. The uptime monitor, the wiki or the media server are all good choices. Take a screenshot of it running and the node it's on. Photo
-
5
Unplug the node running the service while you watch it from a phone. Film it with the phone on one side refreshing the service and your hand pulling the power cable from the node on the other. Time how long it's gone. Under a minute is good, and zero is the goal. Video
-
6
Repeat the pull for the other two nodes and write down what failed the first time. Take a screenshot of the uptime graph for the day with all three pulls marked, and write a page on what broke the first time. The first attempt always fails somewhere, and that's fine. Photo