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:

    1. Go to EDB repositories.

    2. Select the button that provides access to the EDB repository.

    3. Select the platform and software that you want to download.

    4. Follow the instructions for setting up the EDB repository.

  • Install the EPEL repository

    sudo dnf -y install epel-release
  • Enable additional repositories to resolve dependencies

    sudo dnf config-manager --set-enabled powertools

Install the package

sudo dnf -y install edb-efm<4x>

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:

  1. Modify the cluster properties file on each node.
  2. Modify the cluster members file on each node.
  3. If applicable, configure and test virtual IP address settings and any scripts that are identified in the cluster properties file.
  4. Start the agent on each node of the cluster. For more information, see Controlling the Failover Manager service.