doc: document "repmgr node service"

This was originally intended for internal use, but it's mentioned
several times in the documentation and is useful for diagnostic
purposes.
This commit is contained in:
Ian Barwick
2018-11-28 12:57:16 +09:00
parent d4216d053e
commit ae3f302dc2
7 changed files with 166 additions and 13 deletions

View File

@@ -84,11 +84,12 @@
<para>
Double-check which commands will be used to stop/start/restart the current
primary; on the current primary execute:
primary; this can be done by e.g. executing <command><link linkend="repmgr-node-service">repmgr node service</link></command>
on the current primary:
<programlisting>
repmgr -f /etc/repmgr.conf node service --list --action=stop
repmgr -f /etc/repmgr.conf node service --list --action=start
repmgr -f /etc/repmgr.conf node service --list --action=restart</programlisting>
repmgr -f /etc/repmgr.conf node service --list-actions --action=stop
repmgr -f /etc/repmgr.conf node service --list-actions --action=start
repmgr -f /etc/repmgr.conf node service --list-actions --action=restart</programlisting>
</para>