Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
5fd56a1b
Commit
5fd56a1b
authored
Oct 03, 2017
by
Stan Hu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Consolidate Geo upgrade instructions into one document
Closes #3628 [ci skip]
parent
09cdabd2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
35 deletions
+37
-35
doc/gitlab-geo/configuration.md
doc/gitlab-geo/configuration.md
+1
-35
doc/gitlab-geo/updating_the_geo_nodes.md
doc/gitlab-geo/updating_the_geo_nodes.md
+36
-0
No files found.
doc/gitlab-geo/configuration.md
View file @
5fd56a1b
...
...
@@ -312,41 +312,7 @@ not create them manually.
### Upgrading Geo
#### Upgrading to GitLab 10.1
[Hashed storage](../administration/repository_storage_types.md) was introduced
in GitLab 10.0, and a [migration path](../administration/raketasks/storage.md)
for existing repositories was added in GitLab 10.1.
After upgrading to GitLab 10.1, we recommend that you
[enable hashed storage for all new projects](#step-5-enabling-hashed-storage-from-gitlab-100),
then [migrate existing projects to hashed storage](../administration/raketasks/storage.md).
This will significantly reduce the amount of synchronization required between
nodes in the event of project or group renames.
#### Upgrading to GitLab 10.0
Since GitLab 10.0, we require all **Geo** systems to [use SSH key lookups via
the database](ssh.md) to avoid having to maintain consistency of the
`
authorized_keys
` file for SSH access. Failing to do this will prevent users
from being able to clone via SSH.
#### Upgrading from GitLab 9.3 or older
If you started running Geo on GitLab 9.3 or older, we recommend that you
resync your secondary PostgreSQL databases to use replication slots. If you
started using Geo with GitLab 9.4 or 10.x, no further action should be
required because replication slots are used by default. However, if you
started with GitLab 9.3 and upgraded later, you should still follow the
instructions below.
When in doubt, it does not hurt to do a resync. The easiest way to do this in
Omnibus is the following:
1. Install GitLab on the primary server
1. Run `
gitlab-ctl reconfigure
` and `
gitlab-ctl restart postgresql
`
. This will enable replication slots on the primary database.
1.
Install GitLab on the secondary server.
1.
Re-run the
[
database replication process
](
database.md#step-3-initiate-the-replication-process
)
.
See the
[
updating the Geo nodes document
](
updating_the_geo_nodes.md
)
.
## Troubleshooting
...
...
doc/gitlab-geo/updating_the_geo_nodes.md
View file @
5fd56a1b
...
...
@@ -14,6 +14,42 @@ all you need to do is update GitLab itself:
the tracking database is enabled.
1.
[
Test
](
#check-status-after-updating
)
primary and secondary nodes, and check version in each.
## Upgrading to GitLab 10.1
[
Hashed storage
](
../administration/repository_storage_types.md
)
was introduced
in GitLab 10.0, and a
[
migration path
](
../administration/raketasks/storage.md
)
for existing repositories was added in GitLab 10.1.
After upgrading to GitLab 10.1, we recommend that you
[
enable hashed storage for all new projects
](
#step-5-enabling-hashed-storage-from-gitlab-100
)
,
then
[
migrate existing projects to hashed storage
](
../administration/raketasks/storage.md
)
.
This will significantly reduce the amount of synchronization required between
nodes in the event of project or group renames.
## Upgrading to GitLab 10.0
Since GitLab 10.0, we require all
**Geo**
systems to
[
use SSH key lookups via
the database
](
ssh.md
)
to avoid having to maintain consistency of the
`authorized_keys`
file for SSH access. Failing to do this will prevent users
from being able to clone via SSH.
## Upgrading from GitLab 9.3 or older
If you started running Geo on GitLab 9.3 or older, we recommend that you
resync your secondary PostgreSQL databases to use replication slots. If you
started using Geo with GitLab 9.4 or 10.x, no further action should be
required because replication slots are used by default. However, if you
started with GitLab 9.3 and upgraded later, you should still follow the
instructions below.
When in doubt, it does not hurt to do a resync. The easiest way to do this in
Omnibus is the following:
1.
Install GitLab on the primary server
1.
Run
`gitlab-ctl reconfigure`
and
`gitlab-ctl restart postgresql`
. This will enable replication slots on the primary database.
1.
Install GitLab on the secondary server.
1.
Re-run the
[
database replication process
](
database.md#step-3-initiate-the-replication-process
)
.
## Special update notes for 9.0.x
> **IMPORTANT**:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment