sudo gitlab-ctl promote-to-primary-node

Category: GitLab

sudo gitlab-ctl promote-to-primary-node

Promote a secondary Geo node to primary

Turns the current Geo secondary site into the primary during a failover, making it the writable source of truth. Geo is the GitLab EE feature that replicates a primary site to read-only secondaries for disaster recovery. Run it on the secondary after it has caught up with the primary.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.