debian-mirror-gitlab/doc/administration/geo/replication/updating_the_geo_nodes.md
2019-12-04 20:38:33 +05:30

2.6 KiB

Updating the Geo nodes (PREMIUM ONLY)

Updating Geo nodes involves performing:

  1. Version-specific update steps, depending on the version being updated to or from.
  2. General update steps, for all updates.

Version specific update steps

Depending on which version of Geo you are updating to/from, there may be different steps.

General update steps

NOTE: Note: These general update steps are not intended for high-availability deployments, and will cause downtime. If you want to avoid downtime, consider using zero downtime updates.

To update the Geo nodes when a new GitLab version is released, update primary and all secondary nodes:

  1. Log into the primary node.
  2. Update GitLab on the primary node using Omnibus.
  3. Log into each secondary node.
  4. Update GitLab on each secondary node using Omnibus.
  5. Test primary and secondary nodes, and check version in each.

Check status after updating

Now that the update process is complete, you may want to check whether everything is working correctly:

  1. Run the Geo raketask on all nodes, everything should be green:

    sudo gitlab-rake gitlab:geo:check
    
  2. Check the primary node's Geo dashboard for any errors.

  3. Test the data replication by pushing code to the primary node and see if it is received by secondary nodes.

If you encounter any issues, please consult the Geo troubleshooting guide.