Table of Contents Previous Next


2 Failover Manager - Overview : 2.3 Tutorial – Configuring a Simple Failover Manager Cluster

The example that follows creates a cluster named efm. You should start the configuration process on a master or standby node. Then, you can copy the configuration files to other nodes to save time.
The properties file (cluster_name.properties) contains parameters that specify connection properties and behaviors for your Failover Manager cluster. Modifications to property settings are applied when Failover Manager starts.
Owner of the data directory (usually postgres or enterprisedb):
The data directory in which EFM will find or create recovery.conf file:
db.recovery.conf.dir
user.email
Use the bind.address parameter to specify the local address of the node and the port that will be used by EFM. Other nodes will use this address to reach the agent, and the agent will use this address when connecting to the local database (as opposed to connecting to localhost). An example of the format is included below:
bind.address=1.2.3.4:7800
The cluster members file (cluster_name.nodes) is read at startup to tell an agent how to find the rest of the cluster, or, in the case of the first node started, the file is used to simplify authorization of subsequent nodes.
Copy the efm.properties and efm.nodes files to the /etc/edb/efm-3.1 directory on the other nodes in your sample cluster. After copying the files, change the file ownership so the files are owned by efm:efm.
The efm.properties file can be the same on every node, except for the following properties:
Modify the bind.address property to specify the node’s local address.
Set is.witness to true if the node is a witness node. If the node is a witness node, the properties relating to a local database installation will be ignored.
Start the agent on the other nodes. You can invoke the efm cluster-status efm command on any node to check the cluster status.

2 Failover Manager - Overview : 2.3 Tutorial – Configuring a Simple Failover Manager Cluster

Table of Contents Previous Next