repmgr primary unregister

Name

repmgr primary unregister -- unregister an inactive primary node

Description

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.

Execution

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/