Administer > Setup and Configuration > How to Manage Operations Connector with HPOM

How to Manage Operations Connector with HPOM

To manage an Operations Connector system with HPOM, you need to configure an agent-based flexible management policy. The policy configures the OMi server as the primary manager of Operations Connector, and the HPOM management server as a secondary and action-allowed management server. This enables the HPOM management server to start actions, and deploy policies and packages.

The policy also configures Operations Agent to send the collected data as follows:

  • The OMi server receives all events generated by Operations Connector policies that have the Type attribute set to BSMC_Message.

    The OM management server receives all events that do not have the Type attribute set to BSMC_Message.

    Operations Connector sets the event type attribute automatically to BSMC_Message. You can delete the value in a policy but Operations Connector inserts it again when you save the policy. The type attribute is available in the Advanced attributes tab of the policy editors.

  • The Operations Connector server stores all metrics data.

  • The OMi server receives all topology data (both Operations Agent and DFM-discovered data).

 

The flexible management policy cannot be edited in the Operations Connector user interface.

In the procedures below, use the ovcoreid command-line tool to find out the required core ID of the system.

To manage Operations Connector with HPOM for Windows:

  1. Exchange certificates between the OMi and HPOM systems. For information about exchanging certificates, see To configure trusted certificates:.

  2. On the HPOM management server, use the Configure Managed Nodes dialog box to add the Operations Connector system as a managed node. In the node's properties, manually add the core ID and set the certificate state to Installed.

  3. On the Operations Connector system, create and activate an agent-based flexible management policy:

    1. Make a copy of the flexible management policy template.
    2. Operations Connector on Windows

      Open a command prompt and type:

      copy "%OvDataDir%\conf\HPOprBSMC\f6b8aff0-f467-4851-8407-5b60395648b4_data.template" "%OvDataDir%\conf\HPOprBSMC\f6b8aff0-f467-4851-8407-5b60395648b4_data"

      copy "%OvDataDir%\conf\HPOprBSMC\f6b8aff0-f467-4851-8407-5b60395648b4_header.xml.template" "%OvDataDir%\conf\HPOprBSMC\f6b8aff0-f467-4851-8407-5b60395648b4_header.xml"

      Operations Connector on Linux

      Open a shell and type:

      cp /var/opt/OV/conf/HPOprBSMC/f6b8aff0-f467-4851-8407-5b60395648b4_data.template /var/opt/OV/conf/HPOprBSMC/f6b8aff0-f467-4851-8407-5b60395648b4_data

      cp /var/opt/OV/conf/HPOprBSMC/f6b8aff0-f467-4851-8407-5b60395648b4_header.xml.template /var/opt/OV/conf/HPOprBSMC/f6b8aff0-f467-4851-8407-5b60395648b4_header.xml

    3. Edit the policy data file f6b8aff0-f467-4851-8407-5b60395648b4_data.

    4. Locate the string ${OM_MGR_SRV} and replace all occurrences with the FQDN of the HPOM management server.

      Locate the string ${OM_MGR_SRV_ID} and replace all occurrences with the core ID of the HPOM management server.

    5. Locate the string ${BSM_MGR_SRV} and replace all occurrences with the FQDN of the OMi gateway server.

      Locate the string ${BSM_MGR_SRV_ID} and replace all occurrences with the core ID of the OMi data processing server.

    6. Save the policy data file. Import the policy in Operations Connector and activate it.

  4. In the HPOM console, right-click the node that represents the Operations Connector system and select All Tasks > Synchronize inventory > Packages.

  5. On the HPOM management server, check that you can manage the Operations Connector system, type:

    opcragt -status <Operations Connector hostname>

    The output should indicate that the agent is running.

For more information about HPOM for Windows, see the HPOM for Windows online help.

To manage Operations Connector with HPOM for UNIX or Linux:

  1. Exchange certificates between the OMi and HPOM systems.

  2. On the HPOM management server, add the Operations Connector system as a managed node, type:

    opcnode -add_node <Operations Connector hostname>

  3. On the HPOM management server, specify the core ID of the Operations Connector server, type:

    opcnode -chg_id node_name=<Operations Connector hostname> id=<core ID of Operations Connector system>

  4. On the Operations Connector system, create and activate an agent-based flexible management policy:

    1. Make a copy of the flexible management policy template.

      Operations Connector on Windows

      Open a command prompt and type:

      copy "%OvDataDir%\conf\HPOprBSMC\f6b8aff0-f467-4851-8407-5b60395648b4_data.template" "%OvDataDir%\conf\HPOprBSMC\f6b8aff0-f467-4851-8407-5b60395648b4_data"

      copy "%OvDataDir%\conf\HPOprBSMC\f6b8aff0-f467-4851-8407-5b60395648b4_header.xml.template" "%OvDataDir%\conf\HPOprBSMC\f6b8aff0-f467-4851-8407-5b60395648b4_header.xml"

      Operations Connector on Linux

      Open a shell and type:

      cp /var/opt/OV/conf/HPOprBSMC/f6b8aff0-f467-4851-8407-5b60395648b4_data.template /var/opt/OV/conf/HPOprBSMC/f6b8aff0-f467-4851-8407-5b60395648b4_data

      cp /var/opt/OV/conf/HPOprBSMC/f6b8aff0-f467-4851-8407-5b60395648b4_header.xml.template /var/opt/OV/conf/HPOprBSMC/f6b8aff0-f467-4851-8407-5b60395648b4_header.xml

    2. Edit the policy data file f6b8aff0-f467-4851-8407-5b60395648b4_data.

    3. Locate the string ${OM_MGR_SRV} and replace all occurrences with the FQDN of the HPOM management server.

      Locate the string ${OM_MGR_SRV_ID} and replace all occurrences with the core ID of the HPOM management server.

    4. Locate the string ${BSM_MGR_SRV} and replace all occurrences with the FQDN of the OMi gateway server.

      Locate the string ${BSM_MGR_SRV_ID} and replace all occurrences with the core ID of the OMi data processing server.

    5. Save the policy data file. Import the policy in Operations Connector and activate it.

  5. On the HPOM management server, check that you can manage the Operations Connector system, type:

    opcragt -status <Operations Connector hostname>

    The output should indicate that the agent is running.

For more information about HPOM for UNIX or Linux, see the documentation that HPOM for UNIX or Linux provides.

To configure trusted certificates:

In an environment with multiple servers, you must configure each server to trust certificates that the other servers issued. This task involves exporting every server's trusted certificate, and then importing this trusted certificate to every other server. You must also update the agent's trusted certificates, so that the agent also trusts the OMi servers.

Configure trusted certificates for every server (OMi gateway and data processing servers, HPOM management server):

  1. On every OMi server, export the trusted certificate to a file using the following command:

    ovcert -exporttrusted -file <file>

    The command generates a file with the name that you specify.

  2. Copy each file to every other server, and then import the trusted certificate using the following commands:

    ovcert -importtrusted -file <file>

    ovcert -importtrusted -ovrg server -file <file>

  3. On the Operations Connector system, update the trusted certificates using the following command:

    ovcert –updatetrusted