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

Re: Keeping a hot/live FSFS repo for failover

From: Kyle Kline <kyle.kline_at_gmail.com>
Date: 2006-11-16 18:17:45 CET

Gotcha. So maybe just be easier to set the UUID of the backup to be the
same UUID as the primary (using your method, seems a bit safer), and that
won't mess up anything?

Appreciate it!
-Kyle

On 11/16/06, Garrett Rooney <rooneg@electricjellyfish.net> wrote:
>
> On 11/16/06, Kyle Kline <kyle.kline@gmail.com> wrote:
> > One more follow-up on this:
> >
> > I notice the UUID of the backup repo is different than the live repo,
> which
> > would cause issues with commits if we had to failover.
> >
> > Is the below approach sufficient:
> > copied the *backup* UUID as UUID.backup
> > copied the live UUID file into the *backup* as UUID.live
> >
> > In the event of a failover, do a
> > copy UUID.live UUID (windows folks, sorry)
> >
> > And when "failing back" to primary, to turn it back into the sync/backup
> > copy UUID.backup UUID
> >
> >
> > (Same with revprop 0, have a 0.backup and a 0.live)
>
> There is a "nicer" way to do it via svnadmin described in
> http://svn.collab.net/repos/svn/trunk/notes/svnsync.txt, but yeah,
> you've got the general idea.
>
> -garrett
>
Received on Thu Nov 16 18:18:51 2006

This is an archived mail posted to the Subversion Users mailing list.