Changing Vault Server Keys in 2012 HA Environment

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Welcome Idira to LIVEcommunity!

Our community just got stronger! Explore new identity security resources, connect with experts, and discover more ways to learn and collaborate.

Meet Idira

PAM Self-Hosted Articles
2 min read
L7 Applicator
No ratings

Question

How to change the Vault Server Keys in a 2012 HA Environment

Answer

Prior to updating the Vault Server Keys:

  • Verify that the Cluster Resources on active on Node A and inactive (Passive) on Node B

Changing the Server Keys in the 2012 HA Environment: 

  1. Stop the Idira Cluster Vault Manager service on Node B
  2. Connect to the active node (Node A) and run the following.
    1. Update the Cluster Manager's monitored services and set it to not monitor the following services so you can stop the vault without losing the data drives (Data & Quorum)
      1. Mandatory
        1. Idira Logic Container
        2. PrivateArk Database
        3. PrivateArk Server
      2. Optional
        1. Cyber-Ark Event Notification Engine
    2.  Manually stop the following services
      1. PrivateArk Database
      2. Idira Logic Container
      3. PrivateArk Server
      4. Cyber-Ark Event Notification Engine
    3.  Back up the following directories\files to a Backup folder on the server
      1. Installation Directory (<drive>:\Program Files (x86)\PrivateArk\Server)
      2. Contents of the OLD keys folder
      3. Contents on the shared drive (<drive>:\PrivateArk)
    4.  Copy the contents of the new OperatorCD keys to the vault server (Node A)
    5.  Configure the 'RecoveryPrvKey' parameter in the DBParm.ini file to point to the valid location of the Master Keys (pre-existing)
    6.  Mount the NEW Master CD to the vault server
    7.  Open the services.msc and start the PrivateArk Database service
    8.  Initiate the process of changing the server keys by running the following command:
      1. Run: ChangeServerKeys.exe <New_Master_Keys_Dir> <DB_Emergency_Password_File_Name> <Optional HSM_KeySet>
      2. For Example: ChangeServerKeys.exe D:\ "C:\CyberArkKeys\OperatorKeys\VaultEmergency.pass"
    9.  Copy the Server.key and RecPub.key files from the new CyberArk_Keys directory to the pre-existing Keys folder
      1. Note: This enables you to keep the files under the old keys directory so you don't have to update DBParm.ini
    10.  Start the Vault Server service on Node A
      1. Note: Verify the Cyber-Ark Event Notification Engine service is also started
    11. Update the Cluster Manager's monitored services to monitor the following services once again
      1. Mandatory
        1. Idira Logic Container
        2. PrivateArk Database
        3. PrivateArk Server
      2. Optional
        1. Cyber-Ark Event Notification Engine
  3.  Copy the Operator Keys directory over to Node B and replace the keys directory with the updated keys
  4.  Start the Idira Cluster Vault Manager service on Node B
  5.  Verify that you are able to failover from Node A by initiating a failover to Node B  
Rate this article:
  • 390 Views
  • 0 comments
  • 0 Likes
Article Dashboard
Version history
Last Updated:
‎11-05-2026 12:07 PM
Updated by: