X-Git-Url: https://code.grnet.gr/git/ganeti-local/blobdiff_plain/d3b4cf9f4a83e9914c8235d6e3c4c819e929c2a9..1b54fc6c2fd92b614c029cc5312d02f9f1526253:/man/gnt-node.sgml?ds=sidebyside
diff --git a/man/gnt-node.sgml b/man/gnt-node.sgml
index 62355f0..f00440d 100644
--- a/man/gnt-node.sgml
+++ b/man/gnt-node.sgml
@@ -503,6 +503,51 @@
+ MODIFY
+
+ modify
+ -f
+ --submit
+ --master-candidate=
+ --drained=
+ --offline=
+ node
+
+
+
+ This command changes the role of the node. Each options takes
+ either a literal yes or
+ no, and only one option should be given as
+ yes. The meaning of the roles are described
+ in the manpage
+ ganeti7
+ .
+
+
+
+ In case a node is demoted from the master candidate role, but
+ there are not enough new nodes for this case, the operation
+ will be refused. To override this check, pass the
+ option.
+
+
+
+ Example (setting a node offline, which will demote it from
+ master candidate role if is in that role):
+
+# gnt-node modify --offline=yes node1.example.com
+
+
+
+ Example (setting the node back to online and master candidate):
+
+# gnt-node modify --offline=no --master-candidate=yes node1.example.com
+
+
+
+
+
+ REMOVE
@@ -639,6 +684,36 @@ node1.example.com /dev/hdc1 xenvg instance1.example.com-sda_11001.data 256 inst
+
+ POWERCYCLE
+
+
+ powercycle
+
+
+ node
+
+
+
+ This commands (tries to) forcefully reboot a node. It is a
+ command that can be used if the node environemnt is broken,
+ such that the admin can no longer login over ssh, but the
+ ganeti node daemon is still working.
+
+
+
+ Note that this command is not guaranteed to work; it depends
+ on the hypervisor how effective is the reboot attempt. For
+ Linux, this command require that the kernel option
+ CONFIG_MAGIC_SYSRQ is enabled.
+
+
+
+ The option can be used to skip
+ confirmation, while the option is
+ needed if the target node is the master node.
+
+
&footer;