I have a Dell PowerEdge 2850 with a PERC 4 controller and SCSI drives. I need to clone that to a PE2950 with a PERC6i with SAS drives. I've used the DKMS package along with the latest driver on Dells website to create a driver disk and successfully installed by hand so I know that it will install but I need a good suggestion for cloning options. I've tried clonezilla but it does not recognize the hard drives and I'm no expert in debian based distros so I'm unable to manipulate it.
Does anyone know of a reliable way to clone this server? I imagine that if I can find a method to transfer the image then I will install the SAS driver on the source box before cloning it and it should be able to boot to the destination box.
Thanks all!
I've used SystemImager to move RHEL4 from 2850 to 2950.
RHEL4 did not recognize the drive controller on the 2950, so I booted using a rescuse disk and re-created the initrd.
If you've got the new box partitioned and setup the way you want it, and just need to get the "soul" of the old box over, you've got nothing to lose by trying a quick and dirty method.
I'd boot the RHEL 4.3 rescue CD on the new box using the driver disk and verify that you've got working network drivers and an IP address. Once you do that, make a directory somewhere on the new box in a mount that has enough space to accept the old box's data, cd to it, and do a:
On the old box, do a:
That'll ship the contents of the source box over to a directory on the destination box over the network.
In theory, you should be able to use diff to find the differences between /etc and other folders between the source box and destination box and "combine" them together into one box.
Really, you can probably get away with untarring the old box right over top of the root of the new box, since the new kernel and modules will be in a different path and shouldn't be overwritten. If you do that, you might put a "--exclude=boot" on the sending tar command line, like so, to keep the grub configuration from being overwritten on the new box:
I've had success with similar moves using a procedure like this (I mostly did this for moving from physical servers to VMs). Where I say "Knoppix", any Linux Live CD should work:
dd if=/dev/sda | gzip -c | nc -l -p 3000
nc $IP 3000 | gunzip -c | dd of=/dev/sda
mount -o dev /mnt/sda2
mount /dev/sda1 /mnt/sda2/boot
chroot /mnt/sda2
mount /proc
lsmod
should help)module_upgrade
mkkerneldoth
rpm -qa | grep kernel
new-kernel-pkg --mkinitrd --depmod --install 2.4.21-40.EL
(version is from the previous;rpm -q --scripts kernel
and emulate the post script)exit
(from chroot)shutdown -rf now