Are you sure you want to delete this access key?
title | intro | redirect_from | versions | type | topics |
---|---|---|---|---|---|
Initiating a failover to your replica appliance | You can failover to a {% data variables.product.prodname_ghe_server %} replica appliance using the command line for maintenance and testing, or if the primary appliance fails. | [/enterprise/admin/installation/initiating-a-failover-to-your-replica-appliance /enterprise/admin/enterprise-management/initiating-a-failover-to-your-replica-appliance /admin/enterprise-management/initiating-a-failover-to-your-replica-appliance] | [{enterprise-server *}] | how_to | [Enterprise High availability Infrastructure] |
The time required to failover depends on how long it takes to manually promote the replica and redirect traffic. The average time ranges between 2-10 minutes.
{% data reusables.enterprise_installation.promoting-a-replica %}
ghe-maintenance -s
command.
$ ghe-maintenance -s
OK
, use the ghe-repl-status -vv
command.$ ghe-repl-status -vv
ghe-repl-promote
command. This will also automatically put the primary node in maintenance node if it’s reachable.$ ghe-repl-promote
cat /data/user/common/uuid
.
$ cat /data/user/common/uuid
ghe-repl-teardown
. Please replace UUID
with a UUID you retrieved in the previous step.
$ ghe-repl-teardown -u <em>UUID</em>
Press p or to see the previous file or, n or to see the next file
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?
Are you sure you want to delete this access key?