Koozali.org: home of the SME Server

upgrade from SME9 -> 10 - same hardware + SSD

Offline Jáder

  • *
  • 1,099
  • +0/-0
    • LinuxFacil
upgrade from SME9 -> 10 - same hardware + SSD
« on: January 30, 2022, 12:39:14 PM »
I´m really far away from my old servers: 3.500km at least!
Now I´ve to plan a migration from SME9 to SME10.
Some clients are going to buy a new server = no problem, install SME10 on them, copy data over network using RSYNC (easy!)
Some cliente are reusing same hardware, so I think abou to start using SSD (even a 128GB is enought to SME!).

What I think about to ask to junior guy on site:
1) shutdown server, disconnect 2x 2TB spin drives, install new SSD256, boot server
2) install SME10 on new SSD256 and test/configure/update
3) shutdown server, install old 2x 2TB spin drives, boot server
4) mount old data disk as /home/e-smith/files to have minimal problems (3.500km AWAY)

I see some problems:
1) on boot, I´m not sure hardware will choose to boot from NEW SSD drive, neither I know how to avoid it to boot from old SME9 partitions (besides to remove/delete them! SCARRY @ 3.500km away!!)
2) after finished (if it works!) I´ll have a old SME9 OS data/partition on my now DATA disks... I´d like to remove them but not  sure how to do it! (I´m talking about to remove original /boot partition and other things besides data)
3) not sure if this would be wise or best way to do it.

I´ll be onsite on may (vacancy!!) so I can use one day to do this, but no more than that... and some servers are full with 1TB (on RAID1 of 2x 2TB disks) of data, I cannot afford spare time to copy that beside the affa backup I´ve on spare server (different hardware) on same LAN.

Any toughts ?? Regards !

...

Offline sages

  • *
  • 182
  • +0/-0
    • http://www.sages.com.au
Re: upgrade from SME9 -> 10 - same hardware + SSD
« Reply #1 on: January 30, 2022, 01:25:42 PM »
search be thy friend
...

Offline Jean-Philippe Pialasse

  • *
  • 2,763
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: upgrade from SME9 -> 10 - same hardware + SSD
« Reply #2 on: January 30, 2022, 01:46:51 PM »
only challenge i see is if you use lvm you will have to rename lvm partition from older disk or the name might conflict when trying to mount the partitions. 

other than that your plan is good. 

you could even plan to keep old disk after removing boot partition as is as data disk, mount it in /media/old and mount bind all important folders where you want.

the cautiously tidy non needed content from old disk  (system files likes /media/old/bin ….)

for raid and lvm to be available on boot you might need to add few options to grub and so on but all is available around here using search on forum and wiki.

Offline ReetP

  • *
  • 3,734
  • +5/-0
Re: upgrade from SME9 -> 10 - same hardware + SSD
« Reply #3 on: January 31, 2022, 03:31:41 PM »
4) mount old data disk as /home/e-smith/files to have minimal problems (3.500km AWAY)

Yup - just remember as JP pointed out they may be LVM/Raid so need mounting correctly.

Note you may be able to use this with CopyFromDisk but you need to test first:

https://wiki.koozali.org/UpgradeDisk#Moving_from_SME_8.x_to_SME_9.x

Also info there on mounting LVM.

Quote
I see some problems:
1) on boot, I´m not sure hardware will choose to boot from NEW SSD drive, neither I know how to avoid it to boot from old SME9 partitions (besides to remove/delete them! SCARRY @ 3.500km away!!)

If you have your junior on site he can watch the boot process (Aten KVM over IP is useful here, as well as Proxmox and VMs....!)


Quote
2) after finished (if it works!) I´ll have a old SME9 OS data/partition on my now DATA disks... I´d like to remove them but not  sure how to do it! (I´m talking about to remove original /boot partition and other things besides data)

Mount on any old Linux box and wipe them.

Quote
I´ll be onsite on may (vacancy!!) so I can use one day to do this, but no more than that... and some servers are full with 1TB (on RAID1 of 2x 2TB disks) of data, I cannot afford spare time to copy that beside the affa backup I´ve on spare server (different hardware) on same LAN.

Though some have used Affa for upgrading we don't recommend it.

Good luck.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation