Skip to content

Commit bf4e217

Browse files
author
Jessica Tomechak
committed
Docs. CLOUDSTACK-304. New section: snapshot-throttling.xml. In working-with-snapshots.xml: include the new section.
1 parent 7dbbdd5 commit bf4e217

2 files changed

Lines changed: 27 additions & 0 deletions

File tree

docs/en-US/snapshot-throttling.xml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version='1.0' encoding='utf-8' ?>
2+
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "file:///C:/Program%20Files%20(x86)/Publican/DocBook_DTD/docbookx.dtd" [
3+
<!ENTITY % BOOK_ENTITIES SYSTEM "cloudstack.ent">
4+
%BOOK_ENTITIES;
5+
]>
6+
<section id="snapshot-throttling">
7+
<title>Snapshot Job Throttling</title>
8+
<para>When a snapshot of a virtual machine is requested, the snapshot job runs on the same
9+
host where the VM is running or, in the case of a stopped VM, the host where it ran last. If
10+
many snapshots are requested for VMs on a single host, this can lead to problems with too
11+
many snapshot jobs overwhelming the resources of the host.</para>
12+
<para>To address this situation, the cloud's root administrator can throttle how many snapshot
13+
jobs are executed simultaneously on the hosts in the cloud by using the global configuration
14+
setting concurrent.snapshots.threshold.perhost. By using this setting, the administrator can
15+
better ensure that snapshot jobs do not time out and hypervisor hosts do not experience
16+
performance issues due to hosts being overloaded with too many snapshot requests.</para>
17+
<para>Set concurrent.snapshots.threshold.perhost to a value that represents a best guess about
18+
how many snapshot jobs the hypervisor hosts can execute at one time, given the current
19+
resources of the hosts and the number of VMs running on the hosts. If a given host has more
20+
snapshot requests, the additional requests are placed in a waiting queue. No new snapshot
21+
jobs will start until the number of currently executing snapshot jobs falls below the
22+
configured limit.</para>
23+
<para>The admin can also set job.expire.minutes to place a maximum on how long a snapshot
24+
request will wait in the queue. If this limit is reached, the snapshot request fails and
25+
returns an error message. </para>
26+
</section>

docs/en-US/working-with-snapshots.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,5 @@
2929
<para>Snapshots may be taken for volumes, including both root and data disks. The administrator places a limit on the number of stored snapshots per user. Users can create new volumes from the snapshot for recovery of particular files and they can create templates from snapshots to boot from a restored disk.</para>
3030
<para>Users can create snapshots manually or by setting up automatic recurring snapshot policies. Users can also create disk volumes from snapshots, which may be attached to a VM like any other disk volume. Snapshots of both root disks and data disks are supported. However, &PRODUCT; does not currently support booting a VM from a recovered root disk. A disk recovered from snapshot of a root disk is treated as a regular data disk; the data on recovered disk can be accessed by attaching the disk to a VM.</para>
3131
<para>A completed snapshot is copied from primary storage to secondary storage, where it is stored until deleted or purged by newer snapshot.</para>
32+
<xi:include href="snapshot-throttling.xml" xmlns:xi="http://www.w3.org/2001/XInclude" />
3233
</section>

0 commit comments

Comments
 (0)