Changes

Jump to navigation Jump to search
840 bytes added ,  17:10, 10 September 2010
no edit summary
Line 1: Line 1:  +
[[Category:Howto]]
 +
[[Category:Advanced]]
 +
 
==Introduction==
 
==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).
 
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.
 
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.
The method gives you a method of recovering the 7.5 system if you have to (for example if something fails to work for you).
+
The method gives you a way of recovering the 7.5 system if you have to (for example if something fails to work for you).
 
  −
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==
 
==Steps==
Line 27: Line 26:  
#When it has done, then do a ''Signal-event post-upgrade'' and ''signal-event reboot'' and check that the data is correct and that your server does the job you expect of it.
 
#When it has done, then do a ''Signal-event post-upgrade'' and ''signal-event reboot'' and check that the data is correct and that your server does the job you expect of it.
 
#Once you are happy with the new software, then you can add the other hard drive as follows:
 
#Once you are happy with the new software, then you can add the other hard drive as follows:
##blah blah
+
##Close down the server and disconnect the primary hard drive and reconnect the "spare" drive and boot from it.
 +
##Get into a terminal session (you are back in SME7.5 at this stage - a good idea to disconnect the Network also to stop emails being delivered to the wrong system).
 +
##Overwrite the initial blocks on the drive by ''dd if=/dev/zero of=/dev/sdc count=255''. This stops SME8 thinking that the spare drive has a raid partition on it and thus not booting properly (it fails at the udev stage). Note that the ''/dev/sdc'' must be replaced by the device name of your spare hard drive.  Please be careful about this bit, if yu overwrite the wrong hard drive you will regret it (although you could still recover back to 7.5)
 +
##Close down the system
 +
##Connect in the primary drive
 +
##Reboot, and then use the Console menu option to start the synchronisation of the new drive
 
#If you decide that you need to reverse back to the 7.5 system, then you can do it as follows:
 
#If you decide that you need to reverse back to the 7.5 system, then you can do it as follows:
##blah blah
+
##In fact this is the same as above EXCEPT you overwrite the initial bytes of the SME8 system and then boot up from the SME7.5 system and Re-sync
 
#Another alternative for returning to 7.5 is to re-install 7.5 on the system, then install [[DAR2]], then restore the data from the USB hard Drive backup.
 
#Another alternative for returning to 7.5 is to re-install 7.5 on the system, then install [[DAR2]], then restore the data from the USB hard Drive backup.
 
#I then added in the others contribs that I use (see list below), they all seem to be working, and they picked up the parameters ok from the restored db.  
 
#I then added in the others contribs that I use (see list below), they all seem to be working, and they picked up the parameters ok from the restored db.  
Line 35: Line 39:  
==Observations==
 
==Observations==
 
===Contribs I am running===
 
===Contribs I am running===
  [[DAR2]
+
  smeserver-dar2
 
  smeserver-wbl
 
  smeserver-wbl
 
  smeserver-mailstats
 
  smeserver-mailstats
 
  smeserver-userpanel
 
  smeserver-userpanel
 
  smeserver-mailsorting
 
  smeserver-mailsorting
smeserver-
+
logwatch
 +
rkhunter

Navigation menu