RBA database initialization

Both sites must be initialized before a replication between two installations of Runbook Automation can be created. The preparation depends on the user deployment type. It is important to open the RBA Library and Automations pages to initialize RBA databases correctly.

About this task

Initializing RBA within IBM® Netcool® for AIOps.

Procedure

  1. Determine the entry URL by issuing the following command on both sites. Take a note of the IBM Cloud Pak for AIOps section:
    oc describe nois.noi.ibm.com | grep -A 6 "AIOPS"
  2. Determine the icpadmin password from the Kubernetes secret:
    SECRET_LOOKUP_COMMAND=$(oc describe nois.noi.ibm.com | grep -A 6 "AIOPS" | grep "kubectl get secret" | sed "s/^ *//g"); bash -c "${SECRET_LOOKUP_COMMAND}"
  3. Initialize Runbook Automation.
    1. Open the URL returned by the command in step 1 and log in with user icpadmin and the password that is returned in step 2:
      oc describe nois.noi.ibm.com | grep -A 7 "AIOPS" | grep NODE_IP | awk '{ print $2 }'
    2. Navigate to > Automations > Runbooks.
    3. Click the Library and Automations tabs to complete the initialization.

What to do next

Repeat these steps for the second site.