The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Migrate email server to another datacenter

Discussion in 'E-mail Discussions' started by Tom Risager, Jul 9, 2014.

  1. Tom Risager

    Tom Risager Well-Known Member

    Joined:
    Jul 10, 2012
    Messages:
    107
    Likes Received:
    3
    Trophy Points:
    18
    Location:
    Copenhagen, Denmark, Denmark
    cPanel Access Level:
    Root Administrator
    We have a cPanel server that is being used only for email. We are planning to migrate it to another datacenter, so the IP address will change. The new server has been configured same as the old, using the same hostname and service SSL certificates, and the TTL of the hostname A record has been lowered to 15 minutes.

    DNS is handled on a different server - the mail server is not clustered with the name server. MX records are all CNAMEs to the mail server hostname.

    We are planning to use this process to complete the move:

    1. Stop Exim, Imap and POP services on the old server. Block access to webmail in the firewall.
    2. Transfer all all accounts using the transfer tool.
    3. Update server's DNS A record with new IP
    4. Update reverse DNS record for the new IP (cannot be done until forward DNS has been updated)

    At this point we expect to be up and running again on the new server, once DNS caches time out. We are expecting sending email servers to retry delivery of any email that could not be delivered while the move was going on.

    Are there any obvious issues with this plan? Other than a service interruption while the accounts are being transferred, we expect this to be transparent to the users. Once DNS has propagated we expect the user's email clients to behave exactly as before the move, with no actions required from the users. Does that sound right?

    Any inputs will be appreciated.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    The plan you have described seems like an ideal method of migrating to a new server. Ensure you disable Chkservd on the source server when you stop the services so they are not restarted automatically.

    Thank you.
     
Loading...

Share This Page