Setup policy_management_ws in a multi OC setup for HA
search cancel

Setup policy_management_ws in a multi OC setup for HA


Article ID: 228691


Updated On:


DX Unified Infrastructure Management (Nimsoft / UIM)


I have a a multi OC setup and want to setup policy_management_ws for HA mode, or switching mode, so that regardless of OC that I am attached to the policies will be updated.


Release : 20.3.3+


This operation requires that policy_management_ws be at 0.27HF2  or higher. 


- raw configure wasp on the primary
- verify the following are set under webapps/adminconsoleapp/custom/uncrypted  (case sensitive entries)

ha_mode = HA
no_failed_attempts = 1
heartbeat_interval_min = 5

On each of the OC servers perform the following:

- raw configure wasp
- add the following key under webapps/policy_management_ws/custom/uncrypted

controller_url = http(s)://<system.domain_name>/adminconsoleapp/

Note: A valid certificate must be in place for the AC machine. If not it will fail. Try falling back this entry to http, or remove it completely to acquire the HA connection.

- delete the following key if it is present


Once this is completed you should start to see the following in your policy_management.log on each OC:

2021-11-18 11:02:01,692 INFO [Timer-1]   - Config file successfully loaded.
2021-11-18 11:02:01,692 DEBUG [Timer-1]   - Registering the policy node to master@http://<system.domain_name>/adminconsoleapp/
2021-11-18 11:02:01,712 DEBUG [Timer-1]   - Successfully contacted the node master at http://<system.domain_name>/adminconsoleapp/ Response={"heartbeat_interval_min":5,"processing_mode":"HA","hubIP":"##.##.##.##","primary_policy_node":"##.##.##.##","no_failed_attempts":1}
2021-11-18 11:02:01,713 DEBUG [Timer-1]   - Setting policy processing mode to true

Additional Information