[ST OMU] opcecm fails to start
On a Operations Manager for Linux (OML) 9.11.040 on RHEL6.3, trying to setup MsgStorm detection as per white paper
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.
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
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.
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.