Koozali.org: home of the SME Server

Contribs.org Forums => General Discussion => Topic started by: holck on April 26, 2012, 08:29:27 AM

Title: How to best upgrade to SME 8 and change hardware
Post by: holck on April 26, 2012, 08:29:27 AM
I have a small SME server running version 7, and now want to upgrade to version 8. It has been running smoothly for years, but I must admit that I have installed several extra packages, both standard packages from the default repositories, and extra software.

I also want to change to new hardware, and I will kindly ask for good advice on how to best go through this. Based on the information from the wiki and the forum, my own suggestion is something like:
Does this seem like a good strategy? Do you know of any tools that make it easy to go through step 2?

Thank you for a very high quality product, any help appreciated.

Jesper, Denmark
Title: Re: How to best upgrade to SME 8 and change hardware
Post by: Stefano on April 26, 2012, 08:41:30 AM
install SME8 on the new server
on the old one, use /sbin/e-smith/audittools/newrpms to get the list of contribs installed
use Affa (http://wiki.contribs.org/Affa)

you're done..
Title: Re: How to best upgrade to SME 8 and change hardware
Post by: mmccarn on April 27, 2012, 02:18:07 PM
I've done my last 3 - 4 upgrades (including 7.51 -> 8beta2) using "smeclone.sh" - a script I wrote specifically to aid in moving a SME to new hardware:
http://bugs.contribs.org/show_bug.cgi?id=5701

* makes no configuration changes on the old system (but does disable mail services during the transfer)
* copies custom templates to new server for reference, but does not activate them

Title: Re: How to best upgrade to SME 8 and change hardware
Post by: holck on May 07, 2012, 08:50:46 AM
install SME8 on the new server
on the old one, use /sbin/e-smith/audittools/newrpms to get the list of contribs installed
use Affa (http://wiki.contribs.org/Affa)

you're done..

Thank you, I tried Affa, and it seems to be a good solution. The upgrade failed, but that was not because of Affa, but because of problems with the network card (HP NC112T) in the new server.
Title: Re: How to best upgrade to SME 8 and change hardware
Post by: janet on May 08, 2012, 01:21:02 PM
holck

This article explains the correct backup & restore procedure
http://wiki.contribs.org/Backup_server_config#Backup_and_Restore_concepts.2C_issues_and_other_information

Title: Re: How to best upgrade to SME 8 and change hardware
Post by: Stefano on May 08, 2012, 02:11:07 PM
Thank you, I tried Affa, and it seems to be a good solution. The upgrade failed, but that was not because of Affa, but because of problems with the network card (HP NC112T) in the new server.

did you try to reconfigure your server?
did the network card work in the first instance, before running affa?
Title: Re: How to best upgrade to SME 8 and change hardware
Post by: holck on May 23, 2012, 08:51:11 PM
I have not succeeded in making my network card (HP NC112T PCIe*1 Gigabit card) work, unfortunately. I have tried both drivers from elinux and directly from HP, but none of them seem to work. No errors seem to be reported, but the card only occasionally manages to establish a connection to my Gigabit switch, and when it does, it is only 100 Mbit. I have tried different cables but with no success. It is not related to using Affa, I think.

Now I have bitten the bullet and ordered a new network card (Intel Gigabit CT Desktop Adapter PCI-E ). I still don't know, if the problems are due to a defect card, or to more general problems with the NC112T card and Centos.
Title: Re: How to best upgrade to SME 8 and change hardware
Post by: Smitro on June 02, 2012, 02:59:55 AM
Hi all,

Just about to head down this same path. Upgrading from 7.6 to 8.0 on new hardware.

If I do a backup to network folder. Then install the new server. And restore on the new server. Will that work? Do I need to worry about too much info being brought across in the backup? RPM's and configuration that could cause problems on the new server? I do have a few Contribs installed, but nothing that I can' reconfigure after. I'm not worried about data loss in the Contribs.
Title: Re: How to best upgrade to SME 8 and change hardware
Post by: TerryF on June 02, 2012, 03:24:54 AM
The link that mary posted above is a really good read and just about answers all questions..
Title: Re: How to best upgrade to SME 8 and change hardware
Post by: Smitro on June 02, 2012, 03:31:55 AM
I did read that. Just wanted to confirm I'd got it right and wasn't going to run into problems down the track.
Title: Re: How to best upgrade to SME 8 and change hardware
Post by: TerryF on June 02, 2012, 04:04:36 AM
I did read that. Just wanted to confirm I'd got it right and wasn't going to run into problems down the track.

Then to do this: "If I do a backup to network folder. Then install the new server. And restore on the new server."  and you used the inbuilt Backup/Restore then you are going to have to configure the backup/restore on the new system so as to access the network "share" where you backed up the old server.  All straight forward.

Depends on which option you use..
Title: Re: How to best upgrade to SME 8 and change hardware
Post by: janet on June 03, 2012, 03:15:54 AM
Trex

Quote
.... just about answers all questions..

What questions/answers are missing ?
Let's add them to the Howto if necessary.
It seems to me that backup & restore has been a perplexing issue for many sme users over all the years that sme has been in existence.

The more clarity the better !