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
5e762458
Commit
5e762458
authored
Oct 29, 2018
by
Valery Sizov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Geo] Add instructions to remove tracking database after promotion
parent
e600d6b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
doc/administration/geo/disaster_recovery/index.md
doc/administration/geo/disaster_recovery/index.md
+10
-0
No files found.
doc/administration/geo/disaster_recovery/index.md
View file @
5e762458
...
...
@@ -180,6 +180,16 @@ Geo on the new primary.
To bring a new secondary online, follow the
[
Geo setup instructions
][
setup-geo
]
.
### Step 6. (Optional) Removing the secondary's tracking database
Every
**secondary**
has a special tracking database that is used to save the status of the synchronization of all the items from the
**primary**
.
Because the
**secondary**
is already promoted, that data in the tracking database is no longer required.
The data can be removed with the following command:
```ssh
sudo rm -rf /var/opt/gitlab/geo-postgresql
```
## Promoting secondary Geo replica in multi-secondary configurations
If you have more than one secondary and you need to promote one of them we suggest you to follow
...
...
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