When running PostInstall command on Azure DR installation, prompted to "Enter the new cloud key UUID:"
101
Created On 11/10/26 10:59 AM - Last Modified 11/10/26 13:03 PM
Symptom
When running the PostInstall command under an Azure DR installation, you may be prompted to "Enter new cloud key UUID:"
This prompt is shown due to an error during the retrieval of the UUID from the Master Vault.
One of the things that happens during the Primary vault PostInstall is putting the server key and the UUID in the Vault (in the System safe) so that we can pass them securely to the DR. The reason is that the keys must be identical on the Primary and DR vaults. Both uploading in the Primary Vault and downloading in the DR Vault happen using PACLI (this is the reason for the PACLI folder).
Environment
10.10;11.1;11.2;11.3;11.4 Azure DR Installation
Cause
This prompt can be caused because the PostInstall command is unable to pull the required information from the Master Vault's System safe.
Resolution
In order to fix this we need to manually run the PACLI script on the Primary Vault in order to put the data back in the safe and then rerun the PostInstall command on the DR Vault.
The steps should be as following:
On Master Vault machine:
1. Copy the PACLI folder to Privateark\Server folder (it is deleted after PostInstall run)
2. Run manually the CloudVendorStoreData.bat in the following way - Note that you must start in the Server directory:
c:\Program Files (x86)\PrivateArk\Server> PACLI\CloudVendorStoreData.bat 127.0.0.1 [AdminPassword] [CloudKeyUUID] [serverKeyPath]
*the value of the CloudKeyUUID should be taken from the dbparm.ini on the Master Vault
Example:
PACLI\CloudVendorStoreData.bat 127.0.0.1 SuperSecret123 https://mycompanyvkm.vault.azure.net:443/keys/ServerKeyEncryptionKey/a56d8ra76a5a78e8d67s64d76767 C:\CyberArkInstall\OperatorCD\VKM\
*Note that the serverKeyPath is just the folder. The command will automatically look for the Server.key file in that folder.
On the DR machine:
1. Copy the PACLI directory to the PrivateArk\Server folder on the DR machine (it is deleted after failed PostInstall run and needs to be manually added back to the server).
2. Open the dbparm.ini file and delete the [AZURE] tag and everything under it (these are the leftovers of the unsuccessful PostInstall run). Make sure the following three parameters are completed deleted from the file:
CloudVendor
VKMName
CloudKeyUUID
3. Run the PostInstall command on DR again.