Commit 17900f34 authored by Evan Read's avatar Evan Read

Rename Gitaly Cluster migration section

parent c2058240
...@@ -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).
......
...@@ -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.
......
...@@ -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
......
...@@ -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).
...@@ -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:
......
...@@ -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
......
...@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment