Distributed Vault Promotion Checklist

Distributed Vault Promotion Checklist

103
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 16:07 PM


Objective


This document contains the process for configuring the distributed vault components for promotion.  Additionally, it has detailed steps to perform promotion of distributed vaults. 

Audience

Customers that have distributed vaults in place and have the desire to test the promotion from Master to Master Candidate.

Definitions

Server namesInitial roles
CyberArkMV01Master Vault
CyberArkS01Satellite vault running as Master Candidate
CyberArkS02Satellite vault 2
CyberArkS03Satellite vault 3
 

Assumptions

All vaults are in good health and capable of promotion.  Configurations are to Idira best practices or within best practice tolerance. 


Environment


10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8

Procedure


Distributed Vaults – Promotion Prerequisites 

  1. Verify all satellites are up, running and replicating from the Master
  2. Configure the Master Candidate CyberArkS01 for Automatic Promotion:
***Master Candidate can only be set on 1 satellite vault at a time
  1. On CyberArkS01:
____  Check the DBParm.ini file DRIVE:\Program Files (x86)\PrivateArk\Server\conf
____  Verify DistributedVaultsMode=Yes
____  Check the PADR.ini file DRIVE:\Program Files (x86)\PrivateArk\PADR\conf
____  Set EnableFailover=Yes
____  Restart the CyberArk Vault Disaster Recovery service
____  Wait for two full replications before doing any promotion testing!


 

Testing Promotion from CyberArkMV01 to CyberArkS01

  1. Verify the PADR.ini file on CyberArkS01 is set to the following:
               ____  Verify DistributedVaultsMode=Yes
               ____  Verify EnableFailover=Yes
If values are not set, please refer to Distributed Vaults – Promotion Prerequisites
  1. Stop the Private Ark Server service on CyberArkMV01

____  From the PrivateArk Server GUI on CyberArkMV01,  stop the service
____  Check the italog on the satellite servers for the following:
          
____  Check the padr.log on CyberArkS01; it should start reporting errors with communication to the Master Vault:
    
After 5 failed attempts CyberArkS01 will initiate automatic promotion and become the Master
____  Verify the padr.log file
     
    

____  Check the italog on CyberArkS01:


____  Check the italog on other satellites

 

Set CyberArkMV01 to New Master Candidate

  1. On CyberArkMV01, verify the following services are stopped:
servoces.png
services2.png
 
  1. Start the PrivateArk Database Service
  2. Set CyberArkMV01 to Replicate data from CyberArkS01:
    1. On CyberArkMV01:
____  Edit the PADR.ini file DRIVE:\Program Files (x86)\PrivateArk\PADR\Conf\PADR.ini
____  Remove the ‘LastDataReplicationTimestamp=XXXXXXX’ field
____  Remove the ‘NextBinaryLogNumberToStartAt=’ field
____  Change the value on ‘EnableFailover=’ to Yes
____  Save and close the file
____  Edit the Vault.ini DRIVE:\Program Files (x86)\PrivateArk\PADR\conf
____  Change the IP in the ‘ADDRESS=’ field to the Master Candidate IP
____  Save and Close the File
____  Open a command prompt as Admin and browse to DRIVE:\Program Files (x86)\PrivateArk\Server
           Run the following command:
____  CaVaultManager ConfigureAsSatellite /ResetMasterAddress
***NOTE: When the above command is executed, a full DR replication must be run by deleting the ‘LastDataReplicationTimestamp=XXXXXXX’ field and ‘NextBinaryLogNumberToStartAt=’ field in the PADR.ini file.
Type yes to agree to make the vault read only
Type yes to agree to other vaults in the system connecting to this IP address
**** STOP if it doesn’t match the IP that is intended for communication******

                              ____  Verify the PADR.ini and Vault.ini are the same as when edited above
  1. Verify replication from CyberArkS01 to CyberArkMV01:
    1. On CyberArkMV01:

____  Check the following services have started:
         
         
____  Check that CyberArkMV01 is reporting as Satellite in CyberArk italog and                                                    can contact the CyberArkS01:
           
____  Check replication has been successful in the PADR.log file:
          
____  Replicate a 2nd time:
           (R&D recommends to wait 5 minutes)
           

Promoting back from CyberArkS01 to CyberArkMV01

              

Testing Promotion from CyberArkS01 to CyberArkMV01

  1. Verify the PADR.ini file on CyberArkMV01 is set to the following:
               ____  Verify DistributedVaultsMode=Yes
               ____  Verify EnableFailover=Yes
If values are not set, please refer to Distributed Vaults – Promotion Prerequisites, replacing CyberArkS01 for CyberArkMV01
  1. Stop the Private Ark Server service on CyberArkS01:
____  From the PrivateArk Server GUI on the CyberArkS01,  stop the service
____  Check the italog on CyberArkMV01 for the following:
          
____  Check the padr.log on CyberArkMV01; it should start reporting errors with communication to CyberArkS01:
    
After 5 failed attempts CyberArkMV01 will initiate auto promotion and become the Master
____  Verify the padr.log file:
           
  1. Check the CyberArk italog on CyberArkMV01:
               ____  Promoting Vault to Master Role
____  Vault is set to Master Role
                        
  1. Check the CyberArk italog on the Satellites
                       
 

Revert CyberArkS01 to its original state (Master Candidate)

 

Set CyberArkS01 to New Master Candidate

  1. On CyberArkS01, verify the following services are stopped;
services3.png
services4.png
 
  1. Start the PrivateArk Database Service
  2. Set CyberArkS01 to Replicate Data from CyberArkMV01:
    1. On CyberArkS01:
____  Edit the PADR.ini file DRIVE:\Program Files (x86)\PrivateArk\PADR\Conf\PADR.ini
____  Remove the ‘LastDataReplicationTimestamp=XXXXXXX’ field
____  Remove the ‘NextBinaryLogNumberToStartAt=’ field
____  Change the value on ‘EnableFailover=’ to Yes
____  Save and close the file
____  Edit the Vault.ini DRIVE:\Program Files (x86)\PrivateArk\PADR\conf
 ____ Change the IP in the ‘ADDRESS=’ field to the Master Candidate IP
____  Save and Close the File
____  Open a command prompt as Admin browse to DRIVE:\Program Files (x86)\PrivateArk\Server
           Run the following command:
____  CaVaultManager ConfigureAsSatellite /ResetMasterAddress
***NOTE: When the above command is executed, a full DR replication must be run by deleting the ‘LastDataReplicationTimestamp=XXXXXXX’ field and ‘NextBinaryLogNumberToStartAt=’ field in the PADR.ini file.
Type yes to agree to make the vault read only
Type yes to agree to other vaults in the system connecting to this IP address
**** STOP if it doesn’t match the IP that is intended for communication******

                              ____  Verify the PADR.ini and Vault.ini are the same as when edited above
 
  1. Verify replication from CyberArkMV01 to CyberArkS01
    1. On CyberArkS01:
____  Check the following services have started:
          
         
____  Check that CyberArkS01 is reporting as Satellite in CyberArk Server log and                                                    can contact CyberArkMV01:
           
____  Check replication has been successful in the PADR.log file on CyberArkS01:
          
____  Replicate a 2nd time on CyberArkS01:
           (R&D recommends wait 5 minutes)
          
 

Appendix  A

 
  1. Specify Vault as a satellite:

____  Open a command prompt as Admin browse to DRIVE:\Program Files (x86)\PrivateArk\Server
           Run the following command:
____  CaVaultManager ConfigureAsSatellite
Type yes to agree to Make the vault read only
Type yes to agree to other vaults in the system connecting to this IP address
**** STOP if it doesn’t match the IP that is intended for communication******

  1. Restart the CyberArk Vault Disaster Recovery Service on the Satellite Vault to trigger a replication between Master & Satellite:
____  Verify replication is taking place on the Satellite Vault by checking the PADR.log DRIVE:\Program
           Files (x86)\PrivateArk\PADR\PADR.log

____  Verify the following services are running:






 


Actions
  • Print
  • Copy Link

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