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, newer machine, which
has been configured as a twin of the primary, but with the latest
software, and a different subdomain name. 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 minimal interuption.
dig
[your ip in reverse].in-addr.arpa
/etc/namedb
.hosts
file, ensure new IP has A
record.named.conf
: new IP into
sections allow-transfer
,
allow-query
/etc/namedb
named.conf
: listen-on
needs self IP/etc/rc.conf
ifconfig, default_router, hostname/etc/passwd
(use vipw
) I put my system name into the root entry instead of that stupid "charlie"/etc/resolv.conf
(nameserver(s) may need to change)/etc/mail/
[system-name].mc
confDOMAIN_NAME
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=63.226.250.178, Name=MSA, M=bh')
/etc/mail/access
possibly several/etc/mail/aliases
possibly several/etc/mail/local-host-names
possibly several/etc/mail/relay-domains
possibly severalmake
[system-name].mc
and copy it into place, then restart.
/usr/local/etc/imapd.conf
servername?/usr/local/lib/sasl2/Sendmail.conf
servername?servername:
must match your secure certificate name for TLS to work.
/usr/local/etc/apache/httpd.conf
/usr/local/etc/apache/httpd.conf/Includes/http-vhosts.conf
IP addr for vhostsroot/bin/get-dup.pl
(only if this is a secondary)shutdown -h now
/usr/local/etc/mail/spamassassin/local.cf
/var/spool/
(imap email store)