From 1e2c9fd3acae124864e91572992d63c5ab99dd6f Mon Sep 17 00:00:00 2001
From: Guido Trotter <ultrotter@google.com>
Date: Mon, 12 Oct 2009 19:05:48 +0100
Subject: [PATCH] Update manpages for --shutdown-timeout

Signed-off-by: Guido Trotter <ultrotter@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
---
 man/gnt-backup.sgml   |  9 +++++++++
 man/gnt-instance.sgml | 33 +++++++++++++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/man/gnt-backup.sgml b/man/gnt-backup.sgml
index 2c8eba28d..d9c1fe74b 100644
--- a/man/gnt-backup.sgml
+++ b/man/gnt-backup.sgml
@@ -63,8 +63,10 @@
       <cmdsynopsis>
         <command>export</command>
         <arg choice="req">-n <replaceable>node</replaceable></arg>
+        <arg>--shutdown-timeout=<replaceable>N</replaceable></arg>
         <arg>--noshutdown</arg>
         <arg choice="req"><replaceable>instance</replaceable></arg>
+
       </cmdsynopsis>
 
       <para>
@@ -74,6 +76,13 @@
         directory on the target node.
       </para>
 
+      <para>
+        The <option>--shutdown-timeout</option> is used to specify how
+        much time to wait before forcing the shutdown (xm destroy in xen,
+        killing the kvm process, for kvm). By default two minutes are
+        given to each instance to stop.
+      </para>
+
       <para>
         The <option>--noshutdown</option> option will create a
         snapshot disk of the instance without shutting it down first.
diff --git a/man/gnt-instance.sgml b/man/gnt-instance.sgml
index 908c25ec3..e5946ca9f 100644
--- a/man/gnt-instance.sgml
+++ b/man/gnt-instance.sgml
@@ -785,6 +785,7 @@ instance5: 11225
         <cmdsynopsis>
           <command>remove</command>
           <arg>--ignore-failures</arg>
+          <arg>--shutdown-timeout=<replaceable>N</replaceable></arg>
           <arg>--submit</arg>
           <arg choice="req"><replaceable>instance</replaceable></arg>
         </cmdsynopsis>
@@ -806,6 +807,13 @@ instance5: 11225
           stop at the first error.
         </para>
 
+        <para>
+          The <option>--shutdown-timeout</option> is used to specify how
+          much time to wait before forcing the shutdown (xm destroy in xen,
+          killing the kvm process, for kvm). By default two minutes are
+          given to each instance to stop.
+        </para>
+
         <para>
           The <option>--submit</option> option is used to send the job to
           the master daemon but not wait for its completion. The job
@@ -1593,6 +1601,8 @@ instance5: 11225
           <sbr>
           <arg>--ignore-secondaries</arg>
           <sbr>
+          <arg>--shutdown-timeout=<replaceable>N</replaceable></arg>
+          <sbr>
           <arg>--force-multiple</arg>
           <sbr>
           <group choice="opt">
@@ -1633,6 +1643,13 @@ instance5: 11225
           actual instances being rebooted.
         </para>
 
+        <para>
+          The <option>--shutdown-timeout</option> is used to specify how
+          much time to wait before forcing the shutdown (xm destroy in xen,
+          killing the kvm process, for kvm). By default two minutes are
+          given to each instance to stop.
+        </para>
+
         <para>
           The <option>--force-multiple</option> will skip the
           interactive confirmation in the case the more than one
@@ -1978,6 +1995,7 @@ node1.example.com:disk/1:/dev/drbd1
           <command>failover</command>
           <arg>-f</arg>
           <arg>--ignore-consistency</arg>
+          <arg>--shutdown-timeout=<replaceable>N</replaceable></arg>
           <arg>--submit</arg>
           <arg choice="req"><replaceable>instance</replaceable></arg>
         </cmdsynopsis>
@@ -1999,6 +2017,13 @@ node1.example.com:disk/1:/dev/drbd1
           parallel (on disconnected DRBD drives).
         </para>
 
+        <para>
+          The <option>--shutdown-timeout</option> is used to specify how
+          much time to wait before forcing the shutdown (xm destroy in xen,
+          killing the kvm process, for kvm). By default two minutes are
+          given to each instance to stop.
+        </para>
+
         <para>
           The <option>--submit</option> option is used to send the job to
           the master daemon but not wait for its completion. The job
@@ -2099,6 +2124,7 @@ y/[n]/?: y
           <command>move</command>
           <arg>-f</arg>
           <arg>-n <replaceable>node</replaceable></arg>
+          <arg>--shutdown-timeout=<replaceable>N</replaceable></arg>
           <arg>--submit</arg>
           <arg choice="req"><replaceable>instance</replaceable></arg>
         </cmdsynopsis>
@@ -2115,6 +2141,13 @@ y/[n]/?: y
           replace-disks for a drbd instance).
         </para>
 
+        <para>
+          The <option>--shutdown-timeout</option> is used to specify how
+          much time to wait before forcing the shutdown (xm destroy in xen,
+          killing the kvm process, for kvm). By default two minutes are
+          given to each instance to stop.
+        </para>
+
         <para>
           The <option>--submit</option> option is used to send the job to
           the master daemon but not wait for its completion. The job
-- 
GitLab