Initialize ops repository
This commit is contained in:
1
50-runbooks/00-panic-day/.gitkeep
Normal file
1
50-runbooks/00-panic-day/.gitkeep
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
13
50-runbooks/00-panic-day/README.md
Normal file
13
50-runbooks/00-panic-day/README.md
Normal file
@@ -0,0 +1,13 @@
|
||||
# Panic Day
|
||||
|
||||
This folder contains rebuild-from-zero drills.
|
||||
|
||||
Rule: each drill must be runnable with only this repo, cold storage, and the vault keys.
|
||||
|
||||
Suggested drills:
|
||||
|
||||
- Rebuild `op-core-vm` from a clean base image.
|
||||
- Restore this repo, validate integrity, and re-establish authority boundary.
|
||||
- Rotate critical credentials and invalidate all prior device leases.
|
||||
- Restore one representative backup set end-to-end and record proof.
|
||||
|
||||
1
50-runbooks/10-provision/.gitkeep
Normal file
1
50-runbooks/10-provision/.gitkeep
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
4
50-runbooks/10-provision/README.md
Normal file
4
50-runbooks/10-provision/README.md
Normal file
@@ -0,0 +1,4 @@
|
||||
# Provision
|
||||
|
||||
Create and bootstrap new nodes/services in a repeatable way.
|
||||
|
||||
1
50-runbooks/20-incident/.gitkeep
Normal file
1
50-runbooks/20-incident/.gitkeep
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
4
50-runbooks/20-incident/README.md
Normal file
4
50-runbooks/20-incident/README.md
Normal file
@@ -0,0 +1,4 @@
|
||||
# Incident
|
||||
|
||||
Containment, diagnosis, recovery, and postmortem procedures.
|
||||
|
||||
1
50-runbooks/90-decom/.gitkeep
Normal file
1
50-runbooks/90-decom/.gitkeep
Normal file
@@ -0,0 +1 @@
|
||||
|
||||
4
50-runbooks/90-decom/README.md
Normal file
4
50-runbooks/90-decom/README.md
Normal file
@@ -0,0 +1,4 @@
|
||||
# Decommission
|
||||
|
||||
Safe teardown, revocation, and evidence capture for retired systems.
|
||||
|
||||
15
50-runbooks/README.md
Normal file
15
50-runbooks/README.md
Normal file
@@ -0,0 +1,15 @@
|
||||
# Runbooks
|
||||
|
||||
Runbooks are executable documents: written to be followed under pressure.
|
||||
|
||||
Minimum required sections:
|
||||
|
||||
- Purpose
|
||||
- Preconditions
|
||||
- Steps (exact commands)
|
||||
- Validation (how you know it worked)
|
||||
- Rollback / abort criteria
|
||||
- Evidence (what to record)
|
||||
|
||||
Use `ops/50-runbooks/_template.md` for new runbooks.
|
||||
|
||||
35
50-runbooks/_template.md
Normal file
35
50-runbooks/_template.md
Normal file
@@ -0,0 +1,35 @@
|
||||
# Runbook: <title>
|
||||
|
||||
## Purpose
|
||||
|
||||
What this runbook does and when to use it.
|
||||
|
||||
## Preconditions
|
||||
|
||||
- Access/role required:
|
||||
- Systems required:
|
||||
- Expected safe state:
|
||||
- Time estimate:
|
||||
|
||||
## Steps
|
||||
|
||||
1.
|
||||
2.
|
||||
3.
|
||||
|
||||
## Validation
|
||||
|
||||
How to prove the procedure succeeded (commands + expected output).
|
||||
|
||||
## Rollback / Abort
|
||||
|
||||
What to do if validation fails, and when to stop.
|
||||
|
||||
## Evidence
|
||||
|
||||
What you record (timestamps, change IDs, logs, screenshots).
|
||||
|
||||
## Notes
|
||||
|
||||
Gotchas, dependencies, links.
|
||||
|
||||
Reference in New Issue
Block a user