HP Cloud OS for Moonshot is an enterprise ready product used to manage a Moonshot Chassis, discover
Moonshot Servers from the managed Moonshot Chassis, and provision the given workload based on Moonshot
Servers capabilities such as static web, online gaming, and such. It also enables the Cloud Administrator to set
up multiple project sharing across the discovered Moonshot Servers.
This document describes how to backup and restore HP Cloud OS for Moonshot, specifically the steps for
backing up and recovering the components of HP Cloud OS for Moonshot Management Host:
Administration Node
The HP Cloud OS for Moonshot Administration Node (Admin Node) hosts the Operational Dashboard
that deploys private Cloud Infrastructure environments by network booting the managed virtual servers,
which are typically Controller Node and Baremetal Hosts.
Controller Node
While each service can be individually deployed, HP Cloud OS for Moonshot groups these services into
distinct sets for ease of architectural description:
Cloud Controller - contains those services that are considered single services for a cloud
environment, such as Keystone, Glance, Eden, Nova, Eve, and Focus. Also defines the boundaries
of the cloud environment from an identity standpoint.
Network Controller - is a single service in a cloud and co-exists with cloud controller services.
Compute Region Controller - is a pool of compute resources that can be consumed through a
service API by consumers of the cloud, such as Nova. This is responsible for scheduling the launch
of instances across Baremetal hosts. The scheduling is based on varied flavors of instances and
available resources on the Baremetal hosts.
Baremetal Host
The Baremetal Host hosts the cloud instances using the Baremetal driver for OpenStack Nova compute
service. Within the OpenStack framework, the Baremetal driver has the same role as the drivers for other
hypervisors (libvirt, xen, etc.), and yet it is presently unique because the hardware is not virtualized; there
is no hypervisor between the tenants and the physical hardware which includes Moonshot cartridges.
Backing up and restoring the HP Cloud OS for Moonshot Management Host
We recommend designing and implementing a virtual machine-based backup policy, which enables IT
Administrators or Backup Administrators to design a simple backup policy in comparison to using file-based
solutions.
If you choose to design and implement a file-based solution, you will encounter some technical difficulties:
Each node has different variable data, such as
Configuration files
Database
Log files
The Controller node and Baremetal host require a synchronized backup to maintain their states.
The Admin node can be occasionally backed up.
The Controller node and Baremetal host require backups on a regular basis.
Backup of Controller Node and Baremetal Host must occur at the
same time to preserve the system state.
The complexity involved in performing file-based backup for each node.
Restoring the environment involves additional, manual steps to recover the Management Host.
The MAC address of the systems must be saved so that the restoration occurs seamlessly during a filebased restore. This is required in case you need to recreate the environment because it was lost due to
corruption or other reasons.
Note: We recommend you use any enterprise backup/restore solution that supports hot backup. We do not
recommend that you implement a cold backup policy because it involves downtime of the private cloud
environment.
Recommended backup schedule
The following table shows our backup frequency recommendations for HP Cloud OS for Moonshot
Management Host.
ComponentBackup scheduleNotes
Admin NodeMonthlyPerform a full backup operation after a successful cloud deployment.
Open the HP Cloud OS for Moonshot Administration Dashboard in a browser.
4.
Navigate to Cloud -> Manage Nodes. Notice that the state of the nodes is set to OFF.
5.
Power on the Controller node.
6.
Wait until the state of the Controller node changes to Deployed, then power on the Baremetal host.
7.
Wait until the state of the Baremetal host changes to Deployed.
Your HP Cloud OS for Moonshot Management host is now up and running.
Example tools for backup and restore
There are many enterprise solutions that perform virtual machine based backup and restore operations. You can
implement any such solution, but remember our backup and restore strategies.
In this section, we have example backup/restore steps using:
XSIBackup, when the guest system was running a VMware ESXi.
VZdump/VZrestore, when the guest system was running a Ubuntu 12.04 LTS system.
XSIBackup tool
XSIBackup is an opensource application that uses VMWare's ESXi built-in command line options to create full
backup solutions by cloning the system. For detailed information about this tool, see the XSIBackup
documentation
Use the following basic steps to backup an HP Cloud OS for Moonshot Management Host running on
VMware's hypervisor (ESXi):
1.
Add another datastore, named bkup, to the guest that is hosting HP Cloud OS for Moonshot.
2.
Enable an SSH login to the hypervisor.
3.
Login to the hypervisor and copy the XSIBackup script file to the newly added datastore.
backup-point
Indicates the datastore to backup the files
backup-type
Custom is used here to enable a custom selection of VM
backup-vms
Provides the virtual names that need to be backed up
Use the following steps to restore your Management host in the event of node failure:
1.
Follow the recommended power off sequence.
2.
Login to the vSphere client.
3.
Delete the virtual machine that is corrupt.
4.
Copy the virtual machine from bkp datastore to the running datastore.
5.
Browse the copied datastore and navigate to the newly copied VM folder.
6.
Open the folder, and then right-click on <vm_name>.vmtx file and select Add to Inventory.
7.
Follow the recommended power on sequence.
VZdump tool
The VZdump utility is a useful tool for performing backup/restore operations on virtual machines hosted on
KVM hypervisors.
As a pre-requisite, you need to determine the IDs of the virtual machines of the HP Cloud OS for Moonshot
Management host. You can do this with the virsh list-all command: