Definition

runbook

What is a runbook?

Runbooks are a set of standardized written procedures for completing repetitive information technology (IT) processes within a company.

They are part of IT Infrastructure Library (ITIL) protocols, which incorporate information from IT processes, such as knowledge management and problem management.

What is the purpose of a runbook?

Runbooks provide IT teams with contextual documents that increase consistency and efficiency through standardization. They act as a walkthrough or step-by-step guide for both new and experienced IT professionals within the team.

They are typically used for optimizing routine IT operations and troubleshooting. Runbooks also act as documentation in incident management and reduce system downtime.

the evolution of ITIL standard
The ITIL standard has evolved over the years to address the needs of changing IT environments. Runbooks are included in ITIL's protocols and processes.

What are the different types of runbooks?

There are three types of runbooks:

  1. Manual. Containing step-by-step instructions to be followed by an operator.
  2. Semiautomatic. Composed of a combination of manual and automated steps.
  3. Automatic. Requiring no manual intervention.

Depending on their functions, runbooks can also be categorized as:

  • General runbooks. For routine IT department activities, such as reviewing audit logs, performing daily backups or monitoring system performance.
  • Specialized runbooks. For more complex operations processes, like disaster recovery (DR), network outages, DevOps, etc.

Runbooks vs. playbooks

While the terms may be used synonymously, there are significant differences between runbooks and playbooks.

Build a crisis management playbook
Runbooks and playbooks are not the same. Runbooks tend to focus on single-process workflows, while playbooks typically address overarching responses, such as crisis management.

While runbooks tend to focus on single-process workflows, playbooks usually deal with overarching responses to more significant issues. A playbook has a broader scope and may, in fact, incorporate multiple runbooks.

When should you create a runbook?

Organizations can create detailed runbooks once effective operations tasks have been established on their IT team. They can also be made proactively, anticipating potential IT systems failure, or after analyzing incident reports and post-mortems.

System administrators should regularly maintain and update runbooks once they have been created.

What elements are included in an effective runbook?

A successful runbook will have the following five attributes:

  1. Actionable. It documents what needs to be done during an incident.
  2. Accessible. Team members know where to find it.
  3. Accurate. It contains up-to-date, error-free information.
  4. Authoritative. Only one runbook made for a single IT process.
  5. Adaptable. It is easy to modify to prevent future redundancy.

A comprehensive runbook typically includes all details required for the efficient working of computer systems. A sample runbook template is given below:

  1. Overview. Give an overview of the process or service that is documented.
  2. Authorization. Identify key personnel or roles who can access the runbook.
  3. Process steps. Enter information about all required protocols, including installation and deployment.
  4. Monitoring system information. Outline all possible monitoring system alerts and step-by-step instructions for triggering them.
  5. DR plans. Include all service-level agreements, escalation protocols, and required incident response reporting and communications.
  6. Technical documentation. Refer or include any config, metrics or other critical system information.
Cohesity Runbook screenshot
Runbook creation: Creating and validating a workflow sequence without pen and paper using Cohesity Runbook, a workflow automation application.

How to write an effective runbook

Writing an effective runbook requires prior research and analysis. The steps typically include the following:

  1. Planning. This includes prioritizing which processes need to be documented, runbook templates and style guides that will be used.
  2. Research. Talk to subject matter experts, and identify critical steps. Screenshots, diagrams and flow charts can assist with the documentation.
  3. Writing. Runbooks may be created manually or automatically. Runbook automation software enables human intervention to occur at only predetermined points in the creation process.
  4. Testing. Runbooks must be thoroughly tested by different team members. Missing, extraneous or unclear content is edited and corrected.
  5. Updating. A system is established to ensure documented processes are updated regularly.
This was last updated in September 2021

Continue Reading About runbook

Dig Deeper on Network management and monitoring