Moving server to new IPs

prophecy

Verified User
Joined
Jul 8, 2003
Messages
205
What would be the best way to go about doing this?

Basically want to move the server (hardware and all) to new rack with new ips with minimal downtime.
 
I recently had a server move forced upon me and here what I did:
  • Installed a clean DA on the new server
  • Re-created all user accounts on the new server (using random string for password)
  • Tarred and transfered to new server:
    • /home/*
    • /var/named/*
    • /var/spool/virtual/*
    • /var/lib/mysql/*
    • /usr/local/directadmin/data/*
  • Ran a search and replace changing my old IP to the new IP on all files in /var/named and /usr/local/directadmin/data
  • Modified my nameserver IPs with my domain registrar
I think that's everything that was involved. It's probably not the easiest method, but it works :)

Make sure you leave the old server up until everyone's domains repropagate. (Forwarding all incoming requests to the new server is another thing I did.)

Phi1.
 
Last edited:
Ok, I don't have to change servers, just IPs. I'm using the same hardware, but I want to have a smooth transition.
 
Back
Top