XenServerSnapshotBlueprint
Introduction
In order for OpenStack to provide comparable functionality to the current CloudServers implementation, we will need to implement live-snapshotting of the VM's disks. In particular, we will need to support two types of snapshotting:
- On demand snapshots (these are snapshots initiated by the user)
- Scheduled snapshots (these are snapshots automatically created by the system at a particular time determined by the user)
Components
These are the components that will need to be involved to implement this functionality.
XenServer Plugin glance: This is a XenServer Plugin (similar to the current objectstore plugin that knows how to talk take an image stored in glance and restore it, and knows how to create a snapshot from a running VM and store it in glance.
Nova virt/xenapi.py The XenAPI adapter will need to be modified to know whether it's using new-style glance or the old-style S3-like object store. For the time being, glance implies raw-disk-images, though in the future that may not necessarily be the case.