5.2 Using the systemctl Utility on RHEL 7.x and CentOS 7.x

Table of Contents Previous Next


5 Controlling the Failover Manager Service : 5.2 Using the systemctl Utility on RHEL 7.x and CentOS 7.x

On RHEL 7.x and CentOS 7.x, Failover Manager runs as a Linux service named (by default) efm-2.0.service that is located in /usr/lib/system/system. Each database cluster monitored by Failover Manager will run a copy of the service on each node of the replication cluster.
Use the following systemctl commands to control a Failover Manager agent that resides on a RHEL 7.x or CentOS 7.x host:
The start command starts the Failover Manager agent on the current node. The local Failover Manager agent monitors the local database and communicates with Failover Manager on the other nodes. You can start the nodes in a Failover Manager cluster in any order.
Stop the Failover Manager on the current node. This command must be invoked by root.
systemctl status efm-2.0
The status command returns the status of the Failover Manager agent on which it is invoked. You can invoke the status command on any node to instruct Failover Manager to return status and server startup information.
à java -cp /usr/efm-2.0/lib/EFM-2.0.0.jar com.enterprisedb.hal.main.ServiceCommand __int_start /etc/efm-2.0/efm
....

5 Controlling the Failover Manager Service : 5.2 Using the systemctl Utility on RHEL 7.x and CentOS 7.x

Table of Contents Previous Next