Best practices for re-IP'ing / migrating servers and applications
- by warren
Some of this question would be highly application-specific, but what approaches do you take when looking to migrate applications from one server/platform to another and servers form one network segment to another?
For applications that can't be re-IP'd (many exist in this category), the general answer is to nuke and pave (or extend a clusterable application, then remove the segment that needs to be "moved").
For "normal" applications (httpd, mail, directory services, etc), what are the checks ou perform before, during, and after a move to ensure the health of the migrated app/server?
An example with Apache:
backup httpd conf directory
change httpd conf files to use new IP address of server
change (or add) IP of server
restart Apache
verify web server still serves pages
reboot server
verify environment comes back up healthy