Working with snapshots and consistency groups
Snapshots and groups can be used to help prepare your environment for recovery. A snapshot allows for a complete copy of a volume at a point in time to be created. There are two types of groups that work in the same way: consistency groups and generic groups. However, consistency groups have been deprecated and support will be removed in a future release. Consistency groups and generic groups allow the volume driver to snapshot a group of volumes at one point in time. This allows you to produce a set of volumes with consistent data that could be used to restore the data in a virtual machine to a known point in time.
Users with the Administrator or Storage manager role can create snapshots and groups. Before creating a group, ensure that your environment is properly prepared:
- The volumes must all reside on the same backend storage controller. However, the volumes can be attached to different virtual machines.
- The volumes must be in Available or In-use state.
- The volume cannot be attached. If you want to add an attached volume to a group, you must detach it first.
- If the virtual machine that is using a volume has data cached in memory buffers, that data will not be included in the snapshot. Therefore, the application is required to flush data to disk before starting the snapshots to get a true record of the current state.
Follow these steps to create a consistency group and take a snapshot of it: