Hmm, the user is asking for a comprehensive runbook structure covering severity taxonomy, escalation, rotations, and postmortems. This suggests they're setting up or refining an incident management process, likely in a tech/IT environment. They probably need a clear, actionable framework rather than theoretical advice.
I should structure this as a practical template they can adapt. The severity taxonomy needs clear definitions and examples to avoid ambiguity. Escalation paths must include both technical and managerial triggers since incidents often span both domains. Rotations should address fatigue and coverage—mentioning secondary responders and handovers is key. Postmortems are where many teams struggle, so emphasizing blameless culture and actionable outputs matters.
The tone should be direct but not overly technical, like a seasoned SRE explaining to a new team. Avoid fluff—each section should answer "what do we actually do?" Examples help, like the P0 scenario. I'll wrap with key principles since runbooks fail if not lived, not just documented.
Excellent. This is the core of a mature incident management and Site Reliability Engineering (SRE) practice. Here is a comprehensive, actionable runbook structure covering all four pillars.
Paging & Alert Runbook: The Complete Framework
1. Severity Taxonomy & Definitions
The single source of truth for categorizing incidents. Clear definitions prevent debate during a fire.
| Severity | Name | Definition | Target Response Time | Example |
|---|
| P0 | Critical / Emergency | Total system outage. Core business function is fully degraded for all users. Significant revenue/customer trust impact. Legal/Compliance risk. | < 5 mins | Entire platform down, payment processing failing, data breach, widespread security incident. |
| P1 | Major | Major service degradation. Significant portion of users affected. Core functionality severely impaired. | < 15 mins | Primary region down (with failover), key API latency >10s for 80% of users, database cluster failover required. |
| P2 | High | Partial outage or major degradation. Impacting a non-core feature or a subset of users (e.g., a single large customer). | < 30 mins | Feature X broken for EU users, non-primary database replica lagging significantly, spam attack on contact form. |
| P3 | Medium | Minor outage or significant bug. Limited user impact, no core workflow broken. Has a workaround. | < 2 hours | UI bug in a low-traffic admin panel, non-urgent cron job failure, single instance failure in a redundant service. |
| P4 | Low / Informational | Cosmetic issue, question, or future task. No user impact. Can be scheduled. | < 24 hours | Documentation typo, metric dashboard glitch, tech debt item for backlog. |
Key Rule: Alert on symptoms, not causes. An alert should say "API Error Rate > 5%" (symptom), not "Database Connection Exhausted" (potential cause). This allows the correct responder to be paged even if the root cause is unexpected.
2. Escalation Paths & Policies
Defines who to page, when to escalate, and how to communicate.
A. Primary & Secondary Responders (The "Who")
- Primary On-Call (L1): The person/team whose pager/phone goes off first. Responsible for initial triage and remediation.
- Secondary On-Call (L2): Automatically paged after X minutes (e.g., 10 for P0, 30 for P1) if primary does not acknowledge/respond. Provides backup and deep expertise.
- Specialist/SME (L3): Paged by L1/L2 manually for specific knowledge (e.g., DB Admin for a storage issue, Network Engineer for a routing problem). Contact list stored in runbook.
- Management / Leadership: Automatically notified via separate channel (e.g., Slack #incident-command) for P0/P1 incidents. Role: Comms, business impact assessment, resource escalation.
B. Escalation Triggers (The "When")
- No Acknowledge: Pager/phone not acknowledged within 5 mins (P0) or 10 mins (P1/P2).
- No Resolution in Progress: If the incident is not being actively investigated/mitigated after X minutes (e.g., 15 mins for P0). Requires the responder to state they are "working on it" in the incident channel.
- Scope Increase: Incident grows beyond original scope (e.g., from one service to a whole platform).
- Customer/Executive Inquiry: Any direct inquiry from a major customer or executive about the issue.
- Sustained Degradation: The incident has been open for Y hours with no clear timeline for resolution (e.g., 1 hour for P0, 4 hours for P1).
C. Communication Channels
- Primary Incident Channel: Dedicated Slack/Teams channel (e.g.,
#incident-p0-2024-xxxx). All comms, updates, and commands happen here. This is the single source of truth.
- War Room / Bridge: For P0/P1 > 30 mins: Start a Zoom/Teams call. Keep audio/video on for faster coordination.
- Status Page: Who: Incident Commander (IC) or Comms Lead. What: Update public/status page within 15 mins of P0/P1 declaration. Use pre-approved templates.
- Customer Comms: Pre-written templates for major scenarios. Comms Lead owns final approval.
3. On-Call Rotations & Handover
Ensures predictable, sustainable coverage.
A. Rotation Model
- Primary/Secondary Pairs: Most common. Two people per week (Primary + Secondary). Clear handover.
- Follow-the-Sun: For global teams. Handover docs are critical.
- Team-Based: A whole team (e.g., "Compute Team") shares a rotation. Picks one primary per shift.
- Tooling: Use PagerDuty, Opsgenie, or similar. Automate schedules, escalations, and overrides.
B. Handover Process (The Most Critical Handoff)
- Mandatory Daily: At shift change (even if no incident).
- Template (in Slack/Confluence):
- Active Incidents: Current status, owner, ETA.
- Recent Resolved: Brief summary (for postmortem triggers).
- Deployments/Changes: Any planned or recent changes that could impact stability.
- Known Issues: Monitors that are firing but not yet escalated, flapping alerts, etc.
- Upcoming Events: Releases, maintenance, high traffic periods.
- Questions: Explicit "What do you need from me?"
- Rule: The outgoing primary must get verbal/async confirmation from incoming primary that the handover is understood.
C. Fatigue & Wellbeing
- Max连续 On-Call: 1 week primary, 1-2 weeks off.
- Override Policy: Clear, easy process for swapping shifts. Encourage use.
- Post-Incident Time: After a P0/P1, the primary gets at least 24 hours of no-primary duty (can still be secondary).
4. Postmortem (Blameless Retrospective) Process
The mechanism for learning and improvement. Non-negotiable for P0/P1. Strongly encouraged for P2.
A. The Blameless Principle
- Focus on "What" and "How", not "Who".
- "How did our process allow this to happen?" not "Why did Jane push bad code?"
- Goal: System improvement, not punishment.
B. Timeline & Ownership
- Who: The Incident Commander (IC) from the incident owns the postmortem.
- When: Draft completed within 48 hours of incident resolution. Review meeting within 5 business days.
- Attendees: All involved responders, IC, relevant stakeholders (Product, Engineering Mgmt). Optional: Customer Support lead.
C. Mandatory Postmortem Sections (The Template)
- Summary: One-sentence problem statement. Severity. Duration. Impact (users, revenue, data loss).
- Timeline: Chronological, fact-based. Every action, detection, comms, from first alert to resolution. (Use logs, Slack history, timelines).
- Root Cause(s): The deepest underlying reason(s). Use 5 Whys. Example: "Alert not firing" -> "Threshold too high" -> "Threshold set based on old load profile" -> "No load test after major feature launch."
- Contributing Factors: Process gaps, tooling failures, documentation missing, training lacking, dependencies unclear.
- What Went Well? Crucial for morale. Good comms? Fast rollback? Great collaboration?
- Action Items (The Most Important Part):
- Specific, Assignable, Time-bound.
- Owner (a person/team, not a group).
- Short-term (fix now): e.g., "Lower alert threshold for X metric by 2024-10-30."
- Long-term (prevent recurrence): e.g., "Implement chaos engineering test for Y dependency by Q1 2025."
- Track in a visible system (Jira, Linear) with a label like
postmortem-action.
D. Publication & Follow-up
- Internal Publication: Postmortem document shared company-wide (in a wiki/Confluence).
- Follow-up Meeting: Review action items at the 1-week and 1-month mark. The IC is responsible for driving this.
- No-Mortem Policy: Any P0/P1 without a published postmortem blocks the next rotation's end-of-cycle review and is escalated to senior leadership.
Key Principles to Live By
- Runbooks are Living Documents: They are updated after every major incident and reviewed quarterly.
- Train on the Runbook: Conduct "game days" and tabletop exercises. Don't wait for a real P0.
- Automate Response (Runbook Automation): For P2/P3, create self-healing playbooks (scripts, Ansible playbooks). "If alert X fires, run script Y."
- Drill Communications: Practice your status page updates and customer Comms templates.
- Measure Everything:
- MTTR (Mean Time To Resolution)
- MTTA (Mean Time To Acknowledge)
- PagerDuty Stats: % of alerts by severity, escalation usage.
- Postmortem Completion Rate (Goal: 100% for P0/P1).
Final Line: "In an incident, the runbook is your guide, not your cage. Use your judgment, but always document the deviation for the next person."