CPM - How to install two CPM servers, one active and one DR

CPM - How to install two CPM servers, one active and one DR

110
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 12:59 PM


Objective


 
How to install two CPM servers, one active and one DR


Environment


v9.0;v9.1;v9.2;9.3;9.5;9.6;9.7;10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0

Procedure


Many customers would like to have a backup CPM, so in case the production live active CPM goes down, the backup will take over and continue to manage the accounts.
 
Though there is no option for CPM load balancing, there are a few choices to achieve this.

It is always possible to immediately install a new CPM in case of need.
 
The other option is to have it prepared and installed on a dedicated backup server, and by several simple actions to activate the PASSIVE CPM.
 
Keep in mind, that if a CPM server goes down, this is not a critical event, since the Vault itself and all the data is still accessible, the passwords are simply not being managed. Even if passwords are not being managed for several hours (or more), all of their servers and resources are still working and still accessible, and the action of switching over to another CPM (or even installing a new CPM from scratch) can take minutes.
 
How to install CPM2 (passive): 
 
During the CPM installation with the wizard, after creating the CPM folder on the server, the following prompt will appear.
 
"Do you already have the Central Policy Manager Vault environment on your Vault?" 
 
In this stage, press 'cancel'. 
 
Since the CPM service is currently already installed on this server (and on the file system: \CyberArk\Password Manager\), you will only be skipping the stage where you connect the CPM to the Vault (and this is something you don't want to happen, since this CPM should be PASSIVE). 
 
How to switch over to CPM2 if CPM1 is down:
 
1. Make sure the CPM services on CPM1 are down completely (not automatic), otherwise when CPM2 is active, if CPM1 suddenly becomes active as well, it could cause issues on the vault side
 
2. You will need to copy the Vault.ini file (or the relevant information inside of it, like the IP of the Vault, port, Vault name) from CPM1 server to CPM2 server. 
 
The Vault.ini file is in the CPM server under \CyberArk\Password Manager\Vault) 
 
3. In the same location on CPM2, you will need to create a new credfile, but with the same PasswordManager user from the Vault which was used by CPM1 (look in this server's user.ini cred file). 
 
4. Start the service on CPM2.
 
The same process applies when you need to switch over back from CPM2 to CPM1.
 
Note: this solution requires only 1 CPM entity in the EPV license.


Additional Information


Details

PROBLEM:
Many customer would like to have a backup CPM, so in case the production live active CPM goes down, the backup will take over and continue to manage the accounts.
Since there is no option to have CPM in Load Balancing there are few choices.

SOLUTION:
It is always possible to immediately install a new CPM in case of need.
The other option is to have it prepared and installed on a dedicated backup server, and by several simple action to activate the PASSIVE CPM.
Keep in mind, that if a CPM server goes down, this is not a critical event, since the Vault itself and all the data is still accessible, the only problem now is the passwords of the accounts are not being replaces and managed, until the CPM (any CPM) will be back and start to manage them again, because even if passwords are not being managed for several hours (or more), all of their servers and resources are still working and still accessible, and the intimidation of switching over to another CPM (or even installing a new CPM from scratch) can take minutes.

How to install CPM2 (passive): 
During the CPM installation with the wizard, after creating the CPM folder on the server, there's a stage when you will be asked: 
"Do you already have the Central Policy Manager Vault environment on your Vault?" 
(and you can choose yes/no). 
In this stage you need to press: "Cancel". 
Since the CPM service is currently already installed on this server (and on the file system: \CyberArk\Password Manager\), you will only be skipping the stage where you connect the CPM to the Vault (and this is something you don't want to happen, since this CPM should be PASSIVE). 

How to switch over to CPM2 if CPM1 is down:
1. Make sure the CPM services on CPM1 are down completely (not automatic), otherwise when CPM2 will be ACTIVE if suddenly CPM1 will be ACTIVE again, it will cause corruptions on the Vault. 
2. You will need to copy the Vault.ini file (or the relevant information insdie of it, like the IP of the Vault, port, Vault name) from CPM1 server to CPM2 server. 
The Vault.ini file is in the CPM server under \CyberArk\Password Manager\Vault) 
3. In the same location in CPM2, you will need to create a new cred file, but with the same PasswordManager user from the Vault which was used by CPM1 (look in his user.ini cred file). 
4. Start the service on CPM2.
The same process applies when you need to switch over back from CPM2 to CPM1.

Note: this solution requires only 1 CPM entity in the EPV license.



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000000v6LCAQ&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail