Forums

Resolved
0 votes
Good evening...

I'm running ClearOS 6 on an antique box that I need to migrate to newer hardware. I have bare metal backups as well as configuration backups from the WebUI. What would be my best migration path to cut over to the new box? I can do a bare metal restore on the new hardware and then upgrade to v7 or I can install v7 and then restore the old v6 configuration. Or, is there a better or more preferred method for getting there.

My existing box is a Dell 490, single Xeon, 12GB, 120GB SSD and 3 NIC's. My new hardware will be a Dual Xeon, 24GB, 2x32GB SSD's and 6xNIC's. I'm looking for minimal downtime as this is a production network and I'll be required to wait till after business hours to begin and I must finish before 22:00 local time.

Thanks for any help!

-brian
Wednesday, November 11 2015, 03:38 AM
Share this post:
Responses (3)
  • Accepted Answer

    Sam
    Sam
    Offline
    Saturday, December 26 2015, 09:42 PM - #Permalink
    Resolved
    0 votes
    The 490 uses the Greencreek platform, yes? The 5000X chipset? That's ca. 2010 if memory serves (no pun intended). I'd guess you'd be OK... as long as your NICs are still supported. That was the gotcha that bit me when going from 6.7 to 7.1 - two of the three NICs in the machines I have as test platforms (and production, running 6.7) use a chipset (NatSemi MacPhyter, now owned by TI) that does not appear to be included in this distro anymore. I'd have to replace three machines with new if I want to use 7.1. Right now, not willing to spend the money so I'll just wait.
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, November 11 2015, 05:55 PM - #Permalink
    Resolved
    0 votes
    @Ben,
    How did you handle certificates, especially if you use OpenVPN or certificate authentication of e-mails?
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, November 11 2015, 04:01 PM - #Permalink
    Resolved
    0 votes
    Hi Brian,

    Since you're moving to new hardware anyways, and since there's no upgrade path from 6 to 7, my recommendation would be to bring up your new install on ClearOS 7 in parallel with your old server (eg. have it on the LAN in standalone mode).

    Install the apps you need to install on the new server...eg:

    Old server:
    rpm -qa | grep ^app | grep -v core | sed -r 's/^(app-[a-z\-]+)-[0-9.]+.*$/\1/'


    Or grab from /var/clearos/configuration_backup/installed_apps.txt

    Take that list and use it to install the same apps on your new server (make sure the new server is registered first).

    Setup the account engine (eg.LDAP, AD etc.)...perhaps use the account import app to create your users if you have a lot.

    Then copy over you data (scp is your friend...as is rsync).

    Many of the conf file in /etc/clearos/ work just fine from 6 to 7...including Flexshares...If you copy that over and toggle a change, it will force the re-creation of all relevant files.

    I had been procrastinating upgrading my home server from 6 to 7 for months (using the beta) because I thought the change over was going to be a PITA...turns out, it's a whole lot easier than you might think...and quicker too. Having the two systems up to sync and then doing a change over when you've tested everything...you could be looking at < 5 minutes of actual downtime.

    B.
    Like
    1
    The reply is currently minimized Show
Your Reply