Installing Failover Manager on AlmaLinux 9 or Rocky Linux 9 x86_64 v4
Prerequisites
Before you begin the installation process:
Install Postgres on the same host (not needed for witness nodes).
Set up the EDB repository.
Setting up the repository is a one-time task. If you have already set up your repository, you don't need to perform this step.
To determine if your repository exists, enter this command:
dnf repolist | grep enterprisedb
If no output is generated, the repository isn't installed.
To set up the EDB repository:
Go to EDB repositories.
Select the button that provides access to the EDB repository.
Select the platform and software that you want to download.
Follow the instructions for setting up the EDB repository.
Install the EPEL repository:
Enable additional repositories to resolve dependencies:
Install the package
Where <4x>
is the version of Failover Manager that you are installing. For example, if you are installing version 4.7, the package name would be edb-efm47
.
The installation process creates a user named efm that has privileges to invoke scripts that control the Failover Manager service for clusters owned by enterprisedb or postgres.
Initial configuration
If you are using Failover Manager to monitor a cluster owned by a user other than enterprisedb or postgres, see Extending Failover Manager permissions.
After installing on each node of the cluster:
- Modify the cluster properties file on each node.
- Modify the cluster members file on each node.
- If applicable, configure and test virtual IP address settings and any scripts that are identified in the cluster properties file.
- Start the agent on each node of the cluster. For more information, see Controlling the Failover Manager service.