mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-26 00:26:30 +00:00
Docs: update "repmgr cluster show"
This commit is contained in:
@@ -37,6 +37,8 @@
|
|||||||
If the node has an unexpected role not reflected in the &repmgr; metadata, e.g. a node was manually
|
If the node has an unexpected role not reflected in the &repmgr; metadata, e.g. a node was manually
|
||||||
promoted to primary, this will be highlighted with an exclamation mark, e.g.:
|
promoted to primary, this will be highlighted with an exclamation mark, e.g.:
|
||||||
<programlisting>
|
<programlisting>
|
||||||
|
$ repmgr -f /etc/repmgr.conf cluster show
|
||||||
|
|
||||||
ID | Name | Role | Status | Upstream | Location | Connection string
|
ID | Name | Role | Status | Upstream | Location | Connection string
|
||||||
----+-------+---------+----------------------+----------+----------+-----------------------------------------
|
----+-------+---------+----------------------+----------+----------+-----------------------------------------
|
||||||
1 | node1 | primary | ? unreachable | | default | host=db_node1 dbname=repmgr user=repmgr
|
1 | node1 | primary | ? unreachable | | default | host=db_node1 dbname=repmgr user=repmgr
|
||||||
|
|||||||
@@ -925,7 +925,7 @@ main(int argc, char **argv)
|
|||||||
runtime_options.terse,
|
runtime_options.terse,
|
||||||
&config_file_options,
|
&config_file_options,
|
||||||
argv[0]);
|
argv[0]);
|
||||||
exit(SUCCESS);
|
|
||||||
check_cli_parameters(action);
|
check_cli_parameters(action);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user