Skip to content

Commit

Permalink
Merge pull request #4785 from tureba/patch-12
Browse files Browse the repository at this point in the history
Update 06_configuring_for_eager_failover.mdx
  • Loading branch information
drothery-edb authored Sep 11, 2023
2 parents 6d0c26e + bc367ac commit 7c3b72e
Showing 1 changed file with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,18 +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, create `/etc/systemd/system/edb-as-12.service` file and include:
- As root, edit the service `edb-as-12.service` file using the command:

```ini
.include /lib/systemd/system/edb-as-12.service
[Unit]
BindsTo=edb-efm-4.5.service
```shell
systemctl edit edb-as-12.service
```

- Run the following command to reload the configuration files:
- Add the following lines into the text editor, then save:

```shell
systemctl daemon-reload
```ini
[Unit]
BindsTo=edb-efm-4.5.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 Down

1 comment on commit 7c3b72e

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.