In the event of a failure at your primary datacenter, you can fail over to the replica nodes in the secondary datacenter if you configure a passive replica node for each node in your active cluster.
The time required to fail over depends on how long it takes to manually promote the replica cluster and redirect traffic.
Promoting a replica cluster does not automatically set up replication for the existing cluster. After promoting a replica cluster, you can reconfigure replication from the new active cluster. For more information, see "Configuring high availability for a cluster."
To fail over to passive replica nodes, you must have configured high availability for your cluster. For more information, see "Configuring high availability for a cluster."
SSH into any passive node in the secondary datacenter for your cluster. Weitere Informationen findest Du unter "Auf die administrative Shell (SSH) zugreifen."
Initialize the failover to the secondary cluster and configure it to act as the active nodes.
After the configuration run finishes, GitHub Enterprise Server displays the following message.
Finished cluster configuration
Update the DNS record to point to the IP address of the load balancer for your passive cluster. Nach dem Verstreichen des TTL-Zeitraums wird der Traffic an das Replikat geleitet.
After GitHub Enterprise Server returns you to the prompt and your DNS updates have propagated, you've finished failing over. Users can access GitHub Enterprise Server using the usual hostname for your cluster.