How do I back up the NSP deployer VM?

Purpose

Perform the following steps to back up the NSP deployer VM in an NSP cluster. An NSP deployer VM backup is crucial for the recovery of the NSP deployer VM in the event of a failure.

Note: The steps describe how to back up an NSP deployer VM in a KVM virtualization environment; for OpenStack or VMware ESXi, see the RHEL or VMware documentation for information about how to restore a VM.

Steps
 

Open a terminal session to the NSP deployer VM.


Log in as the root or NSP admin user.


Enter the following to stop the VM:

virsh destroy VM

where VM is the VM name


Enter the following to convert the NSP deployer VM image in qcow2 format to conserve disk space:

qemu-img convert -f raw -O qcow2 sparse_current_image raw_backup_image.qcow2 ↵

where

sparse_current_image is the name of the current VM image in sparse format

raw_backup_image is the name to assign to the backup VM image in raw format


Enter the following to start the VM:

virsh start VM

where VM is the VM name

The VM starts.


Store the raw_backup_image.qcow2 file in a location separate from the NSP system and preferably in a remote facility.


Close the open console windows.

End of steps