You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: product_docs/docs/efm/4/04_configuring_efm/06_configuring_for_eager_failover.mdx
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ redirects:
8
8
9
9
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.
10
10
11
-
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.
11
+
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.
@@ -29,17 +29,17 @@ You can set up Eager Failover by performing the following steps. The example us
29
29
30
30
- Ensure that the database server and the local Failover Manager agent are running.
31
31
32
-
- As root, edit the service `edb-as-12.service` file using the command:
32
+
- As root, edit the service `edb-as-<x>.service` file using the command:
33
33
34
34
```shell
35
-
systemctl edit edb-as-12.service
35
+
systemctl edit edb-as-<x>.service
36
36
```
37
37
38
38
- Add the following lines into the text editor, then save:
39
39
40
40
```ini
41
41
[Unit]
42
-
BindsTo=edb-efm-4.5.service
42
+
BindsTo=edb-efm-4.<x>.service
43
43
```
44
44
45
45
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
48
48
49
49
## Disabling Eager Failover
50
50
51
-
- If you want to stop Failover Manager without stopping the database, comment out the following line in `/etc/systemd/system/edb-as-12.service`:
51
+
- If you want to stop Failover Manager without stopping the database, comment out the following line in `/etc/systemd/system/edb-as-<x>.service`:
52
52
```ini
53
-
BindsTo=edb-efm-4.5.service
53
+
BindsTo=edb-efm-4.<x>.service
54
54
```
55
55
- Run the following command to reload the configuration files:
0 commit comments