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

Re: SYNC process

From: Nico Kadel-Garcia <nkadel_at_gmail.com>
Date: Thu, 28 Mar 2013 20:47:41 -0400

On Thu, Mar 28, 2013 at 10:34 AM, Somashekarappa, Anup
<anup.somashekarappa_at_rbc.com> wrote:
>
>
> Hello Team,
>
> We do have master-slave configuration for SVN and we were planning for
> Disaster Recovery plan.
>
> We need some information regarding this process.
>
> We have created a repository on master node.
> Initialized the slave node with master
> And through post-commit we are using svn sync process for synchronization.It
> is working fine.
>
> Now if the master server is down,we have direct users to do the commit on
> slave node.

You have to shoot the old master in the head and re-establish the
master slave roles, reversed. Otherwise, you will encounter
"split-brain" madness. There are nice commercial solutions from
Wandisco that address precisely this situation: I'd highly recommend
using them instead of trying to brew this on your own, because
synchronizing and replicating other communications and failing over
gracefully can get quite tricky, and they've convinced me from their
explanations here that they're doing it correctly.
Received on 2013-03-29 01:48:13 CET

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.