Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

Connect to svn master when outside firewall, connect to svn slave when inside

$
0
0

Here is the planned setup.

  1. Subversion master outside the corporate firewall, as a cloud instance.
  2. one svn slave replicated with the cloud svn master, but is inside corporate firewall (office network).
  3. Now people when inside office, connect to svn slave for updates and commits directed at slave are written through proxy forward to the cloud svn master. (Standard svn master-slave setup)
  4. Users checkout a repository from inside office, so the url used will point to the slave repo.
  5. User makes some changes to the files, not checked in yet.

Now problem is

  1. what happens to users when they work from home (no vpn) and want to commit or update ? The checked out project(repo) points to slave, which is not accessible from outside office.
  2. Will the user has to change the url manually and make it point to svn master in cloud and then do the updates/commits when outside office network? And change back to point to svn slave when inside office network ?
  3. Is there a way to automate this, or make it transparent to the end user? So when user works from home it points to svn master in cloud and when inside office it points to svn slave ?

Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>