Re: Active-Active Clustering with Subversion
From: Ryan Schmidt <subversion-2010b_at_ryandesign.com>
Date: Fri, 7 May 2010 10:50:45 -0500
On May 7, 2010, at 10:26, BD wrote:
> I'm starting a new project to consolidate all svn repos across our company into a single instance. Originally we looked at doing a active-passive cluster, but after looking at the loads on the current individual svn repos, we are thinking that an active-active cluster would be preferable.
Hosting a repo on NFS can work, but so many people write here for help after trying to do so and finding it doesn't work for them. It depends on whether your NFS implementation supports proper locking.
I've been told before that to do active-active clustering, you would want to have the repository data located on a cluster filesystem (e.g. Apple Xsan) accessed by both servers. Otherwise data corruption would indeed be a concern.
But, these days, you could have a simpler setup with two (or more) standalone servers which mirror each other's contents using svnsync. Write requests would have to happen on a single master server only, but the mirrors could be configured with a writethrough proxy to make this transparent. You should be able to find documentation on setting these up.
|
This is an archived mail posted to the Subversion Users mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.