I was just wondering what recommendations you have on migrating a CentOS 5 install between servers?
I've done similar in the past by setting up a minimal install in the new server, use tar to copy over the old install and reboot. I was thinking of rsync this time.
Is that an acceptable thing to do or have I missed something important?
thanks
Kevin Thorpe schrieb:
I was just wondering what recommendations you have on migrating a CentOS 5 install between servers?
I've done similar in the past by setting up a minimal install in the new server, use tar to copy over the old install and reboot. I was thinking of rsync this time.
Is that an acceptable thing to do or have I missed something important?
You can only sensibly do that using a live-CD on the 2nd server. Because, last time I looked, if you overwrote "important" libraries that were in use at the time of overwriting, the server would just crash. At least, that's what happened with my backup-software back then.
With a live-CD, you could also just pipe "dd" through netcat....
Rainer
Rainer Duffner wrote:
Kevin Thorpe schrieb:
I was just wondering what recommendations you have on migrating a CentOS 5 install between servers?
I've done similar in the past by setting up a minimal install in the new server, use tar to copy over the old install and reboot. I was thinking of rsync this time.
Is that an acceptable thing to do or have I missed something important?
You can only sensibly do that using a live-CD on the 2nd server. Because, last time I looked, if you overwrote "important" libraries that were in use at the time of overwriting, the server would just crash. At least, that's what happened with my backup-software back then.
With a live-CD, you could also just pipe "dd" through netcat....
I must have been lucky and got away with it before. Live-CD sounds like the way to go. First time I've migrated a production server where I can't put the new drives in the old box to do the copy.
I can recommend Mondorescue (http://www.mondorescue.org)
It can backup to file, cd, network, disk etc...
I made numerous backups and restores with this very good (free) tool...
On Wed, 20 Aug 2008 12:23:00 +0100 Kevin Thorpe kevin@pricetrak.com wrote:
kevin> From: Kevin Thorpe I was just wondering what recommendations you have on migrating a CentOS 5 install between servers? kevin> kevin> I've done similar in the past by setting up a minimal install in the new server, use tar to copy over the old install and reboot. I was thinking of rsync this time. kevin> kevin> Is that an acceptable thing to do or have I missed something important? kevin> kevin> thanks
Looks good. I especially like the fact that it builds a custom boot cd for your system. That's the bit missing from my current backup system (bacula). I'll see if I can splice the two together for disaster time.
Test wrote:
I can recommend Mondorescue (http://www.mondorescue.org)
It can backup to file, cd, network, disk etc...
I made numerous backups and restores with this very good (free) tool...
On Wed, 20 Aug 2008 12:23:00 +0100 Kevin Thorpe kevin@pricetrak.com wrote:
kevin> From: Kevin Thorpe I was just wondering what recommendations you have on migrating a CentOS 5 install between servers? kevin> kevin> I've done similar in the past by setting up a minimal install in the new server, use tar to copy over the old install and reboot. I was thinking of rsync this time. kevin> kevin> Is that an acceptable thing to do or have I missed something important? kevin> kevin> thanks
Kevin Thorpe wrote:
I was just wondering what recommendations you have on migrating a CentOS 5 install between servers?
I've done similar in the past by setting up a minimal install in the new server, use tar to copy over the old install and reboot. I was thinking of rsync this time.
Is that an acceptable thing to do or have I missed something important?
If they are identical at least in terms of disk controllers and size and you have space on the network to hold a compressed image copy, clonezilla-live is probably the easiest way to do it: http://www.clonezilla.org/clonezilla-live/
If the disk controllers or sizes are different, you'll have to at least generate a new initrd image. Doing a new install might be the easiest way, but when you copy the old system over you need to be sure that they are updated to the same kernel and keep the contents of your new /boot and a few other files (/etc/fstab, /etc/modprobe.conf, etc.).
Les Mikesell wrote:
Kevin Thorpe wrote:
I was just wondering what recommendations you have on migrating a CentOS 5 install between servers?
I've done similar in the past by setting up a minimal install in the new server, use tar to copy over the old install and reboot. I was thinking of rsync this time.
Is that an acceptable thing to do or have I missed something important?
If they are identical at least in terms of disk controllers and size and you have space on the network to hold a compressed image copy, clonezilla-live is probably the easiest way to do it: http://www.clonezilla.org/clonezilla-live/
If the disk controllers or sizes are different, you'll have to at least generate a new initrd image. Doing a new install might be the easiest way, but when you copy the old system over you need to be sure that they are updated to the same kernel and keep the contents of your new /boot and a few other files (/etc/fstab, /etc/modprobe.conf, etc.).
Same os, same release. I know about fstab and modprobe.conf (was modprobe.init)
anyway, suck-it-and-see since the new server is currently surplus to requirements.