Installing Failover Manager on SLES 15 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:

    zypper lr -E | 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.

  • Activate the required SUSE module:

    sudo SUSEConnect -p PackageHub/15.4/x86_64
    
  • Refresh the metadata:

    sudo zypper refresh

Install the package

sudo zypper -n install edb-efm<4x>

Where <4x> is the version of Failover Manager that you're installing. For example, if you're installing version 4.8, the package name is edb-efm48.

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're 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.