R P Herrold wrote:
> On Tue, 24 Oct 2006, David Eisner wrote:
>> With the end of Legacy support for RH9, I'd like to migrate my Fedora
>> Legacified RH9 box to Centos 3.
>> http://www.owlriver.com/tips/centos-31-ex-rhl-9/ >> Any thoughts on whether this should also work with the .legacy packages?
> As author of the migration instructions in question, let me give an
> unqualified "Yes, probably" .... ;)
> I would feel safer 'stretching' into CentOS-4, just to get the later
> kernel, and buying the longer lifespan, but a move with a set of CentOS
> 3.8 spins ISO images will work, if you are a dead plain install wholly
> mediated by RPM, with minimal or no transition issues. But please:
> 1. level 0 backup
> 2. strip out unused packages -- a good idea
> 3. possibly reboot and force a full fsck on all
> 4. remove /home if at a separate mountpoint, from
> the fstab -- no reason to risk the data
I may be introducing another layer of complication here but I have found
various OS Virtualization tools such OpenVZ extremely handy for for
migrating / updating servers with legacy RH operating systems.
Basically we have had a spare server where we have loaded the latest
Centos OS and installed the openvz kernel and utilities (all in RPM
format) and reboot.
All we have to do then is copy/backup the legacy RH9 server into a the
new openvz node (typically into /vz/private/<veid)). Basically rsync /
/home /var /usr etc (you don't need /boot or /lib/modules as you won't
be running the RH9 kernel) . Then create a ve conf file for the RH9 VPS
and then boot the RH9 VPS (easier if your VPS hardware node is on the
same IP subnet).
With your virtualised RH9 "server" running in VPS you are free to
reformat or re-install the original server. If when you have
re-installed the server and copied over the data, you find something is
broken, just fall back to your VPS "copy."
You could even test an OS upgrade using yum from within a VE before you
carrying out an upgrade on a real server.
On this particular server we are running 5 OS's including RH9 under an
openvz test kernel (there is now a new version of this kernel ;o)) :
Also has the advantage that we were able to run 10 or more (legacy) VPS
on the same physical hardware freeing up lots of real boxes (depends on
how busy the servers are and the power of the hardware node).
The only thing is I have not been able to create pristine RH9 template
using yum (but then again I don't need to as I just copy legacy boxes).
When FC6 came out this week it was a doddle to create an FC6 template
and boot an FC6 VPS.
There are other virtualisation technologies such as xen and vserver and
openvps etc which would help ease migration paths - all you need have is
one spare server, but I have jut found openvz the easiest to configure