PTA DR - PromoteDemote process failed due to timeout
125
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 16:05 PM
Symptom
Prior to PTA server version 12.2.5, the PTA DR voting script execution during the promoteDemote process must run after the mongo database is up, meaning its status is set to be Secondary. In any other state, the promoteDemote script should wait until the mongo status is set to secondary or fail after few retries.
The current script waits exactly 2 seconds. If mongo does not come up within that timeframe, the promotion script fails and PTA DR cannot be promoted to primary.
The above is also explained in the known issue article : https://community.cyberark.com/s/article/KI00017647
Environment
11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2 Privileged Access Manager (PAM, self-hosted) PTA PTA DR
Cause
Known issue : https://community.cyberark.com/s/article/KI00017647
Resolution
A new parameter in systemparm.properties was introduced in PTA version 12.2.5 and above to overcome this limitation for specific customer's PTA DR deployments where high network latency and slower performance resulting in PTA DR promote demote failure.
It is possible to increase the total timeout duration for specific environments to complete the promote demote process, using the below parameter defined in the PTA DR systemparm.properties file:
---------------------------
mongo_start_retries=6 (default)
----------------------------
The above value instructs the PTA DR server to wait for a total of 12 secs (6 retries over 2 secs interval) for the promotedemote process.
A restart of the PTA server processes is required for the changes to be effective.