Difference between revisions of "UpdateFrom7.5to8.0b6"

From SME Server
Jump to navigationJump to search
Line 13: Line 13:
 
##run a backup
 
##run a backup
 
##test the backup (restore just one file, or at least list the contents of the archive)
 
##test the backup (restore just one file, or at least list the contents of the archive)
##disconnect the USB HD
+
##disconnect the USB Hard Drive
 
##Shutdown the server
 
##Shutdown the server
 
##Disconnect each internal hard drive one at a time ahd re-boot to make sure you can boot from either drive (at this point you have broken the raid, you will not be able to reboot with both drives and expect it to resume the raid without some manual intervention.
 
##Disconnect each internal hard drive one at a time ahd re-boot to make sure you can boot from either drive (at this point you have broken the raid, you will not be able to reboot with both drives and expect it to resume the raid without some manual intervention.
 
##Decide which drive to keep as a short term backup and only connect the other one
 
##Decide which drive to keep as a short term backup and only connect the other one
 
##Install SME8 on the remaining drive (probably from a CD).
 
##Install SME8 on the remaining drive (probably from a CD).
 +
***Make sure you give the server the same name as the old server 
 
##Reboot  
 
##Reboot  
 
##Yum update to the latest version of the base system
 
##Yum update to the latest version of the base system
 
##signal-event post-upgrade and reboot
 
##signal-event post-upgrade and reboot
##Install the [[DAR2]] package on the SME8 system
+
##Install the [[DAR2]] package on the SME8 system, if still on the Beta release you'll need to switch the contribs repo as per: [[SME8.0_Contribs_QA]]. Note that a reboot after you do switch the repo will switch it back to the SME8 one (which at this moment does not have any contribs in it, as they have not yet been released for SME8 (although a lot of them do work - see [[SME8.0_Contribs_QA]].
 +
##Plug in the external USB Hard Drive and restore the dar2 database as per [[DAR2#Manual_restore_of_DAR2_configuration]]
 +
##Do a restore using the [[DAR2]] package panel in server-manager.
 +
##

Revision as of 10:44, 10 September 2010

Introduction

This page documents a way of updating from an SME7.5 system to SME8 (currently 8.0b6, but I would expect it to work on final release as well).

It relies on having a fully up to date SME7.5 system running on raid 1 (i.e 2 hard discs), and using the dar2 contrib to archive the system onto USB hard drive.

Please note, as at 10Sept2010 this document is a work in progress, if you want to comment on it, then please add something under "discussion".

Once it is (first pass) finished I'll post a message in the forums.

Steps

  1. Install the DAR2 package on your SME7.5 system, plug in a USB drive of enough size and configure a backup
    1. run a backup
    2. test the backup (restore just one file, or at least list the contents of the archive)
    3. disconnect the USB Hard Drive
    4. Shutdown the server
    5. Disconnect each internal hard drive one at a time ahd re-boot to make sure you can boot from either drive (at this point you have broken the raid, you will not be able to reboot with both drives and expect it to resume the raid without some manual intervention.
    6. Decide which drive to keep as a short term backup and only connect the other one
    7. Install SME8 on the remaining drive (probably from a CD).
      • Make sure you give the server the same name as the old server
    1. Reboot
    2. Yum update to the latest version of the base system
    3. signal-event post-upgrade and reboot
    4. Install the DAR2 package on the SME8 system, if still on the Beta release you'll need to switch the contribs repo as per: SME8.0_Contribs_QA. Note that a reboot after you do switch the repo will switch it back to the SME8 one (which at this moment does not have any contribs in it, as they have not yet been released for SME8 (although a lot of them do work - see SME8.0_Contribs_QA.
    5. Plug in the external USB Hard Drive and restore the dar2 database as per DAR2#Manual_restore_of_DAR2_configuration
    6. Do a restore using the DAR2 package panel in server-manager.