1
0
mirror of synced 2025-12-21 02:46:50 -05:00
Files
docs/content/admin/managing-github-actions-for-your-enterprise/advanced-configuration-and-troubleshooting/high-availability-for-github-actions.md
2024-12-12 02:08:20 +00:00

2.3 KiB

title, intro, versions, type, topics, redirect_from, shortTitle
title intro versions type topics redirect_from shortTitle
High availability for GitHub Actions There are some special considerations for administering {% data variables.product.prodname_actions %} in a high availability configuration.
ghes
*
reference
Actions
Enterprise
High availability
Infrastructure
Storage
/admin/github-actions/high-availability-for-github-actions
/admin/github-actions/advanced-configuration-and-troubleshooting/high-availability-for-github-actions
HA for GitHub Actions

Replication or redundancy of your {% data variables.product.prodname_actions %} data

{% data reusables.actions.enterprise-storage-ha-backups %}

We strongly recommend that you configure your {% data variables.product.prodname_actions %} external storage to use data redundancy or replication. For more information, refer to your storage provider's documentation:

High availability replicas

Promoting a replica

When enabling a high availability configuration, any replicas are automatically configured to use the {% data variables.product.prodname_actions %} external storage configuration. If you need to initiate a failover to promote a replica, no extra configuration changes are required for {% data variables.product.prodname_actions %}.

For more information, see AUTOTITLE.

Removing a high availability replica

Avoid letting multiple instances to write to the same {% data variables.product.prodname_actions %} external storage. This could occur when using the ghe-repl-teardown command to stop and permanently remove a {% data variables.product.prodname_actions %}-enabled replica. This is because the replica will be converted into a standalone {% data variables.product.prodname_ghe_server %}, and after the teardown it will still use the same external storage configuration as the primary.

To help avoid this issue, we recommend either decommissioning the replica server or updating its {% data variables.product.prodname_actions %} configuration with different external storage.