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:
...
@@ -393,8 +393,8 @@ Additional information:
GitLab recommends:
GitLab recommends:
-
Creating a
[
Gitaly Cluster
](
#gitaly-cluster
)
as soon as possible.
-
Creating a
[
Gitaly Cluster
](
#gitaly-cluster
)
as soon as possible.
-
[
Moving your
projects
](
praefect.md#migrate-existing-repositories-to-gitaly-cluster
)
from NFS-based
-
[
Moving your
repositories
](
praefect.md#migrate-to-gitaly-cluster
)
from NFS-based storage to Gitaly
storage to the Gitaly
Cluster.
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
)
.
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.
...
@@ -319,7 +319,7 @@ application server, or a Gitaly node.
WARNING:
WARNING:
If you have data on an already existing storage called
If you have data on an already existing storage called
`default`
, you should configure the virtual storage with another name and
`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.
afterwards.
Replace
`PRAEFECT_INTERNAL_TOKEN`
with a strong secret, which is used by
Replace
`PRAEFECT_INTERNAL_TOKEN`
with a strong secret, which is used by
...
@@ -760,7 +760,7 @@ Particular attention should be shown to:
...
@@ -760,7 +760,7 @@ Particular attention should be shown to:
WARNING:
WARNING:
If you have existing data stored on the default Gitaly storage,
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.
first.
```
ruby
```
ruby
...
@@ -1294,7 +1294,7 @@ sudo /opt/gitlab/embedded/bin/praefect -config /var/opt/gitlab/praefect/config.t
...
@@ -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
`<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.
-
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
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.
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.
...
@@ -1308,8 +1308,8 @@ until the move has completed.
After creating and configuring Gitaly Cluster:
After creating and configuring Gitaly Cluster:
1.
Ensure all storages are accessible to the GitLab instance. In this example, these
1.
Ensure all storages are accessible to the GitLab instance. In this example, these
are
are
`<original_storage_name>`
and
`<cluster_storage_name>`
.
`<original_storage_name>`
and
`<cluster_storage_name>`
.
1.
[
Configure repository storage weights
](
../repository_storage_paths.md#configure-where-new-repositories-are-stored
)
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
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.
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:
...
@@ -28,7 +28,7 @@ For more information, see:
querying and scheduling snippet repository moves.
querying and scheduling snippet repository moves.
-
[
The API documentation
](
../../api/group_repository_storage_moves.md
)
details the endpoints for
-
[
The API documentation
](
../../api/group_repository_storage_moves.md
)
details the endpoints for
querying and scheduling group repository moves
**(PREMIUM SELF)**
.
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
## 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
...
@@ -156,5 +156,5 @@ often it is chosen. That is, `(storage weight) / (sum of all weights) * 100 = ch
## Move repositories
## Move repositories
To move a repository to a different repository path, use
To move a repository to a different repository path, use
the same process as
the same process as [migrating existing repositories to Gitaly Cluster](gitaly/praefect.md#migrate-existing-repositories
-to-gitaly-cluster).
[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
...
@@ -10,8 +10,8 @@ type: reference
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/53016) in GitLab 13.9.
> [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
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
)
,
[
migrating to Gitaly Cluster
](
../administration/gitaly/praefect.md#migrate-
to-gitaly-cluster
)
, for
for
example, or to migrate a Group Wiki.
example, or to migrate a Group Wiki.
As group repository storage moves are processed, they transition through different states. Values
As group repository storage moves are processed, they transition through different states. Values
of
`state`
are:
of
`state`
are:
...
...
doc/api/project_repository_storage_moves.md
View file @
17900f34
...
@@ -10,7 +10,7 @@ type: reference
...
@@ -10,7 +10,7 @@ type: reference
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/31285) in GitLab 13.0.
> [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
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.
for example.
As project repository storage moves are processed, they transition through different states. Values
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
...
@@ -10,8 +10,8 @@ type: reference
> [Introduced](https://gitlab.com/gitlab-org/gitlab/-/merge_requests/49228) in GitLab 13.8.
> [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
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
)
,
[
migrating to Gitaly Cluster
](
../administration/gitaly/praefect.md#migrate-
to-gitaly-cluster
)
, for
for
example.
example.
As snippet repository storage moves are processed, they transition through different states. Values
As snippet repository storage moves are processed, they transition through different states. Values
of
`state`
are:
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