[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Multi-master setup with Apache and NFS feasible ?

From: Tobias Gierke <Tobias.Gierke_at_freenet-ag.de>
Date: Tue, 18 Aug 2009 13:22:52 +0200

> On Aug 18, 2009, at 03:36, Tobias Gierke wrote:
>> For performance reasons, we're thinking about setting up two Apache
>> Servers that both provide access to a shared (FSFS) repository on NFS.
>> I've found quite a lot of different opinions on such a setup (with
>> regards to data corruption/locking issues), some are quite old and refer
>> to SVN <1.5.
>> Does anybody successfully use this kind of setup (running SVN 1.5.x on
>> Linux,can't upgrade to 1.6 right now) or should we just get faster
>> hardware (storage) for our master server and keep the other box as a
>> hot-standy (using the write-through proxy mechanism) ?
> AFAIK most projects get by just fine with a single Subversion server.
> You can add read-only mirrors if you need more performance. If you
> need everyone to be able to write too, then you can set up
> write-through proxying on those mirrors.
Good point. This would probably be the easier solution (though this
whole 'svnadmin dump' stuff using a post-commit hook feels more like a
hack, not like a feature).
> I have been told before that if you use a cluster filesystem like
> Apple's Xsan, you can have multiple master servers pointing at the
> same repositories and serving them simultaneously, which would help
> eliminate your Subversion server as a single point of failure (and
> instead make your NAS the single point of failure).
> AFAIK NFS by itself is not a cluster filesystem and thus couldn't be
> used in this manner.
I can't see why you would need a cluster FS to do this. The main
difference between a network FS (NFS,CIFS etc.) and a cluster FS is the
fact that a cluster FS doesn't use a central server to manage data
access/locking. I think both solutions should work equally well
(although performance most likely is quite different).

Thanks for your reply,


Tobias Gierke / Software Entwickler
Tel.: +49 (0) 431-90-20566
Fax: +49 (0) 431-90-20570
freenet Cityline GmbH (Ein Unternehmen der freenet AG)
Am Germaniahafen 1-7
D-24143 Kiel
www.freenet.de / www.mobilcom.de / www.freenet.ag
Geschäftsführung: Christoph Vilanek, Stephan Esch, Andreas Jürgensen, Bodo Rebetge, Andreas Sand
Sitz: Kiel, Amtsgericht Kiel HRB 6202 KI
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].

Received on 2009-08-18 13:24:05 CEST

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.