Skip to content

Commit c9aae60

Browse files
committed
vm pause documentation
1 parent f47826c commit c9aae60

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

source/adminguide/virtual_machines.rst

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1265,6 +1265,8 @@ When the snapshotting is complete, the Instance is thawed.
12651265

12661266
You can use this functionality on Instances with raw block storages (E.g. Ceph/SolidFire/Linstor).
12671267

1268+
.. _Disk-only-File-based-Storage-Instance-Snapshots-on-KVM:
1269+
12681270
Disk-only File-based Storage Instance Snapshot on KVM
12691271
-----------------------------------------------------
12701272

@@ -1298,6 +1300,25 @@ Limitations on Instance Snapshots
12981300
managed by CloudStack. Any Snapshots that you make directly on the
12991301
hypervisor will not be tracked in CloudStack.
13001302

1303+
Pause During Live Instance Snapshots on KVM
1304+
-------------------------------------------
1305+
1306+
When creating **Instance Snapshots with Memory**, CloudStack uses Libvirt’s
1307+
*domain snapshot* API to create an Intlrnal Snapshot that includes Memory.
1308+
The guest’s memory state is written directly into the root volume’s QCOW2 file.
1309+
This causes the instance to pause for the duration of the memory dump. The pause
1310+
time is typically much longer than with VMware snapshots, but this is a limitation
1311+
with Internal Snapshots in Libvirt.
1312+
1313+
**Instance Snapshots without Memory** has seen significant improvements since Cloudstack 4.21 with the
1314+
:ref:`Disk-only-File-based-Storage-Instance-Snapshots-on-KVM` feature for NFS and local storage.
1315+
Pre 4.21, the Instance would be frozen for the entire duration of the snapshot create operation.
1316+
Since 4.21, the Instance is only frozen during the checkpointing operation, which is significantly less.
1317+
1318+
Users looking for the Instance Snapshot feature in KVM are recommended to use the
1319+
:ref:`Disk-only-File-based-Storage-Instance-Snapshots-on-KVM` feature, if the pause duration is a concern.
1320+
App consistent snapshots can be created by using the ``quiescevm`` parameter with pre and post-freeze hooks.
1321+
The Instance should have Qemu Guest Agent installed for this to work.
13011322

13021323
Configuring Instance Snapshots
13031324
------------------------------

0 commit comments

Comments
 (0)