🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
# Updating the Geo nodes > 原文:[https://docs.gitlab.com/ee/administration/geo/replication/updating_the_geo_nodes.html](https://docs.gitlab.com/ee/administration/geo/replication/updating_the_geo_nodes.html) * [Version specific update steps](#version-specific-update-steps) * [General update steps](#general-update-steps) * [Check status after updating](#check-status-after-updating) # Updating the Geo nodes[](#updating-the-geo-nodes-premium-only "Permalink") 更新地理节点涉及执行: 1. [特定](#version-specific-update-steps)于版本的[更新步骤](#version-specific-update-steps) ,具体取决于要与之进行更新的版本. 2. [常规更新步骤](#general-update-steps) ,适用于所有更新. ## Version specific update steps[](#version-specific-update-steps "Permalink") 根据您要更新或更新的 Geo 版本,可能会有不同的步骤. * [Updating to GitLab 12.9](version_specific_updates.html#updating-to-gitlab-129) * [Updating to GitLab 12.7](version_specific_updates.html#updating-to-gitlab-127) * [Updating to GitLab 12.2](version_specific_updates.html#updating-to-gitlab-122) * [Updating to GitLab 12.1](version_specific_updates.html#updating-to-gitlab-121) * [Updating to GitLab 12.0](version_specific_updates.html#updating-to-gitlab-120) * [Updating to GitLab 11.11](version_specific_updates.html#updating-to-gitlab-1111) * [Updating to GitLab 10.8](version_specific_updates.html#updating-to-gitlab-108) * [Updating to GitLab 10.6](version_specific_updates.html#updating-to-gitlab-106) * [Updating to GitLab 10.5](version_specific_updates.html#updating-to-gitlab-105) * [Updating to GitLab 10.3](version_specific_updates.html#updating-to-gitlab-103) * [Updating to GitLab 10.2](version_specific_updates.html#updating-to-gitlab-102) * [Updating to GitLab 10.1](version_specific_updates.html#updating-to-gitlab-101) * [Updating to GitLab 10.0](version_specific_updates.html#updating-to-gitlab-100) * [Updating from GitLab 9.3 or older](version_specific_updates.html#updating-from-gitlab-93-or-older) * [Updating to GitLab 9.0](version_specific_updates.html#updating-to-gitlab-90) ## General update steps[](#general-update-steps "Permalink") **注意:**这些常规更新步骤不适用于[高可用性部署](https://docs.gitlab.com/omnibus/update/README.html) ,并且会导致停机. 如果要避免停机,请考虑使用[零停机更新](https://docs.gitlab.com/omnibus/update/README.html) . 要在发布新的 GitLab 版本时更新 Geo 节点,请更新**主**节点和所有**辅助**节点: 1. **Optional:** [Pause replication on each **secondary** node.](./index.html#pausing-and-resuming-replication) 2. 登录到**主**节点. 3. [Update GitLab on the **primary** node using Omnibus](https://docs.gitlab.com/omnibus/update/README.html). 4. 登录到每个**辅助**节点. 5. [Update GitLab on each **secondary** node using Omnibus](https://docs.gitlab.com/omnibus/update/README.html). 6. 如果您在步骤 1 中暂停了复制,则[在每个**辅助**节点上继续复制](./index.html#pausing-and-resuming-replication) 7. [测试](#check-status-after-updating) **主**节点和**辅助**节点,并检查每个节点的版本. ### Check status after updating[](#check-status-after-updating "Permalink") 现在,更新过程已完成,您可能要检查一切是否正常运行: 1. 在所有节点上运行 Geo Rake 任务,所有内容应为绿色: ``` sudo gitlab-rake gitlab:geo:check ``` 2. 检查**主**节点的地理仪表板是否有任何错误. 3. 通过将代码推送到**主**节点来测试数据复制,并查看**辅助**节点是否接收到该复制. 如果您遇到任何问题,请查阅《 [地理位置疑难解答指南》](troubleshooting.html) .