Integrate > Microsoft SCOM > Configure > Configuring Operations Connector for High Availability

Configuring Operations Connector for High Availability

Please skip this section if you do not want to use OpsCx for Microsoft SCOM in HA mode.

When you run third-party domain managers in high-availability (HA) mode, Operations Connector may need to support high availability to increase resilience against unplanned server outages and to achieve a zero-downtime data integration flow.

You can improve your system availability and reliability using high availability options that combine multiple servers and failover procedures. Implementing a high availability configuration means setting up your Operations Connector servers cluster so that service is continuous despite power outages, machine downtime, and heavy load. Customers who run third-party domain managers in a high-availability mode require the Operations Connector integration framework to support HA as well.

Enabling High Availability

To enable High Availability feature, at least two nodes of Operations Connector systems must be available.

Create HA Cluster with Operations Connector Installed Nodes

To create HA cluster with Operations Connector installed nodes, perform the following:

  1. Log on to the OMi web interface.

  2. Navigate to Administration > Setup and Maintenance > Connected Servers

  3. In the Connected Servers pane, click New... and select Operations Connector.

    The Create Operations Connector Server dialog box opens.

  4. In the General tab, enter the cluster name in the Display label field. The values are automatically populated in the Identifier field.

  5. In the Server Properties tab, enter the fully qualified domain name of cluster nodes in the Servers field, and click Add to add it to the list of servers.
  6. Click Run Test to test the connection for the selected server.

  7. In the Event Drilldown tab, click Create.

    The cluster is successfully added to OMi.

  8. On the Operations Connector system, run the following commands to check the connectivity with OMi:

    bbcutil -ping https://<FQDN name of OMI GW server>

    bbcutil -ping https://<FQDN name of GW server>/com.hp.ov.opc.msgr/

Deploy Management Template to HA cluster

To deploy management template to a HA cluster, perform the following:

  1. Log on to the OMi web interface.
  2. Navigate to Administration > Monitoring > Management Templates & Aspects
  3. In the Configuration Folders pane, expand Configuration Folders > Operations Connector > SCOM and select SCOM Management Templates.

  4. In the Management Templates & Aspects pane, select Operations Connector for Management Template for SCOM, and click Assign and Deploy Item.

    The Assign and Deploy dialog box opens.

  5. Select the cluster name to which you want to assign the management template or aspect.
  6. Click Next, and then click Finish.

    On successful deployment of the management template, the policies are received on the Operations Connector servers. The BSMC Zero Downtime component in the cluster network coordinates the activation state of the elements defined in the Operations Connector HA package policies.

    SCOM Aspects consists of policies and SCOM services. For any changes in policies, modify the SCOM aspect and deploy it again.

Modifying Policy in a High Availability Environment

To modify a policy, perform the following:

  1. Log on to the OMi web interface.
  2. Navigate to Administration > Monitoring > Management Templates & Aspects.
  3. In the Configuration Folders pane, expand Configuration Folders > Operations Connector > SCOM and select SCOM Aspects.

  4. From the Management Templates & Aspects pane, click Operations Connector Aspect for SCOM.

    The Details pane appears.

  5. From the Details pane, click the Attributes tab, and double-click a policy from the list.

  6. Click the Policy Templates tab. The Policy Templates list appears, which includes both predefined and custom policy templates.
  7. Select a policy from the list, click Edit Item, and then click Edit Policy Template or Edit Policy Template (Raw Mode). The Policy Editor opens.

    Make the required modifications and then click Save and Close to save your changes and exit the wizard.

  8. Update Management Templates and Aspects. To update all items in a Management Template on OMi 10.11, perform the following:

    1. Open the Management Templates & Aspects pane:

      On OMi 10.11, click Administration > Monitoring > Management Templates & Aspects.

    2. In the Configuration Folders pane, expand Configuration Folders > Operations Connector > SCOM and select SCOM Aspects.

    3. In the Management Templates & Aspects pane, select Operations Connector for Management Template for SCOM - High Availability, and click Update to Latest.

      The Update to Latest wizard appears.

    4. In the Options tab, click Next.

    5. In the Preview tab, a preview of the update is shown as an expanded tree view of the Aspect. Click Finish to apply the update and close the wizard.

      The assigned item is updated to the specified Aspect version.

    6. In the Configuration Folders pane, expand Configuration Folders > Operations Connector > SCOM and select SCOM Management Templates.

    7. In the Management Templates & Aspects pane, select Operations Connector for Management Template for SCOM, and click Update to Latest.

      The Update to Latest wizard appears.

    8. In the Options tab, click Next.
    9. In the Preview tab, a preview of the update is shown as an expanded tree view of the management template. Click Finish to apply the update and close the wizard.
  9. To deploy the Management Template, perform the following:

    1. Log on to the OMi web interface.
    2. Navigate to Administration > Monitoring > Management Templates & Aspects.
    3. In the Configuration Folders pane, expand Configuration Folders > Operations Connector > SCOM and select SCOM Management Templates.

    4. In the Management Templates & Aspects pane, select Operations Connector for Management Template for SCOM, and click Assign and Deploy Item.

      The Assign and Deploy dialog box opens.

    5. Select the cluster name to which you want to assign the management template or aspect.
    6. Click Next, and then click Finish.

      On successful deployment of the management template, the policies are received on the Operations Connector servers.

Creating Multiple Sets of Policies

If there are multiple instances of SCOM connector on Operations Connector nodes, then there must be a different set of policies for each instance of SCOM. By default, HA package includes only one set of policies. To create multiple sets of policies, perform the following:

Create a Policy

To create a new policy, perform the following:

  1. Log on to the OMi web interface.
  2. Navigate to Administration > Monitoring > Policy Templates
  3. In the Policy Template Groups pane, expand Policy Management > Operations Connector and select SCOM.

  4. Instead of creating a new policy from scratch, you can copy an existing policy and change the copy to meet your needs. In the Policy Templates pane, copy an existing policy.

    For Topology:

    1. In the Policy Templates pane, click OpsCx for Microsoft SCOM 2012 (3.02) - Topology Integration policy.
    2. To create a copy of the OpsCx for Microsoft SCOM 2012 (3.02) - Topology Integration policy, right-click and then click Copy Item. Then click Paste Item. Alternatively, you can select the policy, click Copy Item from the tool bar, and then click Paste Item.

    3. Rename the policy and click OK.
    4. To modify the policy, select the policy, click Edit Item, and then click Edit Policy Template. The Policy Editor opens.

    5. In the Source tab, provide the path of the file in the Topology XML File field.

      The path should be same as mentioned in the Topology Integration configuration file. For example: To validate the path, log on to Operations Connector host machine and navigate to the <OvDataDir>\conf\HPBsmIntSCOM\genint directory. Open scom_2012_topology_integration.conf file, and locate the topology output file.

    6. Make the required modifications and then click Save and Close to save your changes and exit the wizard.

    For Events or Metrics:

    1. In the Policy Templates pane, select an existing event or metric policy.
    2. To create a copy of the policy, right-click and then click Copy Item. Then click Paste Item. Alternatively, you can select the policy, click Copy Item from the tool bar, and then click Paste Item.
    3. Rename the policy and click OK.
    4. To modify the policy, select the policy, click Edit Item, and then click Edit Policy Template. The Policy Editor opens.
    5. In the Source tab, provide the path of the file in the Path field.

      To add the file location path, log on to Operations Connector host machine and navigate to <ovdatadir>/datafiles/HPBsMIntSCOM . Validate the name of the folder instance.

Update HA Policy with the Newly Created Policies

To add and modify the newly created policies to the HA policy package, perform the following:

  1. Log on to the web interface.

  2. Navigate to Administration > Monitoring > Policy Templates
  3. In the Policy Template Groups pane, expand Policy Management > Operations Connector and select SCOM.
  4. Double click the Operations Connector for SCOM (1.0) - High Availability policy. Alternatively, you can select the policy, click Edit Item, and then click Edit Policy Template. The Policy Editor opens.
  5. In the HA Package > Policies tab, click Add Policy to HA Package configuration and then click Add Policy to HA Package from list of available Policy Templates. The Policy Templates window opens.
  6. In the Policy Template Groups pane, expand Policy Management > Template Groups > Operations Connector and click SCOM.
  7. From the Policy Templates pane, select the newly created policies, click Use selected policies and then click Close.

    The new policies are added to the HA package.

  8. In the Components tab, click Add Component to HA Package configuration and provide the details for the following fields:

    • Component Name
    • OVC registration file

    To locate the component name and OVC registration file, log on to Operations Connector host machine, and navigate to <OvDataDir>\datafiles\HPBsmIntSCOM\SCOM2012_2\scom2012e2.xml. In this instance, scom2012e2 is the component name and <OvDataDir>\datafiles\HPBsmIntSCOM\SCOM2012_2\scom2012e2.xml.is the OVC registration file location.

Update Management Templates and Aspects to a Newer Version

You can update the existing deployed Management Templates and Aspects to the latest version. To update all items in a Management Template on OMi 10.11, perform the following:

  1. Open the Management Templates & Aspects pane:

    On OMi 10.11, click Administration > Monitoring > Management Templates & Aspects.

  2. In the Configuration Folders pane, expand Configuration Folders > Operations Connector > SCOM and select SCOM Aspects.

  3. In the Management Templates & Aspects pane, select Operations Connector for Management Template for SCOM - High Availability, and click Update to Latest

    The Update to Latest wizard appears.

  4. In the Options tab, click Next.
  5. In the Preview tab, a preview of the update is shown as an expanded tree view of the Aspect. Click Finish to apply the update and close the wizard.

    The assigned item is updated to the specified Aspect version.

  6. In the Configuration Folders pane, expand Configuration Folders > Operations Connector > SCOM and select SCOM Management Templates.
  7. In the Management Templates & Aspects pane, select Operations Connector for Management Template for SCOM, and click Update to Latest.

    The Update to Latest wizard appears.

  8. In the Options tab, click Next.

  9. In the Preview tab, a preview of the update is shown as an expanded tree view of the Aspect. Click Finish to apply the update and close the wizard.

    The assigned item is updated to the specified Management Template version.

  10. To deploy the Management Template, perform the following:

    1. Log on to the OMi web interface.
    2. Navigate to Administration > Monitoring > Management Templates & Aspects.
    3. In the Configuration Folders pane, expand Configuration Folders > Operations Connector > SCOM and select SCOM Management Templates.

    4. In the Management Templates & Aspects pane, select Operations Connector for Management Template for SCOM, and click Assign and Deploy Item.

      The Assign and Deploy dialog box opens.

    5. Select the cluster name to which you want to assign the management template or aspect.
    6. Click Next, and then click Finish.

      On successful deployment of the management template, the policies are received on the Operations Connector servers.