How do I back up the CLM deployer host?
Purpose
Perform the following steps to back up the CLM deployer host in a CLM cluster. A CLM deployer host backup is crucial for the recovery of the CLM deployer host in the event of a failure.
Note: The steps describe how to back up a CLM 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
1 |
Log in as the root user on the station that hosts the CLM deployer host VM. |
2 |
Open a console window. |
3 |
Enter the following to stop the VM: # virsh destroy VM ↵ where VM is the VM name |
4 |
Enter the following to convert the CLM 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 |
5 |
Enter the following to start the VM: # virsh start VM ↵ where VM is the VM name The VM starts. |
6 |
Store the raw_backup_image.qcow2 file in a location separate from the CLM system and preferably in a remote facility. |
7 |
Close the open console windows. End of steps |