Moving servers between datacenters

cDGo

Verified User
Joined
Sep 21, 2012
Messages
86
Hi,

I need to move my servers to a new datacenter, and there for new IP addresses.

What would be the best way to be able to set the new IP's ahead of the actual shutdown and move?
With the IP manager I can set an additional IP address, but it's than bound to a reseller(s).
But the old IP can be deleted as soon as the server goes down.
And the new IP address should be assigned to the server.

Is there a way to do a one time change and be done with it after reboot?
 
create backup from Admin Backup then Install directadmin on your new server and upload backup.

Make sure every thing is same as old one server like template, webserver, any options.conf setting, directadmin.conf setting same

when restore, there have option to use DNS from backup or create new with server IPs.

if you select use DNS from backup, you need to manual change records with correctly IPs.

then pointer your new IPs to "ns1.yourdomain.com" and "ns2.yourdomain.com"

so everything will no down time if installed correctly. or atleast some DNS provider need time to re-sync with new IPs.
 
Hi Jamgames2,

Thank you for your reply.

I guess the question must be unclear.
There's no reinstalling involved.
Only change of IP address because of the physical move between datacenters?
 
Oh, ok

first thing,
follow this to change DNS record

it impossible to one time change reboot, but for easy thing. When you on new datacenter, just run this command ( I guest )
Code:
/usr/local/directadmin/custombuild/build rewrite_confs

this will rewrite all IPs in webserver or any template need to be change.

###UPDATE
I just found how to change IPs, ( Sometime I forgot that there have Docs )
 
Last edited:
Ok, thanks for the update.

So now the migration looks like this:
1) Just before the DNS change is done by my colocator, I alter the IP-address of the server(s) in centos
2) reboot the server(s) than use the ipswap.sh script to update the servers address (for all users in one go)
3) shutdown all servers
4) Move the hardware
5) Boot and hope for the best.
 
Back
Top