Koozali.org: home of the SME Server

Upgrading vs new install + restore

Offline crazybob

  • ****
  • 894
  • +0/-0
    • Stalzer R&D
Upgrading vs new install + restore
« Reply #15 on: May 05, 2006, 06:07:05 AM »
I am going to convert a server to SME7.0RC2 this weekend, and want to make sure I have the proper steps.

I have tried to follow the bug report, and I am probably being a little thick, so I want to verify the proper steps.

Starting with a clean install of SME7.0RC2
Add one of the old hard drive as primary slave.
old system system is standard install of SME6.01 with added rpms removed.


1.  cd /
2.  mkdir /mnt/tmp
3.  mount /dev/hdb2 /mnt/tmp
4.  /sbin/e-smith/db configuration setprop backup Program CopyFromDisk status enabled
5.  /sbin/e-smith/signal-event pre-restore
6.  /sbin/e-smith/signal-event restore-tape /mnt/tmp
7.  /sbin/e-smith/signal-event post-upgrade
8.  /sbin/e-smith/signal-event reboot
If you think you know whats going on, you obviously have no idea whats going on!

Offline raem

  • *
  • 3,972
  • +4/-0
Upgrading vs new install + restore
« Reply #16 on: May 05, 2006, 06:19:29 AM »
crazybob

Your steps are in accordance with
http://bugs.contribs.org/show_bug.cgi?id=615

It's always good to give something you have never done before a try out in a test situation first, in order to prove your procedures.
If it doesn't work then it should not be a problem as you still have the original disk.

Let us know how it goes as I 'm sure there are plenty of us out there who will make use of this feature as sme7 gets implemented on production sites currently running sme 6.x.
...

Offline crazybob

  • ****
  • 894
  • +0/-0
    • Stalzer R&D
Upgrading vs new install + restore
« Reply #17 on: May 05, 2006, 06:35:55 AM »
Thanks Ray,

Will do.  I am hoping Charlie, Lloyd, or Grodon will take a look at it also. It looks like they have done a lot testing with it.
If you think you know whats going on, you obviously have no idea whats going on!

Offline crazybob

  • ****
  • 894
  • +0/-0
    • Stalzer R&D
Upgrading vs new install + restore
« Reply #18 on: May 07, 2006, 11:06:13 PM »
It works great. Unload the rpms that could cause a problem. Put in a couple of new hard drives, Install SME7.0rc2, and went through the steps above. Only problem was identifing the proper drive, but that was not a big deal. 60Gb of data in about an hour or so.

Thanks to Charlie, Lloyd, and Gordon for making this so easy


Bob
If you think you know whats going on, you obviously have no idea whats going on!

robw

7.0 install and restore of 5.5 backup
« Reply #19 on: May 31, 2006, 06:47:03 AM »
I have a 5.5 server which has served long and faithfully. I now want to upgrade and am looking at installing 7.0RC2 on new hardware and then restoring a backup of the 5.5 server onto it. Is this OK/possible?

Offline crazybob

  • ****
  • 894
  • +0/-0
    • Stalzer R&D
Upgrading vs new install + restore
« Reply #20 on: May 31, 2006, 02:52:57 PM »
If you think you know whats going on, you obviously have no idea whats going on!

robw

Upgrading vs new install + restore
« Reply #21 on: June 01, 2006, 12:28:37 AM »
Thanks for that Bob. This link talks about an upgrade process. I am looking at building a new 7.0RC2 server and restoring the 5.5 backup onto it. Has anyone had experience with this?

Offline chris burnat

  • ****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Upgrading vs new install + restore
« Reply #22 on: June 01, 2006, 01:02:49 AM »
I believe that you need to upgrade from 5.5 to 5.6 first of all, then do a backup.  Use this backup to restore your data on the fresh install of vs7.  I have done a couple of these, but went all the way from 5.5 to 5.6, then 5.6 to 6.0, dfone a backup, then restored along the lines discussed in this thread. Had no problems, just time consuming.
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

robw

Upgrading vs new install + restore
« Reply #23 on: June 01, 2006, 03:30:46 AM »
Hi Burnat,

many thanks for the advice which I will, of course, take. My only problem now is where can I get a copy of 5.6 to do the initial upgrade?

Again, many thanks,

Rob

Offline brianr

  • *
  • 988
  • +2/-0
Upgrading vs new install + restore
« Reply #24 on: June 01, 2006, 10:50:02 AM »
>My only problem now is where can I get a copy of 5.6 to do the initial upgrade?

email me  - I have a 5.6 iso, plus the update rpms
Brian j Read
(retired, for a second time, still got 2 installations though)
The instrument I am playing is my favourite Melodeon.
.........

Offline chris burnat

  • ****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Upgrading vs new install + restore
« Reply #25 on: June 04, 2006, 02:37:02 PM »
Quote from: "CharlieBrady"

Please report problems only via the bug tracker, not via this gossip column :-).


Gooday Charlie, not sure what you mean here, would you kindly elaborate?
Regards, chris.
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline kruhm

  • *
  • 680
  • +0/-0
Upgrading vs new install + restore
« Reply #26 on: June 06, 2006, 01:13:07 AM »
Did a fresh install of 7.0rc2 (1 drive on hda)
Removed a RAIDed drive from V6 and installed on the second channel

During boot it recognizes the second drive as hdc.

Then errors out:

ERROR: /bin/lvm exited abnormally! (pid 194)
Creating root device
Mounting root filesystem
mount: error 6 mounting ext3
mount: error 2 mounting none
Switching to new root
switchroot: mount failed: 22
umount /initrd/dev failed: 2
Kernel panic - not syncing: Attempted to kill init!

Offline chris burnat

  • ****
  • 1,135
  • +2/-0
    • http://www.burnat.com
Upgrading vs new install + restore
« Reply #27 on: June 07, 2006, 02:13:49 PM »
Quote from: "kruhm"
Did a fresh install of 7.0rc2 (1 drive on hda)
ERROR: /bin/lvm exited abnormally! (pid 194)
!


Kruhm, it may be a good idea to report this problem to the bugtracker, you can access it from the menu on the left of the screen {Bug Tracker].  The Devs may not have read this post, it may assist them in improving things.  No harm done even if it is not a bug.
- chris
If it does not work out of the box, please fill in a Bug Report @ Bugzilla (http://bugs.contribs.org)  - check: http://wiki.contribs.org/Bugzilla_Help .  Thanks.

Offline kruhm

  • *
  • 680
  • +0/-0
Upgrading vs new install + restore
« Reply #28 on: June 11, 2006, 02:29:57 PM »
Just as a follow up:

Relevant bug is here:
http://bugs.contribs.org/show_bug.cgi?id=961

I had to:
-remove a drive from the old system
-install in new system on hda
-boot off knoppix
-change all partitions type to 'linux' for hda

Then I could boot off the new install and transfer all the info by following the instructions above.

However it doesn't seem to be any different than just simply upgrading using the ugrade feature when booting off the CD.

Also, for people trying to understand LVM, I put a lvm exercise here:
http://no.longer.valid/phpwiki/index.php/lvm
(if you see errors, just edit the doc)

Offline kruhm

  • *
  • 680
  • +0/-0
Upgrading vs new install + restore
« Reply #29 on: June 13, 2006, 11:24:17 PM »
burnat (or anyone else), can you take a look to see if this will remove all contribs: http://forums.contribs.org/index.php?topic=32381.msg136939#msg136939