On Mon, 2007-06-18 at 15:01 +0200, Farkas Levente wrote:
hi, we've got many mandrake 8,9 and 10 system remotely. we'd like to remotely replace these systems to centos 5. we've 4 disk in them. one is the system drive (no need for raid) and there is free space on the remaining 3 disk. so what we think about:
- download the new system to the data disks
- install grub (mandrake has lilo) to boot the old system and reboot
- create the old system in the data disk
- update grub to boot the old system from the data disk and reboot
- repartition the system disk
- transfer the new system to the system disk
- update grub to boot form new system disk and reboot.
this seems to easy but has many very dangerous steps and we has only remote ssh access to the system. if we loose the connections we can't access the system anymore and we've to travel a lot! another constrain that we should have to do this very fast ie. it'd be nice if the system wouldn't be down for a long time.
- what would be the best method for this?
- what are the dangerous step here?
- what would be the best way and format to transfer the new system to
the disk (we think about an iso file)?
- does anybody do such thing and what is his experience?
thank you for your help in advance.
I've done such migrations (from Mandrake to CentOS) remotely just by following the steps that Karanbir described on his blog 2 years ago : http://www.karan.org/blog/index.php?s=vnc&sentence=AND&submit=Search
Of course, depending on your architecture, you'll have to adapt this documentation, but you'll have a step to begin from. If all your remote machines are on the same network, you can make a local mirror on one of your existing box and point the first box you want to migrate to this local mirror . At least , you'll see in your logs when the machine will download stage2.img. Of course, test the whole procedure in your lan first, and test also that hardware on remote box works with CentOS before trying the migration ...