+

Search Tips  |   Advanced Search

Runbook automation


Overview

The IBM Runbook Automation service captures the knowledge of development and operations teams to enhance manual instructions with in-place automation.

Runbooks are documents with operational instructions. Runbooks can come in various formats, including wiki pages, office documents, spreadsheets, and text files with or without markup.

With the Runbook Automation service, we can take that static information and automate processes. The service is available from IBM Marketplace


Hints and tips


Integrations

Integrating the Runbook Automation service with IBM Tivoli Netcool/OMNIbus or IBM Tivoli Netcool/Impact to integrate with an enterprise operations management solution

Operations teams worldwide rely on Netcool/OMNIbus or Netcool/Impact to centrally manage their IT events. The events that are generated by those solutions often trigger troubleshooting or problem-fixing actions that operations teams can do. A runbook can be linked to an event, giving operational staff direct access to the correct runbook, which is pre-filled with the data from the event.

With the integration of the Runbook Automation service and Netcool/OMNIbus or Netcool/Impact, you can add runbooks to the event. Then, you can either invoke the runbooks from the event (manual and semi-automated runbooks), or you can run a runbook directly if an event occurs. Adding a runbook to an event is called a trigger.

The Alert Notification service is a hybrid-cloud-based solution that you can use to centralize and simplify your notification strategy.

We can alert SREs and operators whenever they need to act on an event. We can also include URLs to runbooks in outbound email notifications so that operators can resolve issues by using manual or automated runbooks. The URLs can direct the operators to a specific runbook that is based on the alert. When required, parameters can be obtained from the alerts details.

On IBM Cloud, the service is an experimental release.

The Runbook Automation service is supported on Chrome 47, Firefox ESR 38.5, and Internet Explorer 11 or later.


Configuring the Runbook Automation service

Configuring the integration between the Runbook Automation service and Netcool/OMNIbus or Netcool/Impact

  1. Connect to your on-premises environment: Install the IBM Hybrid Cloud Connector. Make sure that the server where the Hybrid Cloud Connector is installed is connected to the internet and to the server where Netcool/OMNIbus or Netcool/Impact is installed.

  2. Upgrade and configure Netcool/OMNIbus or Netcool/Impact. For instructions, see Install Netcool/OMNIbus to run the trigger service.

  3. Create a trigger. For instructions, see Create a trigger in IBM Knowledge Center.

    For more information about triggers, see Manage Triggers in IBM Knowledge Center.


    Configuring the integration between the Alert Notification service and the Runbook Automation service

    Prerequisites: Before you can integrate the Runbook Automation service with the Alert Notification service, you must have an instance of the Alert Notification service and a Runbook Automation API key.

    In the Runbook Automation service, take these steps:

    1. Go to the "Manage API keys" section.

    2. Obtain a new API key. Store the API key user name and password.

    In the Alert Notification service, take these steps:

    1. Go to the "Manage Integrations" section.

    2. Select Runbook.

    3. Create a connection. Enter the Runbook Automation API key.

    4. Select the instance of the Runbook Automation service. If you obtained your subscription from IBM Marketplace, select Marketplace.

    5. Test your connection.

    6. Save the integration.

    7. Enable the integration.

    To add a runbook to a URL, in the "Associate Runbook(s) to these alert(s)" section, select the runbook in your notification policy.


Validating the setup

  1. Validate the integration between the service and Netcool/OMNIbus or Netcool/Impact:

    1. Test your trigger by using a sample OMNIbus event.

    2. For a manual runbook, if you configured the RunbookID as an additional column, make sure that you see the runbook in the OMNIbus event viewer:

      We can also run the runbook:

  2. Validate the integration between the Alert Notification service and the Runbook Automation service:

    1. Test your notification policy by using the Alert API from the Alert Notification service.

    2. Check your email for an alert that contains a runbook URL.

    3. Click the runbook URL. If you are directed to the runbook automation UI and you are guided through the runbook steps, your integration was successful.


Usage Scenarios

Run a runbook

Annette, an operator, is on her daily shift. A critical alert comes in, indicating that a file system is running out of disk space. The alert already contains a link to a runbook to fix the problem.

Annette clicks the link, and the runbook automation UI opens. Important information from the alert, such as the file system and the host name, is copied into the runbook parameters.

Annette follows the steps of the runbook to fix the issue. The steps are contextualized to her problem. After Annette completes all of the steps, she is asked to assess whether the runbook worked or not, and to provide a rating and comments. That information is returned to the author of the runbook to help him or her make any improvements.

For more details about running a runbook, see Run your first example runbook in IBM Knowledge Center.


Write a new runbook

Jim, a subject matter expert, is frequently called by the operations team to help solve the same problem. He decides to write a runbook so that the operations team can resolve the problem without him if the problem occurs again.

For instructions to write a runbook, see Create a runbook in IBM Knowledge Center.


Replace manual steps in a runbook with automation

Brock, an operations programmer, analyzes the list of runbooks. He finds a runbook for cleaning up file systems. The runbook is used often and has a high success rate. However, the runbook takes an average of 15 minutes to complete.

Brock decides to replace the manual steps with script-based automation. For each set of commands that are part of a runbook, he writes a script and adds it as an automation to the Runbook Automation service. He then replaces the command sections in the steps of the runbook with the new automation. For more details, Adding automations in IBM Knowledge Center. IBM Redbooks® publication on IBM Runbook Automation and IBM Alert Notification, including detailed usage scenarios:Delivering Consistency and Automation with Operational Runbooks


More info