Vault - The LDAP Sync task prevents vault cluster node switch, switchover to the DR or the vault services shutdown.
128
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 15:53 PM
Symptom
There may be installations where the LDAP Synchronization task takes long time to execute due to the integration complexity (number of mapped groups and users).
In these environments, if the Vault services are switched over to the secondary cluster node, the DR server or simply stopped, at the moment the LDAP Synch is running, the switch over / stop operation waits for the LDAP sync to complete.
This situation may lead to a Idira outage as the other node does not start while the first one is running.
Environment
12.2;12.6;13.0;13.2 Privileged Access Manager (PAM, self-hosted) Vault Server PAS (any version) being integrated with an LDAP directory.
Cause
The LDAPSync task is a batch job and it can postpone the Vault shutdown or switchover since the Vault is waiting for it to complete.
Resolution
Although the best practice is using the 'Normal shutdown', in this scenario the 'Immediate shutdown' can be an option:
The 'Immediate shutdown' does not actually do any extra activity in the background. It usually will not wait for tasks to finish and terminate them instead.
Basically, this option will not cause database corruption as it is terminating working tasks received from the clients. The only relationship between the 'Immediate shutdown' option and the DB is when creating the dump file, but this operation is re-runnable and not affect the DB itself.
The following enhancement request has been created to consider an improvement to avoid this situation.
ER - LDAP Sync task prevents vault cluster node switch, switchover to the DR or the vault services shutdown.
It can be voted to request the inclusion of this feature in future releases.
Other partners, customers and CyberArk staff are also able to view this Enhancement Request and promote it.
The Enhancement Requests are reviewed by the Product Management team for including them in future product releases.
This is not a guarantee that the enhancement will go through, as considerations will need to be put into place such as cost-to-benefit and when this can be fit into the roadmap.