mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-27 08:56:29 +00:00
Update README
This commit is contained in:
22
README.md
22
README.md
@@ -75,9 +75,28 @@ The following commands are available:
|
|||||||
|
|
||||||
* `node status`
|
* `node status`
|
||||||
|
|
||||||
|
Displays an overview of a node's basic information and replication
|
||||||
|
status. This command must be run on the local node.
|
||||||
|
|
||||||
|
Sample output (execute `repmgr node status`):
|
||||||
|
|
||||||
|
Node "node1":
|
||||||
|
PostgreSQL version: 10beta1
|
||||||
|
Total data size: 30 MB
|
||||||
|
Conninfo: host=localhost dbname=repmgr user=repmgr connect_timeout=2
|
||||||
|
Role: primary
|
||||||
|
WAL archiving: off
|
||||||
|
Archive command: (none)
|
||||||
|
Replication connections: 2 (of maximal 10)
|
||||||
|
Replication slots: 0 (of maximal 10)
|
||||||
|
Replication lag: n/a
|
||||||
|
|
||||||
|
See `repmgr node check` to diagnose issues.
|
||||||
|
|
||||||
* `node check`
|
* `node check`
|
||||||
|
|
||||||
Performs some health checks on a node from a replication perspective.
|
Performs some health checks on a node from a replication perspective.
|
||||||
|
This command must be run on the local node.
|
||||||
|
|
||||||
Sample output (execute `repmgr node check`):
|
Sample output (execute `repmgr node check`):
|
||||||
|
|
||||||
@@ -144,7 +163,8 @@ The following commands are available:
|
|||||||
|
|
||||||
Note that the availability is tested by connecting from the node where
|
Note that the availability is tested by connecting from the node where
|
||||||
`repmgr cluster show` is executed, and does not necessarily imply the node
|
`repmgr cluster show` is executed, and does not necessarily imply the node
|
||||||
is down.
|
is down. See `repmgr cluster matrix` and `repmgr cluster crosscheck` to get
|
||||||
|
a better overviews of connections between nodes.
|
||||||
|
|
||||||
|
|
||||||
* `cluster matrix` and `cluster crosscheck`
|
* `cluster matrix` and `cluster crosscheck`
|
||||||
|
|||||||
Reference in New Issue
Block a user