From: Steve Singer Date: Thu, 27 Jun 2013 19:29:34 +0000 (-0400) Subject: documentation updates (FAILOVER) X-Git-Tag: REL_2_2_0_B5~30 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=74ec8406b74adb96d3f286b13702df876d8e2b6b;p=slony1-engine.git documentation updates (FAILOVER) --- diff --git a/doc/adminguide/failover.sgml b/doc/adminguide/failover.sgml index f40ef2e2..251679af 100644 --- a/doc/adminguide/failover.sgml +++ b/doc/adminguide/failover.sgml @@ -265,6 +265,23 @@ they wish to support. + +Multiple Node Failures + +If multiple nodes fail at the same time, maybe because an entire data-center has failed, +then all failed nodes should be passed to the failover command. If we consider a cluster where node 1 the origin of a set and provides a subscription to +node 2 and node 3 then node 2 provides a subscription to node 4, what should happen if both nodes 1 and 2 fail? +Slony can be told about the failed nodes with the following command + +FAILOVER (node=(id=1, backup node=3), node=(id=2, backup node=3)); + + +This command requires that a paths exist between node 3 and 4. It will then redirect node 4 to receive the subscription from node 3. + + + + + Automating <command> FAIL OVER </command> diff --git a/doc/adminguide/slonik_ref.sgml b/doc/adminguide/slonik_ref.sgml index 75d7937f..66b53e83 100644 --- a/doc/adminguide/slonik_ref.sgml +++ b/doc/adminguide/slonik_ref.sgml @@ -2683,6 +2683,12 @@ MOVE SET ( NODE=(ID=val,BACKUP NODE=val), NODE=(ID=val2, BACKUP NODE=val2) to FAILOVER. + + + Nodes that are forwarding providers can also be passed to the failover command as a failed + node. The failover process will redirect the subscriptions from these nodes to the backup node. + + ID = ival ID of the failed node diff --git a/doc/adminguide/slony.sgml b/doc/adminguide/slony.sgml index b57bc0cc..46556df3 100644 --- a/doc/adminguide/slony.sgml +++ b/doc/adminguide/slony.sgml @@ -25,9 +25,9 @@ "> "> "> -"> +"> "> -"> +"> "> "> ">