Most important - don't forget to bring your card key when you go to the co-lo site!
We're assuming we're simply moving the machine from one IP address to
another, and changing it's name at the same time. We are NOT changing
the domain, only the server name within the domain. As an example,
what I'm doing is moving a machine from a DSL line at my home, to a
high-speed co-lo. Different IP.
I'm choosing to change the name as I already have a name for that co-lo address established in DNS. The idea is to minimize the downtime during the move. I have a secondary machine which has been basically configured as an identical twin of the primary. I'll be moving this secondary to the co-lo, and once it's all happy, then change it over to being the primary, thus no interuption. Clear as mud?
.hostsfile, ensure new IP has
named.conf: new IP into sections
listen-onneeds self IP
/etc/rc.confifconfig, default_router, hostname
vipw) I put my system name into the root entry instead of that stupid "charlie"
/etc/resolv.conf(nameserver(s) may need to change)
DAEMON_OPTIONS(`Port=smtp, Addr=rachis.vintners.net, Name=MTA')
DAEMON_OPTIONS(`Port=smtps, Addr=rachis.vintners.net, Name=TLSMTA')
DAEMON_OPTIONS(`Port=587, Addr=220.127.116.11, Name=MSA, M=bh')
.mcand copy it into place, then restart.
servername:must match your secure certificate name for TLS to work.
/usr/local/etc/apache/httpd.conf/Includes/http-vhosts.confIP addr for vhosts
root/bin/get-dup.pl(only if this is a secondary)
shutdown -h now