Skip to content

Commit

Permalink
Removed specific db/efm versions from 'eager failover' page.
Browse files Browse the repository at this point in the history
  • Loading branch information
EFM-Bobby authored and josh-heyer committed Aug 21, 2024
1 parent 3e0e8c6 commit 01aca29
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<x>` with the appropriate version numbers in the following.

<div id="enabling_the_eager_failover" class="registered_link"></div>

Expand All @@ -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-<x>.service` file using the command:

```shell
systemctl edit edb-as-12.service
systemctl edit edb-as-<x>.service
```

- Add the following lines into the text editor, then save:

```ini
[Unit]
BindsTo=edb-efm-4.5.service
BindsTo=edb-efm-4.<x>.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.
Expand All @@ -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-<x>.service`:
```ini
BindsTo=edb-efm-4.5.service
BindsTo=edb-efm-4.<x>.service
```
- Run the following command to reload the configuration files:
```shell
Expand Down

0 comments on commit 01aca29

Please sign in to comment.