Restoring a VM from a Snapshot
- Use your hypervisor tools to restore the VM from the snapshot.
- For Linux, log into the VM as
root. For Windows, log in as a System Administrator and open a Command Prompt or start Windows PowerShell. -
Enter the
hcl statuscommand and determine if the grace period has expired. - If required, re-authenticate the VM with KeyControl as described in Re-Authenticating a Standard VM or Re-Authenticating a VM with an Encrypted Root Device or Boot Disk.
-
After the VM has been authenticated, re-synchronize the device using the
hcl devicesync reasoncommand, wherereasonis a user-defined reason for the re-sync. This text string is logged in the KeyControl audit log and added to the alert message sent during sync processing.# hcl devicesync "restored hq-4-linux from snapshot"
-
Make sure the device list in configuration file on the VM is accurate using the
hcl updateconfigcommand. This updates the list in real time without requiring a VM reboot.# hcl updateconfig
