How to increase DR Vault Replication speed with PAReplicate/Backup Utility

How to increase DR Vault Replication speed with PAReplicate/Backup Utility

88
Created On 11/10/26 10:56 AM - Last Modified 11/10/26 15:54 PM


Objective


You want to deploy an additional DR Vault or are migrating Vaults to new hardware?
A part of the process is to initiate a full replication between the pre-existing Vault Server to your newly deployed Vault Server. This article will provide you an option to use the data stored in the file system where your PAReplicate/Backup Utility is installed to speed up the data replication process.

The DR Vault replication process checks to see what data it already has in the vault and looks for any deltas of that data to replicate. If none of the data already exists in the new Vault, then a full replication could take a long time considering the amount of data you a replicating from one Vault to another via the Vault DR software and the network connection between the two Vaults.

Instead, we can can copy the data directly from the PAReplicate/Backup Utility server outside of the DR Software to the new Vault Server before performing a full replication. The new Vault will then not be copying the full database from the pre-existing Vault via the DR Software, but only replicating the deltas that occurred since the last time we performed a backup with the PAReplicate/Backup Utility. As a result, we should see a significantly quicker replication time.



Environment


10.10;11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;13.0 Privileged Access Manager (PAM, self-hosted) Disaster Recovery Vault;Vault

Procedure


Important Information:
  •  It is preferred to not have the Vault Server's Software installed before beginning this procedure, but these steps can be performed after the Vault Server Software has been installed and the Vault is hardened.
  • The pre-existing Vault Server and the new Vault Servers must be installed on the same PAS Version and using the same Operator Keys.
  • The procedure below is specifically for Standalone Vault Servers and does not address Cluster Vaults or Distributed Vaults. Although the steps can be altered to address those types of deployments, Idira recommends that you utilize Idira Professional Services to complete these steps.

Step 1:
Perform a Full Replication from the pre-existing Primary Vault to your PAReplicate/Backup Utility Server

Step 2:
After the Full Replication completes, zip/compress the following directory from the PAReplicate/Backup Utility Server:

<Drive>:\PrivateArk\Safes\Data
Note: 7Zip is a better utility for performing the compression and decompression process of the Data directory

Step 3:
Copy the zipped/compressed "Data" directory to the new Vault Server and decompress/unzip the directory

Note:
You can use the RDP Local Drive Mapping functionality to copy files to a new Vault Server whether the Vault Server is hardened or not. However, you will require RDP connectivity to the Vault Server from the PAReplicate/Backup Utility Server.
Note: You may need to install 7Zip on the Vault Server to optimize decompression/unzipping of the directory on the new Vault Server. After the files have been decompressed and extracted, you can delete 7Zip from the Vault Server.

Step 4:
Install the Vault Software and the Vault Disaster Recovery Software on the new Vault Server using the same PAS Version and Operator Keys as the pre-existing Primary Vault. Validate the Vault Server starts properly without any errors and configure it with any configurations that were made on the pre-existing Primary Vault.

Note: Do not start the Idira Vault Disaster Recovery Service to start a replication

Step 5:
Stop all the Idira Vault Services relevant to your Vault Deployment.
Note: Do not stop the "Cyber-Ark Hardened Windows Firewall" service

Step 6:
Backup the following directories:

Operator Keys directory (You can find the directory to copy in the DBParm.ini using the "ServerKey" parameter)
<Drive>:\Program Files (x86)\PrivateArk\Server
<Drive>:\Program Files (x86)\PrivateArk\PADR
"<Drive>:\PrivateArk" (Database Directory)

Step 7:
Rename the pre-existing "Data" directory to "Data_Old" on the new Vault Server

Original Name: <Drive>:\PrivateArk\Safes\Data
New Name: <Drive>:\PrivateArk\Safes\Data_Old

Step 8:
Copy the decompressed/unzipped "Data" directory from Step 3 to the following directory:
<Drive>:\PrivateArk\Safes\

Step 9:
Configure the PADR Software on the new Vault via the "padr.ini" configuration file to perform a full replication from the Primary Vault, but do not start any of the Idira Services.

Step 10:
Start the following Idira Services in this order:

IMPORTANT: Do Not start the "PrivateArk Server" service
- PrivateArk Database
- Idira Logic Container
- Idira Vault Disaster Recovery

Step 11:
Validate a Full Replication starts and completes successfully via the "padr.log"

Idira Recommends Testing the new Vault after the full replication completes to validate functionality through a pre-defined failover before fully utilizing the new Vault in your environment. After testing, you can return the Vault to a DR state if desired.


Actions
  • Print
  • Copy Link

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