HA Vault: How to transfer vault data to another SAN drive

HA Vault: How to transfer vault data to another SAN drive

87
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 15:53 PM


Objective


This process details the steps to transfer vault data to a new SAN drive. This process is applicable ONLY to high availability (HA) vault clusters. For standalone and distributed vaults, this process should be used.


Environment


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

Procedure


1. Pre-Requisites
a. Admin access to the vault as vault admin
b. Admin access to the server(s) hosting the SAN drives
c. Admin access to the vault servers, including any DR vaults
d. HA Cluster is working properly

2. Process
For this process, we assume there is a current data drive (source drive) and a destination drive (target drive) to where the existing vault data will reside

a. Pre-Transfer

Before any transfer takes place, perform the following:

i. Using PAReplicate, take a full backup of the vault data
ii. Take a full DR replication

a) In PADR.ini, delete the last two lines of the file and save. After the file is saved, move the current padr.log and restart the Idira Vault Disaster Recovery service.

iii. Stop all DR replication and disable any tasks that use PAReplicate. 
iv. If the server hosting the target drive has a different address than the source drive, this address needs to be added to DBParm.ini. If the server hosting the source drive also hosts the target drive, proceed to 'Data Transfer'

a) On the passive node, open DBParm.ini in a text editor. The default location is C:\Program Files (x86)\PrivateArk\Server\Conf
b) Look for a line that starts with 'AllowNonStandardFWAddresses'. It should exist because a similar line was added when the passive node was installed.

Example: "AllowNonStandardFWAddresses=[<SAN Server IP>],Yes,3260:outbound/tcp,3260:inbound/tcp"

c) Copy the line and paste below. In the [<SAN Server IP>], this needs to be changed to the IP with the new destination disk.

Example:
AllowNonStandardFWAddresses=[192.168.180.215],Yes,3260:outbound/tcp,3260:inbound/tcp
AllowNonStandardFWAddresses=[192.168.180.147],Yes,3260:outbound/tcp,3260:inbound/tcp

  
e) Save the DBParm.ini

f) Log into the active node and initiate a switch over with the "Cluster Vault Manager" utility (this is a shortcut on the desktop). This way, the passive node will start services and re-read the DBParm.ini

g) Log into the just switched active node and open Disk Management. If the new drive(s) are not visible, establish connectivity per the instructions from your SAN server

h) Once the new drives are visible repeat f) to switch the nodes

i) Repeat steps a) - g)

b. Data Transfer
i. Stop the Cluster Vault Manager on both nodes
ii. Stop any and all DR replication and disable any tasks that use PAReplicate
iii. On one of the nodes, make the source and target drives online. Format the destination data drive if necessary
iv. Copy the 'PrivateArk' folder from the source drive to the target drive. Depending on the size of the database this could take several minutes
v. Once the copy is complete, take the source drive offline. Note the drive letter for the target drive
vi. Run the following command on the first node:

.\StorageManager.exe -q<Quorum> -s<Data> path="C:\Program Files (x86)\PrivateArk\Server\ClusterVault\Conf\ClusterVault.ini" where <Quorum> is the letter of the new quorum drive and <Data> is the letter of the new data drive

Example: .\StorageManager.exe -qT -sS path="C:\Program Files (x86)\PrivateArk\Server\ClusterVault\Conf\ClusterVault.ini"

vii. Open the ClusterVaultManager.ini file (default location is C:\Program Files (x86)\PrivateArk\Server\ClusterVault\Conf) and make sure it is populated with the correct entries

viii. Make the following edits in the following files. Note that <Target drive letter> is the letter for the target drive

my.ini (default location is C:\Program Files (x86)\PrivateArk\Server\Database)

datadir=<Target drive letter>:/PrivateArk/Safes/Metadata
innodb_data_home_dir=<Target drive letter>:/PrivateArk/Safes/Metadata

DBParm.ini (default location is C:\Program Files (x86)\PrivateArk\Server\Conf)

StagingAreaDirectory=<Taqrget drive letter>:\PrivateArk\StagingArea
EntropyFile=<Taqrget drive letter>:\PrivateArk\Safes\entropy.rnd

ENEConf.ini (default location is C:\Program Files (x86)\PrivateArk\Server\Event Notification Engine\Conf)

ConfigurationDirectory="<Target drive letter>:\PrivateArk\Safes\ENE"
UserFileName="<Target drive letter>:\PrivateArk\Safes\ENE\ENECredFile.ini"

ix. Edit the tsparm.ini file (default location is C:\Program Files (x86)\PrivateArk\Server\Conf), change the path to the PrivateArk folder that was just copied

Example:

Old Value:

[MAIN]

SafesDirectory=<Source Drive Letter>:\PrivateArk\Safes

New Value:

[MAIN]

SafesDirectory=<Target drive letter>:\PrivateArk\Safes

x. Start the Cluster Vault Manager service on the node. Ensure that all services (Cluster Vault Manager, Database, Logic Container, Server and Event Notification Engine) start without errors

xi. Using a PrivateArk Client on another server, ensure that it can login and connect to the vault

xii. Repeat steps (vi) to (ix) on the remaining node


Actions
  • Print
  • Copy Link

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