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.

centos major upgrade best practice

Discussion in 'General Discussion' started by dandadude, Nov 20, 2011.

  1. dandadude

    dandadude Active Member

    Joined:
    Apr 14, 2011
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    Hi!

    I need a best practice to upgrade CentOS 5.7 to CentOS 6.0.

    My Cpanel server is running in a XEN domU, and the new server will also be a XEN domU, so the 2 servers can run parallel, but I need to provide a new IP for the new server.

    Other questions I don't really know:
    - How can I install Cpanel on the new server parallel if I only have 1 licence dedicated to my old server's IP?
    - I have read that account migration is the best choice. If this is true, what else do I have to do, is there a howto for this?

    Thanks,
    Daniel
     
  2. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Hello Daniel,

    For the new server, you might contact cs@cpanel.net to ask about a possible trial license for the cPanel to cPanel migration. I cannot state how they will handle it as the licensing is at their discretion.

    The best route would be to get the new CentOS 6 machine running with cPanel on it, then use WHM > Transfers > Copy multiple accounts/packages from another server area. For any cPanel / WHM configuration settings, you might follow the recommendations in this thread to copy those files over:

    http://forums.cpanel.net/f5/process-moving-whm-cpanel-server-new-hardware-184192.html#post831162
     
  3. dandadude

    dandadude Active Member

    Joined:
    Apr 14, 2011
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    Hi Tristan!

    Thanks for the answer! I have checked the thread you have referred but for instance, those commands do not include the migration of special virtualhost settings in:
    /usr/local/apache/conf/userdata
    And what about /etc/my.cnf...
    What about /usr/local/lib/php.ini...

    And there must be so many other customizations. Isn't there any completer list of config files to migrate?

    It seems a bit scary, because there are so many things that a migration like this can be a real pain in the *ss :)

    Thanks,
    Daniel
     
  4. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    The files provided are the cPanel customized files rather than user system customized files. /etc/my.cnf and /usr/local/lib/php.ini are not cPanel custom template files.

    You can certainly add /usr/local/apache/conf/includes and /usr/local/apache/conf/userdata as folders to copy.
     
  5. dandadude

    dandadude Active Member

    Joined:
    Apr 14, 2011
    Messages:
    26
    Likes Received:
    0
    Trophy Points:
    1
    Hi Tristan!

    Ok, thanks for the information. It is a bit scary this way, because who knows what I will leave out, but the tools you have mentioned makes the migration much easier!

    Thanks very much!

    Daniel
     
Loading...

Share This Page