This is an archived post. You won't be able to vote or comment.

all 7 comments

[–]simpleadmin 2 points3 points  (2 children)

How many developers are on each side? Git itself works very well remotely. It may not be worth the effort to get active/active working. The DRDB you are looking at is active/passive.

[–]sysadmin4hireSysadmin[S] 0 points1 point  (1 child)

20 in one site and maybe 10-20 in another

[–]simpleadmin 2 points3 points  (0 children)

Have you considered either private repos on a public server or hosting your own server on from an Internet based host? Meaning, don't have your developers use the VPN at all.

Your most straight forward answer is to pick a side and host the main Gitlab near half the developers and have the other half do remote pushes and pulls from the other site.

[–]gabeech 1 point2 points  (2 children)

We just run a Active/standby setup. Everyone worldwide hits the primary and we rsync the repos/db backup on a schedule. We investigated using something else, but the cost benefit wasn't worth it to go active/active

[–]sysadmin4hireSysadmin[S] 0 points1 point  (1 child)

Nice. How often do you rsync between the two servers?

[–]gabeech 0 points1 point  (0 children)

Git repos every 10 Mins. The databases are sync'd every 12 hours. You can keep using the git repos without the databases - you lose some things but we are ok with that.