Commit 6c6b7f8a authored by Michael Hanselmann's avatar Michael Hanselmann

Update hooks documentation

Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarLuca Bigliardi <shammash@google.com>
parent d6f5892b
......@@ -156,6 +156,16 @@ Relocate secondary instances from a 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
~~~~~~~~~~~~~~~~~~~
......@@ -217,7 +227,7 @@ OP_INSTANCE_SHUTDOWN
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
......@@ -257,7 +267,7 @@ OP_INSTANCE_MIGRATE
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
......@@ -303,6 +313,37 @@ Renames an instance.
: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
~~~~~~~~~~~~~~~~~~
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment