...
Currently, Volume Snapshots in Cloudstack take a considerable amount of time to complete thereby blocking other operations on the VM. This is because, the volume snapshot operation involves 2 steps - creating a snapshot of the volume on primary storage and then backing it up on secondary storage. This feature will separate the creation of the snapshot on primary and its copying onto secondary.
...
Author | Description | Date |
---|---|---|
Harika Punna | First Revision | May 2nd May, 2017 |
...
...
A separate thread pool will be maintained for backup task.
Configuration parameters:
Param Name | Default Value |
---|---|
backup.max.attempts | 3 |
backup.retry.interval | 300 seconds |
...
An additional param will be added to CreateSnapshotCmd, on whose value the decision of, if to separate the snapshot and copy operations or if to continue with the existing one is decided.
API | ParametersParameter |
---|---|
createSnapshot | asyncBackup(optional)
|
...
A checkbox will be added to the "Create Volume Snapshot" dialog box, which when checked, snapshot and copy operations will be separated and if left unchecked the existing flow continues.
Hypervisors supported
Xenserver XenServer, KVM
Parallel operations that can happen during backing up of snapshot
...