How do I back up the NSP deployer host?

Purpose

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

Note: The steps describe how to back up an NSP deployer host 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
 

Log in as the root user on the station that hosts the NSP deployer host VM.


Open a console window.


Enter the following to stop the VM:

virsh destroy VM

where VM is the VM name


Enter the following to convert the NSP deployer host 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