When installing PADR on a cluster vault, how does it know to place padr.ini in the shared storage disk?
Question
When installing PADR on a Standalone vault server, the padr.ini file gets placed under the normal installation folder (<drive>:\Program Files (x86)\PrivateArk\PADR\Conf\padr.ini), but when PADR is installed on a cluster vault node (HA), the padr.ini file gets placed in the shared storage drive under <drive>:\Privateark\PADR\padr.ini
How does the installer decide where to place padr.ini ?
Environment
Privileged Access Manager (PAM, self-hosted) Disaster Recovery Vault;Vault Server;Vault
Answer
When PADR installation runs, it checks to see if there is a clustervault.ini file present in the vault's Server folder (PrivateArk\Server\ClusterVault\Conf\ClusterVault.ini).
If this file exists, it checks which drive is mentioned in the SharedConfigurationDirectory parameter, and then creates the 'PrivateArk\PADR' folder under that drive.
The SharedConfigurationDirectory should always point to the shared storage drive, where the safes data is stored, and not a local drive.
By default it will have the following value after a successful cluster node installation (where S:\ represents the shared storage drive in the example below):
SharedConfigurationDirectory=S:\PrivateArk\ClusterVault