Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    cPanel Partner NOC cPanel Partner NOC Badge DWHS.net's Avatar
    Join Date
    Jul 2002
    Location
    LA, Costa RIca
    Posts
    1,356

    Default Is there a tutorial around for upgrading centos

    I have several centos 3 servers still and some centos 4.x that need to be upgraded.

    is there a step by step that has been proven to work?

  2. #2
    cPanel Partner NOC cPanel Partner NOC Badge
    Join Date
    Mar 2003
    Location
    NC
    Posts
    725
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Take a look at this thread on ev1, it may even be posted here somewhere:

    http://forums.ev1servers.net/showthread.php?t=38797

    It is a pretty simple and effective way of moving all of the accounts with little downtime. If rsync /home to the new drive before rebooting to it you should be able to get the box back online within 30-60 minutes tops.

    I think some people have upgraded in-box from 3 > 4 but your best bet is just a fresh install. That method above will require one spare drive but it is the easiest way to do it.

  3. #3
    Member carock's Avatar
    Join Date
    Sep 2002
    Location
    St. Charles, MO
    Posts
    215

    Default

    I have successfully upgraded a couple of my CentOS 3.x server to the latest 4.x server by replacing them and using cPanel's multiple account transfer feature.

    Get the new server hardware together, install the O/S

    This worked best for me when I had two NIC's in the servers, the REAL IP NIC and "fake" IP NIC. Configure the new server with the same hostname as the other one, and only setup the "fake" IP network card so you have Internet access.

    Get your cPanel trial certificate for the "real" IP of your fake network, i.e. your firewall's reall IP address.

    Install cPanel.

    Secure your server.

    Check for any other differences, extra perl modules, other scripts installed outside cPanel, Zend etc.

    Make sure you have at least the latest cPanel stable version installed on the old server.

    Unplug the REAL IP NIC on the old server. This will keep any dynamic content form being updated during the transfer.

    I killed Exim and Apache and the cPanel monitor that automatically restarts those if they fail, chkservd.

    Now log into the new server's WHM, go to the Multiple Account Functions and do the transfer multiple accounts.

    Use the "Fake" IP of the old server to connect and list the accounts to transfer. Select the accounts to transfer and click the button. Whatever you do, don't close that window or navigate away from that page in that window. The copy process will continue even if there's no browser to show you the status, so you'll never know when it's complete or what was not copied successfully.

    After that's done, you will want to make any neccessary changes to /etc/localdomains to match the old server. You will also want to make sure the DNS zones that had any manual or custom changes are also done on the new server. Those changes don't copy to the new one.

    Once you've got that done, you should be able to plug the REAL IP nic in on the new server, and your sites should work as if nothing changed...

    Of course we all know that nothing is 100%, so be prepared to drop everything and fix some stuff. There's always risks the upgrade will bring to your customers code that you have no knowledge of. I usually give them a week or two notice if possible to let me know of any problems they might have and also let them schedule time to make fixes once the move is complete.

    Don't forget to reconfigure your backups on the new server.

    Hope this helped you.

    Chuck

Similar Threads & Tags
Similar threads

  1. Replies: 0
    Last Post: 05-17-2009, 10:34 AM
  2. Upgrading Centos 5.0 to 5.2 x86_64
    By tpalmer in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 11-08-2008, 07:55 PM
  3. CentOs 4.4 setup question (for centos users)
    By bsasninja in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 03-26-2007, 01:42 PM
  4. Upgrading from RH7.3 to CentOS 4.4
    By dev_cw in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 12-15-2006, 06:20 PM
  5. upgrading from CentOS 4.3 -> 4.4 Missing Dependency: glibc-common
    By jamesbond in forum cPanel and WHM Discussions
    Replies: 16
    Last Post: 09-11-2006, 05:54 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube