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
17900f34
Commit
17900f34
authored
Apr 06, 2021
by
Evan Read
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename Gitaly Cluster migration section
parent
c2058240
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
15 deletions
+15
-15
doc/administration/gitaly/index.md
doc/administration/gitaly/index.md
+2
-2
doc/administration/gitaly/praefect.md
doc/administration/gitaly/praefect.md
+5
-5
doc/administration/operations/moving_repositories.md
doc/administration/operations/moving_repositories.md
+1
-1
doc/administration/repository_storage_paths.md
doc/administration/repository_storage_paths.md
+2
-2
doc/api/group_repository_storage_moves.md
doc/api/group_repository_storage_moves.md
+2
-2
doc/api/project_repository_storage_moves.md
doc/api/project_repository_storage_moves.md
+1
-1
doc/api/snippet_repository_storage_moves.md
doc/api/snippet_repository_storage_moves.md
+2
-2
No files found.
doc/administration/gitaly/index.md
View file @
17900f34
...
...
@@ -393,8 +393,8 @@ Additional information:
GitLab recommends:
-
Creating a
[
Gitaly Cluster
](
#gitaly-cluster
)
as soon as possible.
-
[
Moving your
projects
](
praefect.md#migrate-existing-repositories-to-gitaly-cluster
)
from NFS-based
storage to the Gitaly
Cluster.
-
[
Moving your
repositories
](
praefect.md#migrate-to-gitaly-cluster
)
from NFS-based storage to Gitaly
Cluster.
We welcome your feedback on this process: raise a support ticket, or
[
comment on the epic
](
https://gitlab.com/groups/gitlab-org/-/epics/4916
)
.
...
...
doc/administration/gitaly/praefect.md
View file @
17900f34
...
...
@@ -319,7 +319,7 @@ application server, or a Gitaly node.
WARNING:
If you have data on an already existing storage called
`default`
, you should configure the virtual storage with another name and
[
migrate the data to the Gitaly Cluster storage
](
#migrate-
existing-repositories-
to-gitaly-cluster
)
[
migrate the data to the Gitaly Cluster storage
](
#migrate-to-gitaly-cluster
)
afterwards.
Replace
`PRAEFECT_INTERNAL_TOKEN`
with a strong secret, which is used by
...
...
@@ -760,7 +760,7 @@ Particular attention should be shown to:
WARNING:
If you have existing data stored on the default Gitaly storage,
you should
[
migrate the data your Gitaly Cluster storage
](
#migrate-
existing-repositories-
to-gitaly-cluster
)
you should
[
migrate the data your Gitaly Cluster storage
](
#migrate-to-gitaly-cluster
)
first.
```
ruby
...
...
@@ -1294,7 +1294,7 @@ sudo /opt/gitlab/embedded/bin/praefect -config /var/opt/gitlab/praefect/config.t
-
Replace the placeholder
`<up-to-date-storage>`
with the Gitaly storage name containing up to date repositories.
-
Replace the placeholder
`<outdated-storage>`
with the Gitaly storage name containing outdated repositories.
## Migrate
existing repositories
to Gitaly Cluster
## Migrate to Gitaly Cluster
To migrate to Gitaly Cluster, existing repositories stored outside Gitaly Cluster must be
moved. There is no automatic migration but the moves can be scheduled with the GitLab API.
...
...
@@ -1308,8 +1308,8 @@ until the move has completed.
After creating and configuring Gitaly Cluster:
1.
Ensure all storages are accessible to the GitLab instance. In this example, these
are
`<original_storage_name>`
and
`<cluster_storage_name>`
.
1.
Ensure all storages are accessible to the GitLab instance. In this example, these
are
`<original_storage_name>`
and
`<cluster_storage_name>`
.
1.
[
Configure repository storage weights
](
../repository_storage_paths.md#configure-where-new-repositories-are-stored
)
so that the Gitaly Cluster receives all new projects. This stops new projects being created
on existing Gitaly nodes while the migration is in progress.
...
...
doc/administration/operations/moving_repositories.md
View file @
17900f34
...
...
@@ -28,7 +28,7 @@ For more information, see:
querying and scheduling snippet repository moves.
-
[
The API documentation
](
../../api/group_repository_storage_moves.md
)
details the endpoints for
querying and scheduling group repository moves
**(PREMIUM SELF)**
.
-
[
Migrate
existing repositories to Gitaly Cluster
](
../gitaly/praefect.md#migrate-existing-repositories
-to-gitaly-cluster
)
.
-
[
Migrate
to Gitaly Cluster
](
../gitaly/praefect.md#migrate
-to-gitaly-cluster
)
.
## Migrating to another GitLab instance
...
...
doc/administration/repository_storage_paths.md
View file @
17900f34
...
...
@@ -156,5 +156,5 @@ often it is chosen. That is, `(storage weight) / (sum of all weights) * 100 = ch
## Move repositories
To move a repository to a different repository path, use
the same process as [migrating existing repositories to Gitaly Cluster](gitaly/praefect.md#migrate-existing-repositories
-to-gitaly-cluster).
To move a repository to a different repository path, use
the same process as
[migrating to Gitaly Cluster](gitaly/praefect.md#migrate
-to-gitaly-cluster).
doc/api/group_repository_storage_moves.md
View file @
17900f34
...
...
@@ -10,8 +10,8 @@ type: reference
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/53016) in GitLab 13.9.
Group repositories can be moved between storages. This can be useful when
[
migrating to Gitaly Cluster
](
../administration/gitaly/praefect.md#migrate-
existing-repositories-to-gitaly-cluster
)
,
for
example, or to migrate a Group Wiki.
[
migrating to Gitaly Cluster
](
../administration/gitaly/praefect.md#migrate-
to-gitaly-cluster
)
, for
example, or to migrate a Group Wiki.
As group repository storage moves are processed, they transition through different states. Values
of
`state`
are:
...
...
doc/api/project_repository_storage_moves.md
View file @
17900f34
...
...
@@ -10,7 +10,7 @@ type: reference
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/31285) in GitLab 13.0.
Project repositories including wiki and design repositories can be moved between storages. This can be useful when
[
migrating to Gitaly Cluster
](
../administration/gitaly/praefect.md#migrate-
existing-repositories-
to-gitaly-cluster
)
,
[
migrating to Gitaly Cluster
](
../administration/gitaly/praefect.md#migrate-to-gitaly-cluster
)
,
for example.
As project repository storage moves are processed, they transition through different states. Values
...
...
doc/api/snippet_repository_storage_moves.md
View file @
17900f34
...
...
@@ -10,8 +10,8 @@ type: reference
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/49228) in GitLab 13.8.
Snippet repositories can be moved between storages. This can be useful when
[
migrating to Gitaly Cluster
](
../administration/gitaly/praefect.md#migrate-
existing-repositories-to-gitaly-cluster
)
,
for
example.
[
migrating to Gitaly Cluster
](
../administration/gitaly/praefect.md#migrate-
to-gitaly-cluster
)
, for
example.
As snippet repository storage moves are processed, they transition through different states. Values
of
`state`
are:
...
...
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