Diese Version von GitHub Enterprise wurde eingestellt am 2021-09-23. Es wird keine Patch-Freigabe vorgenommen, auch nicht für kritische Sicherheitsprobleme. Für eine bessere Leistung, verbesserte Sicherheit und neue Features nimm ein Upgrade auf die neueste Version von GitHub Enterprise vor. Wende Dich an den GitHub Enterprise-Support, um Hilfe beim Upgrade zu erhalten.

Initiating a failover to your replica cluster

If your GitHub Enterprise Server cluster fails, you can fail over to the passive replica .

About failover to your replica cluster

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."

Vorrausetzungen

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."

Initiating a failover to your replica cluster

  1. SSH into any passive node in the secondary datacenter for your cluster. Weitere Informationen findest Du unter "Auf die administrative Shell (SSH) zugreifen."

  2. Initialize the failover to the secondary cluster and configure it to act as the active nodes.

    ghe-cluster-failover
  3. After the configuration run finishes, GitHub Enterprise Server displays the following message.

    Finished cluster configuration
  4. 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.