X-Git-Url: https://code.grnet.gr/git/ganeti-local/blobdiff_plain/579d4337d514981ce7ebc56892e8365fa54b4b5d..f69dab6d3a2b5eb3488bf3a8ae88ced091c0f221:/man/gnt-instance.sgml
diff --git a/man/gnt-instance.sgml b/man/gnt-instance.sgml
index 692ac83..8f03ff6 100644
--- a/man/gnt-instance.sgml
+++ b/man/gnt-instance.sgml
@@ -74,10 +74,11 @@
plainlocal_raid1remote_raid1
+ drbd
- -n node
+ -n node:secondary-nodeinstance
@@ -156,9 +157,22 @@
Disk devices will be md raid1 arrays with one
- component (so it's not actually raid1): a drbd device
- between the instance's primary node and the node given
- by the option .
+ component (so it's not actually raid1): a drbd
+ (0.7.x) device between the instance's primary node
+ and the node given by the second value of the
+ option.
+
+
+
+
+ drbd
+
+
+ Disk devices will be drbd (version 8.x) on top of
+ lvm volumes. They are equivalent in functionality to
+ remote_raid1, but are
+ recommended for new instances (if you have drbd 8.x
+ installed).
@@ -166,9 +180,8 @@
- The option is used with
- the remote raid disk template type and specifies the remote
- node.
+ The optional second value of the is used for
+ the remote raid template type and specifies the remote node.
@@ -177,18 +190,15 @@
option.
-
Example:
# gnt-instance add -t plain -s 30g -m 512 -o debian-etch \
-n node1.example.com instance1.example.com
-# gnt-instance add -t remote_raid1 --secondary-node node3.example.com \
- -s 30g -m 512 -o debian-etch \
- -n node1.example.com instance2.example.com
+# gnt-instance add -t remote_raid1 -s 30g -m 512 -o debian-etch \
+ -n node1.example.com:node2.example.com instance2.example.com
-
@@ -275,7 +285,7 @@
snodes
- comma-separated list of secondary-nodes for the
+ comma-separated list of secondary nodes for the
instance; usually this will be just one node
@@ -469,8 +479,8 @@
- Starts one or more instances, depending on the
- mode. The four available modes are:
+ Starts one or more instances, depending on the following
+ options. The four available modes are:
@@ -514,10 +524,9 @@
- Note that although you can pass more than one
- option, the last one wins, so in
- order to guarantee the desired result, don't pass more than
- one such option.
+ Note that although you can pass more than one selection
+ option, the last one wins, so in order to guarantee the
+ desired result, don't pass more than one such option.
@@ -534,8 +543,8 @@
# gnt-instance start instance1.example.com
# gnt-instance start --extra single test1.example.com
-# gnt-instance start --by-node node1.example.com node2.example.com
-# gnt-instance start --by-cluster
+# gnt-instance start --node node1.example.com node2.example.com
+# gnt-instance start --all
@@ -578,7 +587,7 @@
Example:
# gnt-instance shutdown instance1.example.com
-# gnt-instance shutdown --by-cluster
+# gnt-instance shutdown --all
@@ -633,7 +642,7 @@
startup command and they influence the
actual instances being rebooted.
-
+
Use the to keep
gnt-instance from asking for confirmation when more than one
@@ -813,7 +822,10 @@ node1.example.com:sdb:/dev/md1
disks before failing over the instance. If you are trying to
migrate instances off a dead node, this will fail. Use the
option for this
- purpose.
+ purpose. Note that this option can be dangerous as errors in
+ shutting down the instance will be ignored, resulting in
+ possibly having the instance running on two machines in
+ parallel (on disconnected DRBD drives).