Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Migrating a large customer between two servers in a DNS cluster

Discussion in 'General Discussion' started by Vliegtuig, Dec 9, 2014.

  1. Vliegtuig

    Vliegtuig Well-Known Member

    Jan 21, 2010
    Likes Received:
    Trophy Points:

    We are planning to migrate a large customer between to servers in a DNS cluster. There are some caveats:
    • We do not control the DNS for this specific client
    • Transferring will probably take several hours
    • We want to test the entire website properly before actually migrating

    I am looking for a way to streamline this process. Currently the plan is:
    1. /scripts/pkgacct on source server
    2. scp the cpmove file
    3. /scripts/restoreacct on destination server
    4. Override /etc/hosts on a test client
    5. Test the site
    6. Lower DNS TTL
    7. Put source site in maintenance mode
    8. Rsync the entire site and copy the databases
    9. Make the actual DNS changes

    The problem with using a cpmove file is that the DNS entries are adjusted to point to the destination server as well. I don't think this will be a problem in this specific case since we do not control the DNS for this specific client, but I'd rather verify this before hand. Also: how would you do this if the the client-in-question WAS under DNS control?

    Would love to hear your advice.
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    Yes, the steps you have outlined are correct. It's also correct that since the DNS is handled on a remote server, the entries in the DNS zone on the cPanel server are not relevant. If the DNS was handled locally, then you could manually update the "A" entries to point to the source server after restoring the zone, and then update it again when you are ready to activate the website.

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice