debian-mirror-gitlab/doc/administration/geo/setup/index.md

34 lines
2.1 KiB
Markdown
Raw Normal View History

2020-11-24 15:15:51 +05:30
---
stage: Enablement
group: Geo
2021-02-22 17:27:13 +05:30
info: To determine the technical writer assigned to the Stage/Group associated with this page, see https://about.gitlab.com/handbook/engineering/ux/technical-writing/#assignments
2020-11-24 15:15:51 +05:30
type: howto
---
2021-04-29 21:17:54 +05:30
# Setting up Geo **(PREMIUM SELF)**
2020-11-24 15:15:51 +05:30
These instructions assume you have a working instance of GitLab. They guide you through:
2021-09-30 23:02:18 +05:30
1. Making your existing instance the **primary** site.
1. Adding **secondary** site(s).
2020-11-24 15:15:51 +05:30
2021-02-22 17:27:13 +05:30
WARNING:
2021-09-30 23:02:18 +05:30
The steps below should be followed in the order they appear. **Make sure the GitLab version is the same on all sites.**
2020-11-24 15:15:51 +05:30
## Using Omnibus GitLab
If you installed GitLab using the Omnibus packages (highly recommended):
2021-09-30 23:02:18 +05:30
1. [Install GitLab Enterprise Edition](https://about.gitlab.com/install/) on the node(s) that will serve as the **secondary** site. Do not create an account or log in to the new **secondary** site.
1. [Upload the GitLab License](../../../user/admin_area/license.md) on the **primary** site to unlock Geo. The license must be for [GitLab Premium](https://about.gitlab.com/pricing/) or higher.
2020-11-24 15:15:51 +05:30
1. [Set up the database replication](database.md) (`primary (read-write) <-> secondary (read-only)` topology).
2021-09-30 23:02:18 +05:30
1. [Configure fast lookup of authorized SSH keys in the database](../../operations/fast_ssh_key_lookup.md). This step is required and needs to be done on **both** the **primary** and **secondary** site(s).
1. [Configure GitLab](../replication/configuration.md) to set the **primary** and **secondary** site(s).
1. Optional: [Configure a secondary LDAP server](../../auth/ldap/index.md) for the **secondary** site(s). See [notes on LDAP](../index.md#ldap).
2021-06-08 01:23:25 +05:30
1. Follow the [Using a Geo Site](../replication/usage.md) guide.
2022-01-26 12:08:38 +05:30
1. [Configure Geo secondary proxying](../secondary_proxy/index.md) to use a single, unified URL for all Geo sites. This step is recommended to accelerate most read requests while transparently proxying writes to the primary Geo site.
2020-11-24 15:15:51 +05:30
## Post-installation documentation
2021-09-30 23:02:18 +05:30
After installing GitLab on the **secondary** site(s) and performing the initial configuration, see the [following documentation for post-installation information](../index.md#post-installation-documentation).