Improve description of migrate/failover post hooks env
authorLuca Bigliardi <shammash@google.com>
Tue, 29 Sep 2009 17:07:37 +0000 (18:07 +0100)
committerLuca Bigliardi <shammash@google.com>
Tue, 29 Sep 2009 17:25:52 +0000 (18:25 +0100)
Signed-off-by: Luca Bigliardi <shammash@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>

doc/hooks.rst

index 864506b..4b46009 100644 (file)
@@ -255,7 +255,9 @@ Modifies the instance parameters.
 OP_INSTANCE_FAILOVER
 ++++++++++++++++++++
 
-Failovers an instance.
+Failovers an instance. In the post phase INSTANCE_PRIMARY and
+INSTANCE_SECONDARIES refer to the nodes that were repectively primary
+and secondary before failover.
 
 :directory: instance-failover
 :env. vars: IGNORE_CONSISTENCY
@@ -265,7 +267,9 @@ Failovers an instance.
 OP_INSTANCE_MIGRATE
 ++++++++++++++++++++
 
-Migrates an instance.
+Migrates an instance. In the post phase INSTANCE_PRIMARY and
+INSTANCE_SECONDARIES refer to the nodes that were repectively primary
+and secondary before migration.
 
 :directory: instance-migrate
 :env. vars: MIGRATE_LIVE, MIGRATE_CLEANUP