On Premise Vault HA DR Node Rebuild With HSM
99
Created On 11/10/26 10:54 AM - Last Modified 11/10/26 15:51 PM
Symptom
After having issues causing a Vault server to need to be rebuilt. We can sometimes rebuild a single node of the DR HA cluster when the other node is not impacted. HSM can cause some slight changes in the process.
Environment
11.5;11.6;11.7;12.0;12.1;12.2;11.9;11.8;12.4;12.3;12.5;12.6;12.7;13.0;13.2;13.1 Privileged Access Manager (PAM, self-hosted) Vault Server
DR Vault Server Rebuild in an HA cluster when using HSM
Cause
Blue screen or other un-recoverable issues to the vault OS.
Resolution
Reinstall Windows Using the Idira USB
1. First thing will be is to check that the other DR node is active and replicating without issue to ensure service is continued for your customers.
2. Rebuild the target HA vault server using a clean install of windows and use the Idira provided USB/CD.
3. Locate the Cyber-Ark Recovery USB drive. The drive will be labeled according to the model number of the appliance.
4. Insert the Cyber-Ark Recovery USB drive into one of the USB ports on the appliance.
5. Reboot or power-cycle the appliance.
6. When the option is available, press F1 to enter the BIOS Boot Manager.
7. After the POST is completed, the appliance will display the BIOS Boot Manager.
8. Press the DOWN arrow key until "Hard drive C:' is selected. A sub-menu will appear.
9. Select the RECOVERY USB DRIVE IN FRONT USB PORT or similar usb device prompt.
10. If the system displays "Waiting for DHCP IP Address" message do the following:
Press ALT+F2 to switch to virtual terminal
Press ENTER to get a command prompt
Type "touch /etc/network-configured" (without the quotes) then press ENTER
Press ALT+FI to return to virtual terminal 1
Press ENTER to boot from the Recovery USB drive. A menu will be displayed with the appliance model numbers for which the USB drive is applicable
11. With option (1) highlighted, press ENTER to load the recovery environment. After a short delay, a confirmation dialog will be displayed. The exact wording of the text will vary depending upon the specific appliance model. Type "yes" and press enter to continue.
12. Type "yes" a second time and press ENTER to begin the recovery process. A progress bar will be displayed during the recovery process, with an ETA that is updated during the recovery. Actual recovery time is usually less than one hour.
13. When the recovery process has completed successfully, the screen will turn green and will display the word "PASS" in large letters.
14. Remove the USB drive and press any key to reboot the server.
NOTE:
- Windows must be re-activated after the recovery process is complete. The Windows Product Key can be found on the COA label on the top cover of the appliance or with the included set of CDs.
- Windows computer names must be reset.
- Install The HSM Software needed for the use of HSM keys ahead of the Idira software.
- Update the Windows server and drivers as needed ahead of the installation of the Idira Software.
Continue with the DR installation as in the documentation:
https://docs.cyberark.com/PAS/11.5/en/Content/PAS%20INST/Installing-the-CyberArk-Digital-Cluster-Vault%20Server-on-the-DR-Vault-on-Windows-2012.htm
1. Install the Idira Digital Cluster Vault Server on both nodes of the Idira Vault high availability cluster, as described in High Availability Clustering.
https://docs.cyberark.com/PAS/11.5/en/Content/PAS%20INST/Installing-the-CyberArk-Vault-with-High-Availability-Clustering.htm#_Ref377479452
NOTE:
- You only need to do the steps for the Node B portion of the documentation as node A is already up and working.
- Skip the first node installation and move down to the section for the seconds node / Node B.
- Install the second node of the Idira Digital Cluster Vault Server for Node B.
Post install adjust the DBParm.ini, My.ini and ClusterVault.ini to be correct and mirror the A node with Peer and Local values revered to reflect that this is the B node and not the A node.
Adjust the Server Key settings to update the Vault to be using the HSM Key already in use by the A node.
HSM Configuration Dicumentation. Only follow the Node B portion as Node A is already installed
https://docs.cyberark.com/PAS/11.5/en/Content/PAS%20INST/Configuring-HSM-Key-Management-for-the-HA-Vault.htm
Follow the Documentation for installing the DR service on the B node:
https://docs.cyberark.com/PAS/11.5/en/Content/PAS%20INST/Installing-the-CyberArk-Digital-Cluster-Vault%20Server-on-the-DR-Vault-on-Windows-2012.htm
Test the DR service with a full replication using the new B node.