OptimizeDB - DR Server

OptimizeDB - DR Server

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


Symptom


The CAVaultManager.exe OptimizeDB should not be run on a DR vault server, that causes corruption in a table within the MySQL database.
 


Environment


10.5;10.6;10.7;10.8;10.9;10.10;11.1;11;11.2;11.3;11.4;11.5;11.6;11.7 In general, the "CAVaultManager.exe OptimizeDB" utility should be run following specific instructions from Cyber-Ark R&D after diagnosing that the database requires optimization (table rebuild). Any other execution of "CAVaultManager OptimizeDB" utility is not recommended.

Cause


When running OptimizeDB (https://docs.cyberark.com/Product-Doc/OnlineHelp/PAS/latest/en/Content/PASIMP/CAVaultManager.htm), this should only be performed against a Production Vault.

Resolution



You should be able to recover the from the corruption, by copying over the backup files created when running the CAVaultManager.exe on the DR Vault.

OptimizeDB Backup:
Default location: C:\PrivateArk\Safes\Metadata OptimizeDB Backups

Copy the contents within the backup folder created to the live Metadata folder and overwrite changes.

Live Metadata default: C:\PrivateArk\Safes\Metadata

Take a copy of the Metadata folder prior.

If there is no backup from the OptimizeDB or copying the backup does not work, you will need to reinstall the DR Vault.


Actions
  • Print
  • Copy Link

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