Moving RHEL 3 install to new hardware

I'll attempt to avoid a very long explanation of exactly why we need to do this, but basically we need to move an application and its database to older hardware because the app has been obsoleted, but needs to be available for historical lookups. The app is currently sitting on hardware that is *much* too powerful to only serve historical lookups once or twice a month. We also happen to have several new services that we will be implenting that could make better use of the existing hardware. Unfortunately, we do not have support from the company that developed this database application, so we want to *move* the existing install rather than try to install the O/S on a new machine and attempt to migrate the application.

At any rate, the system is a dual-proc Xeon with RAID 5 and is running RHEL 3 and DB/2. We are hoping to move the service to a small, dated Dell box without RAID. (Remember, we have backups and no new transactions are being written to the database. This box is not necessarily going to be mission critical.)

This is the procedure we're currently looking at:

1: Attach target drive via SCSI bus or via external drive enclosure.

2: Boot server off of a Linux live CD.

3: Check the contents of /dev and 'dmesg' to ensure drives are properly
detected.

4: Either a) 'dd' data from source drive to target drive, dumping partitions, MBR, and all, or b) format matching partitions and then 'cp -Rp' data and then reinstall boot loader from RHEL 3 CD.

5. Install target drive in replacement system. Attempt boot. If boot is
unsuccessful, make note of errors, boot off live CD, mount the necessary
partition, and edit appropriate configs, address driver module issues,
etc. Repeat as necessary.

Unfortuantely, RHEL 3 does not include the 2.6 kernel or hotplug, which could make things difficult to configure once the data is in the new box.

Does anyone have any recommendations? We're glad to hear what suggestions others may have as we hope to make this as painless as possible.
masterswitchit04Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David PiniellaCommented:
I'd suggest dd'ing instead of cp -Rp; attach the drive and dd over to the data partition (/dev/sdb3 or whatever). Keep that as a backup and then try to install 2.6 and hotplug -- I've moved hard drives to new hardware and found that RH's autodiscovery stuff (forget the name of it...) found everything on the new hardware. I've only done that on desktops and never with RHEL, so I don't know that it'd work (which is why I say do a dd and try it)
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
NirevCommented:
Hiya,
    DD should work fine. However, if you are concerned about the kernel, why don't you do an upgrade of kernel in the current server? (make sure it's backed up of course) Then create your own custom live CD? Look at http://www.phenix.bnl.gov/~purschke/RescueCD/ for details.
0
NirevCommented:
For the hardware, kudzu (the name of the autodiscovery stuff) should take care of it and detect the changes.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Operating Systems

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.