DR - How do I redirect components to the DR vault in the event of a failover to DR where Prod is not available?
Objective
How do I redirect components to the DR vault in the event of a failover to DR where Prod is not available?
Environment
10.9;10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;14.2
Procedure
Many components support listing multiple Vault IP addresses or DNS A records in their vault.ini configuration or a combination of both. This will allow the client to jump to the DR vault when they lose connection to the vault they are currently connected to or when the DNS record is updated. This should be configured during the deployment of the environment as best practice.
In the vault.ini file for each component, the line in question will look like the following, with IPs separated by a comma:
In the above example, the red box is the vault's IP address. The green box is DR's IP address.
IMPORTANT: the following components should not be configured to use the DR vault automatically to avoid creating a split-brain scenario. These clients should manually have their vault.ini file changed to replace Prod's IP with DR's. Only one IP should be listed in the vault.ini file at any given time.
- CPM
- "C:\Program Files (x86)\CyberArk\Password Manager\Vault\Vault.ini"
- PaReplicate
- "C:\Program Files (x86)\PrivateArk\Replicate\Vault.ini"
Default location of other CyberArk component vault.ini files. These services need to be restarted to read the new vault.ini configuration
- PVWA
- "C:\CyberArk\Password Vault Web Access\VaultInfo\Vault.ini"
- PSM
- "C:\Program Files (x86)\CyberArk\PSM\Vault\Vault.ini"
- PSMP
- /etc/opt/CARKpsmp/vault/vault.ini
- Windows AAM
- "C:\Program Files (x86)\CyberArk\ApplicationPasswordProvider\Vault\Vault.ini"
- Unix AAM
- /etc/opt/CARKaim/vault/vault.ini
- PTA
- /opt/tomcat/diamond-resources/Vault.ini