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.

New Server Migration

Discussion in 'General Discussion' started by dev.null, Jul 16, 2004.

  1. dev.null

    dev.null Well-Known Member

    Joined:
    May 27, 2003
    Messages:
    75
    Likes Received:
    1
    Trophy Points:
    6
    We're installing a new server to replace our current server.

    We currently run all of our DNS separately from the whm/cpanel server, even though it does run DNS for the sites.

    Our current server has it's own public IP (as opposed to sitting in a private network behind a NAT firewall).

    To make the migration as seemless as possible here is our plan. Please feel free to offer better solutions.

    1. We will place a DNAT firewall in front of the current server. The firewall will maintain the public IP and DNAT the incoming connections to the current server which will have a local/private IP.
    2. The new server will be placed on that same private network with the DNAT firewall maintaining it's public IP as well
    3. We log into the whm of the new server and start pulling account across to the new server.
    4. When a site's migration to the new server completes we will go change it's dns to reflect the new server IP.

    The reasons we want to move to the DNAT/firewall combo are:
    1. Increased Security.
    2. Durring the migration we should be able to run under one license, since it's the public IP that is SNATed that gets counted as the "licensed" server. Even though both systems will have their equivalent public IP, all outbound connections will be SNATed with the currently registered IP. If we understand the licensing correctly this should work.

    Any caveats we should know about? or can anyone recommend a different method?

    We have thought about just raw copying the /home directories over, /etc/passwd and /var/lib/mysql (did we leave anything out?) and then direct the DNAt to go to new server, but we were afraid we would miss something.

    Thanks for any feedback.
     
  2. dev.null

    dev.null Well-Known Member

    Joined:
    May 27, 2003
    Messages:
    75
    Likes Received:
    1
    Trophy Points:
    6
    I'm not so worried about the license. I can always buy a license for one month while we do the transition. What I'm concerned with is getting it to work smoothly.

    Why do you say it won't work?
     
Loading...

Share This Page