Skip to content
Snippets Groups Projects
Commit 6c6b7f8a authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Update hooks documentation


Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
Reviewed-by: default avatarLuca Bigliardi <shammash@google.com>
parent d6f5892b
No related branches found
No related tags found
No related merge requests found
...@@ -156,6 +156,16 @@ Relocate secondary instances from a node. ...@@ -156,6 +156,16 @@ Relocate secondary instances from a node.
:pre-execution: master node, target node :pre-execution: master node, target node
:post-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 ...@@ -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 :env. vars: INSTANCE_NAME, INSTANCE_PRIMARY, INSTANCE_SECONDARIES
:pre-execution: master node, primary and secondary nodes :pre-execution: master node, primary and secondary nodes
:post-execution: master node, primary and secondary nodes :post-execution: master node, primary and secondary nodes
...@@ -257,7 +267,7 @@ OP_INSTANCE_MIGRATE ...@@ -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 :env. vars: INSTANCE_MIGRATE_LIVE, INSTANCE_MIGRATE_CLEANUP
:pre-execution: master node, secondary node :pre-execution: master node, secondary node
:post-execution: master node, secondary node :post-execution: master node, secondary node
...@@ -303,6 +313,37 @@ Renames an instance. ...@@ -303,6 +313,37 @@ Renames an instance.
:pre-execution: master node, primary and secondary nodes :pre-execution: master node, primary and secondary nodes
:post-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
~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment