Max_Ercoli Absent Member.
Absent Member.
80 views

[ST OA] Receiving messages from a policy which is disabled

 

 

Symptom

 

Receiving messages from a policy which is disabled

 

Probable Cause

 

If policies are enabled & disabled continuously in a short period time, there is a possibility that the respective subagent missed the reconfig signal sent by ovconfd .


So though the status is shown as disabled in the 'ovpolicy -list' output, the subagent would still have the status loaded as 'enabled' due to the missed signal

This can be checked by tracing ovcd, ovconfd and the subagent sending the false alerts.

 

Following the exact flow of events during any policy enable/disable operation :

-    Ovconfd process changes the state of the policy and sends  notification to ovcd

-    Ovcd sends a disable notification to the corresponding agent - in this case it is opcle

-    Opcle rereads the policy files to load the new changes.

 

 

Solution/Workaround

 

1) Provide a delay of atleast 30 seconds between the enabling and disabling operations for the same set of policies

 

2) Instead of enabling and disabling the policies one by one, you can try to enable/disable multiple policies with a single command

 

ovpolicy -enable -polname POL1,POL2,POL3
ovpolicy -disable -polname POL1,POL2,POL3

 

NOTE : This option for enabling/disabling multiple policies is available with 11.02 or higher versions of agent

 

 

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.
Thanks

2 Replies
Absent Member.. cgemat Absent Member..
Absent Member..

Re: [ST OA] Receiving messages from a policy which is disabled

How to provide a delay of atleast 30 seconds between the enabling and disabling operations for the same policy ?

0 Likes
Micro Focus Expert
Micro Focus Expert

Re: [ST OA] Receiving messages from a policy which is disabled

Hello cgemat,

 

You can achieve this by adding "sleep" command between ovpolicy.

 

For example:

ovpolicy -disable ...

sleep 30

ovpolicy -enable ...

 


Hope this helps.

 

 

 

 

Micro Focus 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. Thanks
0 Likes
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.