Update hooks documentation
authorMichael Hanselmann <hansmi@google.com>
Wed, 2 Sep 2009 15:45:39 +0000 (17:45 +0200)
committerMichael Hanselmann <hansmi@google.com>
Thu, 3 Sep 2009 15:44:53 +0000 (17:44 +0200)
Signed-off-by: Michael Hanselmann <hansmi@google.com>
Reviewed-by: Luca Bigliardi <shammash@google.com>

doc/hooks.rst

index 50e3a97..7407499 100644 (file)
@@ -156,6 +156,16 @@ Relocate secondary instances from a node.
 :pre-execution: master node, target node
 :post-execution: master node, target node
 
 :pre-execution: master node, target node
 :post-execution: master node, target node
 
+OP_NODE_MIGRATE
+++++++++++++++++
+
+Relocate secondary instances from a node.
+
+:directory: node-migrate
+:env. vars: NODE_NAME
+:pre-execution: master node
+:post-execution: master node
+
 
 Instance operations
 ~~~~~~~~~~~~~~~~~~~
 
 Instance operations
 ~~~~~~~~~~~~~~~~~~~
@@ -217,7 +227,7 @@ OP_INSTANCE_SHUTDOWN
 
 Stops an instance.
 
 
 Stops an instance.
 
-:directory: instance-shutdown
+:directory: instance-stop
 :env. vars: INSTANCE_NAME, INSTANCE_PRIMARY, INSTANCE_SECONDARIES
 :pre-execution: master node, primary and secondary nodes
 :post-execution: master node, primary and secondary nodes
 :env. vars: INSTANCE_NAME, INSTANCE_PRIMARY, INSTANCE_SECONDARIES
 :pre-execution: master node, primary and secondary nodes
 :post-execution: master node, primary and secondary nodes
@@ -257,7 +267,7 @@ OP_INSTANCE_MIGRATE
 
 Migrates an instance.
 
 
 Migrates an instance.
 
-:directory: instance-failover
+:directory: instance-migrate
 :env. vars: INSTANCE_MIGRATE_LIVE, INSTANCE_MIGRATE_CLEANUP
 :pre-execution: master node, secondary node
 :post-execution: master node, secondary node
 :env. vars: INSTANCE_MIGRATE_LIVE, INSTANCE_MIGRATE_CLEANUP
 :pre-execution: master node, secondary node
 :post-execution: master node, secondary node
@@ -303,6 +313,37 @@ Renames an instance.
 :pre-execution: master node, primary and secondary nodes
 :post-execution: master node, primary and secondary nodes
 
 :pre-execution: master node, primary and secondary nodes
 :post-execution: master node, primary and secondary nodes
 
+OP_INSTANCE_MOVE
+++++++++++++++++
+
+Move an instance by data-copying.
+
+:directory: instance-move
+:env. vars: TARGET_NODE
+:pre-execution: master node, primary and target nodes
+:post-execution: master node, primary and target nodes
+
+OP_INSTANCE_RECREATE_DISKS
+++++++++++++++++++++++++++
+
+Recreate an instance's missing disks.
+
+:directory: instance-recreate-disks
+:env. vars: only the standard instance vars
+:pre-execution: master node, primary and secondary nodes
+:post-execution: master node, primary and secondary nodes
+
+OP_INSTANCE_REPLACE_DISKS
++++++++++++++++++++++++++
+
+Replace the disks of an instance.
+
+:directory: mirrors-replace
+:env. vars: MODE, NEW_SECONDARY, OLD_SECONDARY
+:pre-execution: master node, primary and new secondary nodes
+:post-execution: master node, primary and new secondary nodes
+
+
 Cluster operations
 ~~~~~~~~~~~~~~~~~~
 
 Cluster operations
 ~~~~~~~~~~~~~~~~~~