Skip to content

Commit d9afcc7

Browse files
authored
Storage-based VM snapshots on KVM (#153)
* [WIP] Storage-based VM snapshots on KVM Documentation fo pull request - apache/cloudstack#3724 * Removed information for QCOW2 support * Fix reference * Fix section
1 parent 91e934c commit d9afcc7

File tree

1 file changed

+25
-1
lines changed

1 file changed

+25
-1
lines changed

source/adminguide/virtual_machines.rst

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,14 +814,37 @@ like many other resources in CloudStack.
814814

815815
KVM supports VM snapshots when using NFS shared storage. If raw block storage
816816
is used (i.e. Ceph), then VM snapshots are not possible, since there is no possibility
817-
to write RAM memory content anywhere.
817+
to write RAM memory content anywhere. In such cases you can use as an alternative
818+
`Storage-based VM snapshots on KVM`_
819+
818820

819821
If you need more information about VM snapshots on VMware, check out the
820822
VMware documentation and the VMware Knowledge Base, especially
821823
`Understanding virtual machine snapshots
822824
<http://kb.vmware.com/selfservice/microsites/search.do?cmd=displayKC&externalId=1015180>`_.
823825

824826

827+
.. _`Storage-based VM snapshots on KVM`:
828+
829+
Storage-based VM snapshots on KVM
830+
---------------------------------
831+
832+
.. note::
833+
For now this functionality is limited for NFS and Local storage.
834+
835+
CloudStack introduces a new Storage-based VM snapshots on KVM feature that provides
836+
crash-consistent snapshots of all disks attached to the VM. It employs the underlying storage
837+
providers’ capability to create/revert/delete disk snapshots. Consistency is obtained by freezing
838+
the virtual machine before the snapshotting. Memory snapshots are not supported.
839+
840+
.. note::
841+
``freeze`` and ``thaw`` of virtual machine is maintained by the guest agent.
842+
``qemu-guest-agent`` has to be installed in the VM.
843+
844+
When the snapshotting is complete, the virtual machine is thawed.
845+
846+
You can use this functionality on virtual machines with raw block storages (E.g. Ceph/SolidFire/Linstor).
847+
825848
Limitations on VM Snapshots
826849
---------------------------
827850

@@ -857,6 +880,7 @@ Configuration Description Type
857880
====================== ========================
858881
vmsnapshots.max The maximum number of VM snapshots that can be saved for any given virtual machine in the cloud. The total possible number of VM snapshots in the cloud is (number of VMs) \* vmsnapshots.max. If the number of snapshots for any VM ever hits the maximum, the older ones are removed by the snapshot expunge job
859882
vmsnapshot.create.wait Number of seconds to wait for a snapshot job to succeed before declaring failure and issuing an error.
883+
kvm.vmstoragesnapshot.enabled For live snapshot of virtual machine instance on KVM hypervisor without memory. Requieres qemu version 1.6+ (on NFS or Local file system) and qemu-guest-agent installed on guest VM
860884
====================== ========================
861885

862886

0 commit comments

Comments
 (0)