diff --git a/product_docs/docs/efm/4/04_configuring_efm/06_configuring_for_eager_failover.mdx b/product_docs/docs/efm/4/04_configuring_efm/06_configuring_for_eager_failover.mdx index af73de8805b..a32b9d4fb10 100644 --- a/product_docs/docs/efm/4/04_configuring_efm/06_configuring_for_eager_failover.mdx +++ b/product_docs/docs/efm/4/04_configuring_efm/06_configuring_for_eager_failover.mdx @@ -8,7 +8,7 @@ redirects: In default run mode, if a primary Failover Manager process fails, there's no failover protection until the agent restarts. To avoid this case, you can set up the primary node through `systemd` to cause a failover when the primary agent exits, which is called Eager Failover. -You can set up Eager Failover by performing the following steps. The example uses EDB Postgres Advanced Server version 12 and Failover Manager version 4.5. +You can set up Eager Failover by performing the following steps. The example uses EDB Postgres Advanced Server. Replace `` with the appropriate version numbers in the following. @@ -29,17 +29,17 @@ You can set up Eager Failover by performing the following steps. The example us - Ensure that the database server and the local Failover Manager agent are running. -- As root, edit the service `edb-as-12.service` file using the command: +- As root, edit the service `edb-as-.service` file using the command: ```shell - systemctl edit edb-as-12.service + systemctl edit edb-as-.service ``` - Add the following lines into the text editor, then save: ```ini [Unit] - BindsTo=edb-efm-4.5.service + BindsTo=edb-efm-4..service ``` With these changes, when the Failover Manager agent is stopped or ended, the rest of the cluster treats this situation as a failure and attempts a failover. @@ -48,9 +48,9 @@ With these changes, when the Failover Manager agent is stopped or ended, the res ## Disabling Eager Failover -- If you want to stop Failover Manager without stopping the database, comment out the following line in `/etc/systemd/system/edb-as-12.service`: +- If you want to stop Failover Manager without stopping the database, comment out the following line in `/etc/systemd/system/edb-as-.service`: ```ini - BindsTo=edb-efm-4.5.service + BindsTo=edb-efm-4..service ``` - Run the following command to reload the configuration files: ```shell