diff --git a/doc/command-reference.sgml b/doc/command-reference.sgml index a7814160..a905ae5c 100644 --- a/doc/command-reference.sgml +++ b/doc/command-reference.sgml @@ -149,7 +149,7 @@ - + repmgr standby unregister repmgr standby unregister @@ -235,6 +235,35 @@ + + + + repmgr standby switchover + + repmgr standby switchover + + Promotes a standby to primary and demotes the existing primary to a standby. + This command must be run on the standby to be promoted, and requires a + passwordless SSH connection to the current primary. + + + If other standbys are connected to the demotion candidate, &repmgr; can instruct + these to follow the new primary if the option --siblings-follow + is specified. + + + Execute with the --dry-run option to test the switchover as far as + possible without actually changing the status of either node. + + + repmgrd should not be active on any nodes while a switchover is being + executed. This restriction may be lifted in a later version. + + + For more details see the section . + + + repmgr cluster show diff --git a/doc/filelist.sgml b/doc/filelist.sgml index 5ab55cd3..13e0c8bf 100644 --- a/doc/filelist.sgml +++ b/doc/filelist.sgml @@ -42,6 +42,7 @@ + diff --git a/doc/repmgr.sgml b/doc/repmgr.sgml index dd9aee03..02f1a9af 100644 --- a/doc/repmgr.sgml +++ b/doc/repmgr.sgml @@ -71,6 +71,7 @@ &cloning-standbys; &promoting-standby; &follow-new-primary; + &switchover; &command-reference;