diff --git a/doc/command-reference.sgml b/doc/command-reference.sgml index a905ae5c..0e9be1f3 100644 --- a/doc/command-reference.sgml +++ b/doc/command-reference.sgml @@ -5,6 +5,44 @@ Overview of repmgr commands. + + repmgr primary register + repmgr primary register + + repmgr primary register registers a primary node in a + streaming replication cluster, and configures it for use with repmgr, including + installing the &repmgr; extension. This command needs to be executed before any + standby nodes are registered. + + + Execute with the --dry-run option to check what would happen without + actually registering the primary. + + + repmgr master register can be used as an alias for + repmgr primary register/ + + + + + repmgr primary unregister + repmgr primary unregister + + repmgr primary register unregisters an inactive primary node + from the `repmgr` metadata. This is typically when the primary has failed and is + being removed from the cluster after a new primary has been promoted. + + + Execute with the --dry-run option to check what would happen without + actually unregistering the node. + + + + repmgr master unregister can be used as an alias for + repmgr primary unregister/ + + + repmgr standby clone @@ -336,7 +374,7 @@ repmgr cluster matrix - repmgr cluster matric + repmgr cluster matrix repmgr cluster matrix runs repmgr cluster show on each node and arranges the results in a matrix, recording success or failure.