Skip to content

Commit 0bccf58

Browse files
authored
Merge pull request #252 from github/mwiesen-failover-cleanup
Add optional cleanup step after failover to HA replica
2 parents 33c4f3c + b209e41 commit 0bccf58

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

content/admin/enterprise-management/initiating-a-failover-to-your-replica-appliance.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,15 @@ The time required to failover depends on how long it takes to manually promote t
3030
5. Update the DNS record to point to the IP address of the replica. Traffic is directed to the replica after the TTL period elapses. If you are using a load balancer, ensure it is configured to send traffic to the replica.
3131
6. Notify users that they can resume normal operations.
3232
7. If desired, set up replication from the new primary to existing appliances and the previous primary. For more information, see "[About high availability configuration](/enterprise/{{ currentVersion }}/admin/guides/installation/about-high-availability-configuration/#utilities-for-replication-management)."
33+
8. Appliances you do not intend to setup replication to that were part of the high availability configuration prior the failover, need to be removed from the high availability configuration by UUID.
34+
- On the former appliances, get their UUID via `cat /data/user/common/uuid`.
35+
```shell
36+
$ cat /data/user/common/uuid
37+
```
38+
- On the new primary, remove the UUIDs using `ghe-repl-teardown`. Please replace *`UUID`* with a UUID you retrieved in the previous step.
39+
```shell
40+
$ ghe-repl-teardown -u <em>UUNID</em>
41+
```
3342

3443
### Further reading
3544

0 commit comments

Comments
 (0)