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

TELEICU/Control plane failure runbook: Difference between revisions

From OHC Network Wiki
Content deleted Content added
Create TELEICU control plane failure runbook (via create-page on MediaWiki MCP Server)
 
Automated edit (via update-page on MediaWiki MCP Server)
 
Line 48: Line 48:
* Set alerts on etcd leader changes and db size growth
* Set alerts on etcd leader changes and db size growth
* Regular etcd backup (automated in the Backup & restore SOP)
* Regular etcd backup (automated in the Backup & restore SOP)

{{Navbox TELEICU}}


{{Related}}
{{Related}}

Latest revision as of 08:40, 6 July 2026

runbookteleicuCARE 3.0+

Procedure for handling loss of one or more control plane VMs.

Architecture

3 CP VMs with embedded etcd. etcd tolerates loss of 1 node (minority) and remains operational. Loss of 2 nodes (majority) causes loss of quorum.

Single CP VM failure

Impact: None — etcd maintains quorum. K3s operations continue uninterrupted.

Procedure:

  1. Identify the failed VM and root cause
  2. Rebuild or replace the VM
  3. Re-join it to the etcd cluster
  4. Verify: etcdctl endpoint health on all 3 nodes

Two CP VM failure (quorum loss)

Impact: K3s API server is down. Agent nodes continue running existing workloads but cannot accept new deployments or schedule changes.

Procedure:

  1. Identify the surviving VM — it has the latest etcd data
  2. Rebuild or restore the two failed VMs
  3. Manually restore etcd quorum using the surviving node's data
  4. Re-join restored nodes to the cluster
  5. Verify all agent nodes reconnected
  6. Verify all middleware workloads are healthy

Data safety:

- etcd state is backed up as part of the Backup & restore SOP - Application data is on Longhorn (Ansible) or ZFS (NixOS) volumes — independent of etcd - Restoring etcd from backup is the last resort if no CP node survives

Prevention

  • Deploy CP VMs across different cloud availability zones if possible
  • Monitor CP VM resource usage (CPU, memory, disk)
  • Set alerts on etcd leader changes and db size growth
  • Regular etcd backup (automated in the Backup & restore SOP)