Automation
Runbook Automation
Cheat sheet · https://pcornel.dk/topic.php?topic=5547
Answer
Runbook automation turns documented operational procedures — restarting services, clearing disks, failovers — into scripted runbooks that operators or alerts can trigger safely with consistent results.
Remember
- Start from a tested manual runbook.
- Add preconditions and approvals for risky steps.
- Log every run.
First checks
- Runbook catalogue — procedures
- Runbook execution logs — usage
- Test dates — reliability
Verify in this order
incident/request → runbook → steps → verification
Where it usually breaks
Automation/controller success is not target-state proof; target config/state is not effective-runtime proof; effective state is not workload proof.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5547