Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

TELEICU/Node recovery runbook: Difference between revisions

From OHC Network Wiki
Content deleted Content added
Create TELEICU node recovery runbook (via create-page on MediaWiki MCP Server)
 
Automated edit (via update-page on MediaWiki MCP Server)
 
Line 42: Line 42:
- [ ] Confirm monitoring data flowing
- [ ] Confirm monitoring data flowing
- [ ] Run canary validation before marking fully operational
- [ ] Run canary validation before marking fully operational

{{Navbox TELEICU}}


{{Related}}
{{Related}}

Latest revision as of 08:40, 6 July 2026

runbookteleicuCARE 3.0+

Full recovery procedure for a node with disk failure, OS corruption, or hardware replacement.

Path A: Ansible

  1. Replace hardware or disk
  2. Install minimal Ubuntu + Tailscale (manual or PXE)
  3. Node connects to Tailscale and reaches the ansible-pull repo
  4. ansible-pull runs on next timer, applies full configuration
  5. K3s agent rejoins the cluster
  6. Middleware workloads are rescheduled onto the node

Considerations: - No ZFS — no filesystem-level snapshot recovery - Restore middleware data from off-site backup (restic/borg to S3) - Longhorn will rebuild volume replicas from remaining nodes if the deployment uses replication

Path B: NixOS

  1. Replace hardware or disk
  2. Boot from the nixos-generator bootstrap ISO (pre-configured tunnel)
  3. nixos-anywhere partitions the disk (ZFS + disko) and installs NixOS
  4. Node reboots into NixOS, K3s agent joins, comin starts polling
  5. ZFS snapshots can be restored from sanoid/syncoid backups

Considerations: - ZFS send/recv for fast data recovery if snapshot target is available - Full OS state restored from flake — no manual package installs

Shared steps (both paths)

- [ ] Verify hardware is functional (RAM test, disk health) - [ ] Update TeleicuSites entry with hardware changes - [ ] Confirm node rejoined K3s cluster - [ ] Verify all middleware endpoints - [ ] Confirm monitoring data flowing - [ ] Run canary validation before marking fully operational