-
To start replication of the datastores, use the
ghe-repl-startcommand.ghe-repl-start
{% ifversion ghes < 3.19 %}
[!WARNING]
ghe-repl-startcauses a brief outage on the primary server, during which users may see internal server errors. To provide a friendlier message, runghe-maintenance -son the primary node before runningghe-repl-starton the replica node to put the appliance in maintenance mode. Once replication starts, disable maintenance mode withghe-maintenance -u. Git replication will not progress while the primary node is in maintenance mode. If you are running version 3.14.20, 3.15.15, 3.16.11, 3.17.8, 3.18.2, or a later version including future releases like 3.19, you no longer need to put the primary in maintenance mode prior to runningghe-repl-start. This command is no longer expected to cause an outage on the primary server. However, when setting up a new replica,ghe-repl-startwon't cause an outage as long as you runghe-config-applybetweenghe-repl-setupandghe-repl-start. Skippingghe-config-applyand going straight fromghe-repl-setuptoghe-repl-startwill still result in an outage.{% else %}
[!WARNING]
[!WARNING] To ensure uninterrupted service when setting up a new replica, run
ghe-config-applybetweenghe-repl-setupandghe-repl-start. This allows the primary server to remain available throughout the replication setup process.{% endif %}