How to automatically connect to mirror svn repo when source repo crashed? -


are there way/work around automatically connect mirror repository if source repo crashed?

it hasn't happened me want know can before happens.

there many ways handle this.

the repos uuids must match on mirror , master solution.

the simplest way use 'svn switch' command point mirror site. results in read access mirror until master up.

for auto read/write failover, , assuming using svnsync , apache create mirror, 1 way follows:

  1. make sure repos in in mirror site have uuids set match master repos uuids.

  2. implement backup dns alias entry switch dns upon primary failure

  3. have name based vhost clone of primary server setup preconfigured on mirror site

  4. use svn hook scripting detect primary vhost entry through mirror

  5. come plan fail , untangle mess.


Comments

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -