Get Postgres Tips and Tricks
Subscribe to get advanced Postgres how-tos.
Stopping a Failover Manager Agent¶
When you stop an agent, Failover Manager will remove the node’s address from the cluster members list on all of the running nodes of the cluster, but will not remove the address from the Failover Manager Allowed node host list.
To stop the Failover Manager agent on RHEL 6.x or CentOS 6.x, assume superuser privileges, and invoke the command:
service efm-3.6 stop
To stop the Failover Manager agent on RHEL 7.x or CentOS 7.x, assume superuser privileges, and invoke the command:
systemctl stop efm-3.6
Until you invoke the efm disallow-node command (removing the node’s
address of the node from the Allowed node host list), you can use the
service efm-3.6 start
command to restart the node at a later date
without first running the efm allow-node
command again.
Please note that stopping an agent does not signal the cluster that the agent has failed.