doc: add extra emphasis about not running repmgrd during switchover

One day this will no longer be an issue, until then let's hope the
fine documentation is read.
This commit is contained in:
Ian Barwick
2018-07-11 09:53:29 +09:00
parent ae60caacdd
commit c6b8d78bad
3 changed files with 18 additions and 6 deletions

View File

@@ -32,6 +32,7 @@
check the promotion every <varname>promote_check_interval</varname> seconds (default: 1 second). check the promotion every <varname>promote_check_interval</varname> seconds (default: 1 second).
Both values can be defined in <filename>repmgr.conf</filename>. Both values can be defined in <filename>repmgr.conf</filename>.
</para> </para>
</refsect1> </refsect1>
<refsect1> <refsect1>

View File

@@ -12,6 +12,7 @@
<refpurpose>promote a standby to primary and demote the existing primary to a standby</refpurpose> <refpurpose>promote a standby to primary and demote the existing primary to a standby</refpurpose>
</refnamediv> </refnamediv>
<refsect1> <refsect1>
<title>Description</title> <title>Description</title>
@@ -39,6 +40,14 @@
For more details on performing a switchover, including preparation and configuration, For more details on performing a switchover, including preparation and configuration,
see section <xref linkend="performing-switchover">. see section <xref linkend="performing-switchover">.
</para> </para>
<note>
<para>
<application>repmgrd</application> should not be active on any nodes while a switchover is being
executed. This restriction may be lifted in a later version.
</para>
</note>
</refsect1> </refsect1>
<refsect1> <refsect1>
@@ -173,8 +182,8 @@
</para> </para>
<important> <important>
<para> <para>
<application>repmgrd</application> should not be active on any nodes while a switchover is being <application>repmgrd</application> must be shut down on all nodes while a switchover is being
executed. This restriction may be lifted in a later version. executed. This restriction will be removed in a future &repmgr; version.
</para> </para>
</important> </important>
<para> <para>

View File

@@ -140,10 +140,12 @@
manually with <command>repmgr node check --archive-ready</command>. manually with <command>repmgr node check --archive-ready</command>.
</para> </para>
<para> <note>
Ensure that <application>repmgrd</application> is *not* running anywhere to prevent it unintentionally <para>
promoting a node. Ensure that <application>repmgrd</application> is *not* running anywhere to prevent it unintentionally
</para> promoting a node. This restriction will be removed in a future &repmgr; version.
</para>
</note>
<para> <para>
Finally, consider executing <command>repmgr standby switchover</command> with the Finally, consider executing <command>repmgr standby switchover</command> with the