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
312aa7ec
Commit
312aa7ec
authored
Oct 20, 2016
by
Achilleas Pipinellis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Copyedit and refactor Geo docs
[ci skip]
parent
cb57907c
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
157 additions
and
139 deletions
+157
-139
doc/gitlab-geo/README.md
doc/gitlab-geo/README.md
+20
-16
doc/gitlab-geo/configuration.md
doc/gitlab-geo/configuration.md
+137
-123
doc/gitlab-geo/img/geo-nodes-screen.png
doc/gitlab-geo/img/geo-nodes-screen.png
+0
-0
doc/gitlab-geo/img/geo_nodes_add_new.png
doc/gitlab-geo/img/geo_nodes_add_new.png
+0
-0
No files found.
doc/gitlab-geo/README.md
View file @
312aa7ec
...
...
@@ -47,29 +47,31 @@ GitLab Geo requires some additional work installing and configuring your
instance, than a normal setup.
There are a couple of things you need to do in order to have one or more GitLab
Geo instances. Follow the steps below in the
order
that they appear:
Geo instances. Follow the steps below in the
**exact order**
that they appear:
1.
Install GitLab Enterprise Edition package on the server that will serve as the
secondary Geo node
-
Don't configure GitLab as a normal install
-
Authentication will be handled by the primary node
-
You will need to setup replication before continuing (next step)
-
Than you will be guided on how to configure this setup (please follow the correct order)
1.
[
Setup a database replication
](
database.md
)
in
`primary <-> secondary (read-only)`
topology
1.
[
Configure GitLab
](
configuration.md
)
and set the primary and secondary nodes
1.
Follow the instructions to
[
install GitLab Enterprise Edition
][
install-ee
]
on the server that will serve as the secondary Geo node, but don't further
configure GitLab as authentication will be handled by the primary node (more
on this in the configuration step).
1.
[
Setup a database replication
](
database.md
)
in
`primary <-> secondary (read-only)`
topology.
1.
[
Configure GitLab
](
configuration.md
)
and set the primary and secondary nodes.
## After setup
After you set up the database replication and configure the GitLab Geo nodes,
there are a few things to consider:
1.
When you create a new project in the primary node, the Git repository will
appear in the secondary only _after_ the first
`git push`
1.
You need an extra configuration step to be able to fetch code from
`secondary`
and push to
`primary`
-
Clone your repository as you would normally do, from the
`secondary`
node
-
Change the
`push`
URL following this example:
appear in the secondary only _after_ the first
`git push`
.
1.
You need an extra step to be able to fetch code from the
`secondary`
and push
to
`primary`
:
1. Clone your repository as you would normally do from the `secondary` node
1. Change the remote push URL following this example:
```bash
git remote set-url --push origin git@primary.gitlab.example.com:user/repo.git
```
```bash
git remote set-url --push origin git@primary.gitlab.example.com:user/repo.git
```
> **Important**: The initialization of a new Geo secondary node requires data
to be copied from the primary, as there is no backfill feature bundled with it.
...
...
@@ -119,3 +121,5 @@ connectivity between your nodes, your hardware, etc.
We send the clone url from the primary server to any secondaries, so it
doesn't matter. If primary is running on port
`2200`
clone url will reflect
that.
[
install-ee
]:
https://about.gitlab.com/downloads-ee/
doc/gitlab-geo/configuration.md
View file @
312aa7ec
This diff is collapsed.
Click to expand it.
doc/gitlab-geo/img/geo-nodes-screen.png
View replaced file @
cb57907c
View file @
312aa7ec
52.8 KB
|
W:
|
H:
39.5 KB
|
W:
|
H:
2-up
Swipe
Onion skin
doc/gitlab-geo/img/geo_nodes_add_new.png
0 → 100644
View file @
312aa7ec
62.5 KB
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