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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
a9f7ce47
Commit
a9f7ce47
authored
Nov 16, 2016
by
Achilleas Pipinellis
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'doc/sentinel' of gitlab.com:gitlab-org/gitlab-ce into doc/sentinel
parents
95f6cf33
850405b4
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1107 additions
and
330 deletions
+1107
-330
doc/administration/high_availability/README.md
doc/administration/high_availability/README.md
+18
-15
doc/administration/high_availability/redis.md
doc/administration/high_availability/redis.md
+702
-315
doc/administration/high_availability/redis_source.md
doc/administration/high_availability/redis_source.md
+387
-0
No files found.
doc/administration/high_availability/README.md
View file @
a9f7ce47
...
@@ -7,19 +7,10 @@ highly available.
...
@@ -7,19 +7,10 @@ highly available.
## Architecture
## Architecture
### Active/Passive
There are two kinds of setups:
For pure high-availability/failover with no scaling you can use an
active/passive configuration. This utilizes DRBD (Distributed Replicated
Block Device) to keep all data in sync. DRBD requires a low latency link to
remain in sync. It is not advisable to attempt to run DRBD between data centers
or in different cloud availability zones.
Components/Servers Required:
-
active/active
-
active/passive
-
2 servers/virtual machines (one active/one passive)
![
Active/Passive HA Diagram
](
../img/high_availability/active-passive-diagram.png
)
### Active/Active
### Active/Active
...
@@ -28,12 +19,24 @@ user requests simultaneously. The database, Redis, and GitLab application are
...
@@ -28,12 +19,24 @@ user requests simultaneously. The database, Redis, and GitLab application are
all deployed on separate servers. The configuration is
**only**
highly-available
all deployed on separate servers. The configuration is
**only**
highly-available
if the database, Redis and storage are also configured as such.
if the database, Redis and storage are also configured as such.
![
Active/Active HA Diagram
](
../img/high_availability/active-active-diagram.png
)
Follow the steps below to configure an active/active setup:
**Steps to configure active/active:**
1.
[
Configure the database
](
database.md
)
1.
[
Configure the database
](
database.md
)
1.
[
Configure Redis
](
redis.md
)
1.
[
Configure Redis
](
redis.md
)
1.
[
Configure NFS
](
nfs.md
)
1.
[
Configure NFS
](
nfs.md
)
1.
[
Configure the GitLab application servers
](
gitlab.md
)
1.
[
Configure the GitLab application servers
](
gitlab.md
)
1.
[
Configure the load balancers
](
load_balancer.md
)
1.
[
Configure the load balancers
](
load_balancer.md
)
![
Active/Active HA Diagram
](
../img/high_availability/active-active-diagram.png
)
### Active/Passive
For pure high-availability/failover with no scaling you can use an
active/passive configuration. This utilizes DRBD (Distributed Replicated
Block Device) to keep all data in sync. DRBD requires a low latency link to
remain in sync. It is not advisable to attempt to run DRBD between data centers
or in different cloud availability zones.
Components/Servers Required: 2 servers/virtual machines (one active/one passive)
![
Active/Passive HA Diagram
](
../img/high_availability/active-passive-diagram.png
)
doc/administration/high_availability/redis.md
View file @
a9f7ce47
This diff is collapsed.
Click to expand it.
doc/administration/high_availability/redis_source.md
0 → 100644
View file @
a9f7ce47
This diff is collapsed.
Click to expand it.
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