I'm moving a Gentoo Linux server with Subversion SVN running on it this weekend to a new physical location, with a new IP address.

My question is:

Do I need to do anything other than change the IP address info (ip/mask/gateway/DNS hosts) and update DNS records for the server?

Is there anything involved with making sure Subversion works properly after the changes?

link|improve this question

1  
Eww. Gentoo. Why? – Tom O'Connor Dec 7 '11 at 18:17
1  
How's SVN being served - svnserve, ssh, or WebDAV? – Shane Madden Dec 7 '11 at 18:18
Tom...don't know...it was inherited and nobody wants to mess with it. It's running Gentoo 1.x from 10 years ago. – TheCleaner Dec 7 '11 at 20:58
svnserver is a service (sudo netstat -tlnp), WebDAV - is exposed trough apache – Mircea Vutcovici Dec 8 '11 at 18:09
feedback

1 Answer

up vote 1 down vote accepted

When moving a server in a different subnet, you need:

  • change the IP address and netmask
  • change the gateway
  • change the DNS /etc/resolver.conf (optional, may be it is the same)
  • change DNS A, MX and PTR records for the new IP
  • change the SSL certificates if they are issued for a different name (e.g. if you expose SVN via WebDAV)
  • update the static routes (probably not needed in your case)
  • update mailer if it is not the same and if you use one
  • update the backup client/scripts with the new IP

You can test the new IP by adding it as an alias or secondary IP to the ethernet interface.

link|improve this answer
Same name...so I guess how SVN is being served doesn't matter, correct? No need to mess with SSL certs? – TheCleaner Dec 7 '11 at 20:59
SVN will work fine if you change the IP. – Mircea Vutcovici Dec 7 '11 at 21:17
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.