Runbook: Disaster Recovery & Cluster Quorum Restoration
This runbook defines cold-boot boot sequencing, etcd Raft quorum recovery, KubeVirt virtual machine restoration, and emergency break-glass administrative procedures for the LambertLab infrastructure.
⚡ Deterministic Cold-Boot Boot Sequencing
Following a whole-home power failure or physical infrastructure maintenance, nodes must be booted in strict deterministic order to satisfy cross-service dependencies:
graph TD
Step1["Step 1: Storage Appliance<br/>TerraMaster F4-425 Plus (san.lambertlab.us)<br/>Wait 2-3 mins for iSCSI/NFS ready"] --> Step2["Step 2: Primary Control Plane Node<br/>opti74 (etcd quorum member #1)<br/>Initializes kubeadm API server & kube-vip"]
Step2 --> Step3["Step 3: Secondary Quorum Members<br/>opti76 & optiplex (etcd members #2 & #3)<br/>Restores Raft quorum & Cilium eBPF"]
Step3 --> Step4["Step 4: Dedicated Compute Engine<br/>workstation (GPU & ECK Elastic Stack)<br/>Starts Elasticsearch NVMe engine"]
Step4 --> Step5["Step 5: Virtual Machine Verification<br/>KubeVirt mounts SAN iSCSI LUNs<br/>DC01, Win11, OPNsense boot"]
Stage 1: Storage Appliance (TerraMaster F4-425 Plus)
Power on the NAS appliance first and wait until storage daemons initialize (~2–3 minutes):
* Verify TCP port 3260 (iSCSI target daemon) is listening.
* Verify NFS exports (/Volume4/isos-store, /Volume1/data) are accepting mount requests.
* Failure Risk: Booting Kubernetes nodes before SAN targets are online causes KubeVirt PVC mounts to enter FailedMount or CrashLoopBackOff.
Stage 2: Primary Control Plane Node (opti74)
Power on opti74. The kubelet systemd service boots and automatically initializes the static control plane pods (etcd, kube-apiserver, kube-controller-manager, kube-scheduler, and kube-vip) from /etc/kubernetes/manifests/:
* Check kubelet service status:
Stage 3: Secondary Control Plane Members (opti76 & optiplex)
Power on opti76 and optiplex simultaneously:
* Once a second node joins, etcd re-establishes a majority quorum ($2/3$ members), and the Kubernetes API server begins accepting workload requests.
* Verify node cluster status:
Stage 4: Heavy Compute Engine (workstation)
Power on workstation:
* The node kubelet connects to the control plane.
* Docker engine starts local GPU media workloads (Jellyfin transcoding, Tdarr pipelines).
* The Kubernetes control plane / ECK operator resumes the in-cluster Elastic Stack workloads on workstation, re-binding the local NVMe PersistentVolume (elasticsearch-data-pv) to initialize elasticsearch-es-default-0, logstash-ls-0, and fleet-server-agent with GELF listening on port 12201.
* Verify Elastic Stack pods reach Running status:
⚖️ etcd Raft Quorum Loss & Recovery
If two of the three control plane nodes suffer permanent hardware loss, etcd will lose Raft consensus and the API server will reject all write requests.
Single Node Quorum Re-seeding (Disaster Recovery)
If only a single control plane node (e.g. opti74) survives catastrophic hardware loss on optiplex and opti76, re-bootstrap etcd as a single-node cluster:
- Edit the static pod manifest for etcd on the surviving control plane node (e.g.
opti74): - Add the flag
--force-new-clusterto theetcdcommand arguments in the manifest. - Kubelet will automatically restart the etcd pod and force a new single-member consensus quorum.
- Once the API server is healthy and accepting requests, remove
--force-new-clusterfrom/etc/kubernetes/manifests/etcd.yamlso normal consensus operations resume. - Re-join replacement control plane nodes using
kubeadm join 10.0.0.201:6443 --control-plane.
🖥️ KubeVirt Virtual Machine Restoration
If virtual machines fail to resume automatically after a host reboot:
- Inspect active VM status across the
vmsnamespace: - Start any stopped virtual machines:
- Verify underlying iSCSI SAN disk attachments:
- Access direct out-of-band graphical consoles via VNC if guest OS networking fails:
🔑 Break-Glass Administrative Procedures
In the event of a catastrophic directory or federation failure:
| Failure Scenario | Emergency Access Vector | Operational Procedure |
|---|---|---|
| On-Prem DC01 Failure | Microsoft Entra ID Cloud Admin | Log into Azure / Entra portal using the emergency break-glass account (pure cloud Global Admin). Independent of on-premises AD or Kerberos. |
| Entra ID / Internet Outage | On-Premise Domain Admin | Access dc01 or win11 console directly via virtctl vnc using LAMBERTLAB\chris or the local machine administrator account. |
| Guacamole SSO Unavailable | Local guacadmin Account |
Browse to https://guacamole.lambertlab.us. Because EXTENSION_PRIORITY: "*,openid" is configured, local DB authentication runs first. Log in directly with guacadmin. |
| Vault Sealed on Reboot | Vault Unseal Keys | If Vault unsealing is interrupted, execute vault operator unseal using the recovery Shamir unseal keys stored in the physical offline safe. |