Highlighted
Absent Member.. GTrejos7 Absent Member..
Absent Member..
142 views

[ST OMU] opcecm fails to start

PROBLEM:

On a Operations Manager for Linux (OML) 9.11.040 on RHEL6.3, trying to setup MsgStorm detection as per white paper
http://support.openview.hp.com/selfsolve/document/KM1023358
at page 11 it says that process opcecm should be running, but it is not.

The stats show the folowing:

#ovc -status opcecm -level 8

START_CHECK failed with return code: 1, will not be shown in status.

opcecm process doesn't find the deployed ECS policies,
but they are shown in ovpolicy -list

MsgStorm EC policy has been deployed to the physical node but EC is not starting.


CAUSE:

If ovpolicy shows the policy on the management server, the typical mistake has been commited:

You should assign the policy to the management server and not to the local node of the management server

$MGMTSV is the reference to the management server itself

If node names are used, it will assign the circuit to the agent with that node name,
If the virtual name of the management server is used, it will assign the circuit to
both agents of the cluster and that is not the intention



RESOLUTION:

To properly install the message storm circuit, the following commands need to be typed:

For message-based policy storm:
/opt/OV/bin/OpC/utils/opcnode -assign_pol pol_name='MsgStorm_Detect' pol_type=ec node_name='$MGMTSV' net_type=NETWORK_NO_NODE

For policy-based message storm:
/opt/OV/bin/OpC/utils/opcnode -assign_pol pol_name='PolicyStorm_Detect' pol_type=ec node_name='$MGMTSV' net_type=NETWORK_NO_NODE

To be able to run the circuit on the management server, run the following command:
/opt/OV/bin/OpC/opcragt -distrib -force '$MGMTSV'

Do NOT replace the word '$MGMTSV' by the name of the management server.

HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
If you liked it I would appreciate KUDOs.
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.