HP Matrix 7.2 KVM Private Cloud Backup and Restore

Table Of Contents
Backup procedure for Images repository
The Images repository can be backed up online and requires no services to be stopped. However, it is strongly
recommended that you back up the Images repository when no upload or add image operations are in progress.
This will avoid partial backups of images.
Warning
If Images repository backup is taken while an image is being added and a restore
is done from that backup, that partial image can incorrectly have a status of Active.
This would cause an inconsistent image alert for this image on the Activity page of
the Matrix KVM Admin Console. The complete image needs to be re-uploaded after
restore and the inconsistent image can be removed from the Images repository.
Steps
1. Ensure that no image operations are in progress in the KVM Private Cloud.
2. Using the storage management tool of your choice, back up the Images repository disk. For example, in
testing this whitepaper, the 3PAR storage management tool was used to perform a virtual copy for taking
backups.
Restore procedure for Images repository
Restoring the Images repository requires the HP Matrix KVM Admin Console appliance to be shut down. It is not a
supported configuration to restore the image repository while the appliance is running.
Restore steps
1. Ensure that no image operations and provisioning tasks are in progress in the KVM Private Cloud.
2. Shut down the KVM Private Cloud using the VMM commands on the KVM host.
virsh shutdown <domain-name>
However, if the KVM Private Cloud appliance is running in a clustered environment, it needs to be stopped
using the following command on the KVM management hosts. First, run it on the standby node and then on
the active node:
service rgmanager stop
3. Unexport the Images repository disk to the KVM management host.
4. Restore the Images repository disk using the storage management tool of your choice from backup. For
example, to test this whitepaper, the 3PAR storage management tool, “Promote the virtual copy” feature is
used to restore the contents from a backed up virtual copy.
If the entire Image repository physical disk was damaged and if the Matrix KVM Admin Console appliance
is in a clustered environment, then follow the steps in the “Images repository disk restore” section instead of
step 5, before replacing the repository contents.
5. Ensure the Images repository disk is visible and accessible by the KVM management host.
Export the restored disk to the KVM management host.
Rescan the disk in the KVM management host.
Modify the /etc/multipath.conf configuration to have the correct WWID for the Images
repository disk, if the WWID has changed due to the restore operation.
Restart the multipathd, if /etc/multipath.conf was modified. Use the following command:
service multipathd restart
Check if the multipath is correct by using the command:
multipath -ll
6. In a clustered environment, use the rgmanager to start the KVM Private Cloud appliance using the following
command on both of the KVM management hosts in the cluster:
service rgmanager start
If it is a standalone host, then start the KVM Private Cloud appliance using the following command:
virsh start ISC-appliance-domain
11