LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How to Upgrade Rhel 2 to Rhel 5 (https://www.linuxquestions.org/questions/linux-software-2/how-to-upgrade-rhel-2-to-rhel-5-a-4175432796/)

ravindert 10-17-2012 08:19 PM

How to Upgrade Rhel 2 to Rhel 5
 
Hi ,


Can any one help over here.

Currently we are running our application running on the Rhel2.1 and now we want to upgrade its to kernel to latest Rhel 5 while keeping all old binary files as it is (dont want to updgrade old binaries like perl, php etc as the application is dependent on the them ) because the application running dependent on the old binary files.

Thanks in Advance for your help!!!!!!!!

Ravinder

John VV 10-17-2012 08:32 PM

see the other duplicate post about not double posting

there is NO way to upgrade
between major versions

you reformat to ext3 ( or use LVM ) and install RHEL6.3

rhel2 is SO old that none of the settings will work on 6
and NONE of the rhel2 versions of programs will work on rhel6.3 ( some of the source builds might build using gcc33)
so do not even try to move say--- database tables over, they most likely will not work on the database version in 6.3

but if you must then contact red hat tech support
you ARE paying them $749 up to $36,000 USD for the license ( support contract)
you might want to use it

ravindert 10-17-2012 08:43 PM

Quote:

Originally Posted by John VV (Post 4808660)
see the other duplicate post about not double posting

there is NO way to upgrade
between major versions

you reformat to ext3 ( or use LVM ) and install RHEL6.3

rhel2 is SO old that none of the settings will work on 6
and NONE of the rhel2 versions of programs will work on rhel6.3 ( some of the source builds might build using gcc33)
so do not even try to move say--- database tables over, they most likely will not work on the database version in 6.3

but if you must then contact red hat tech support
you ARE paying them $749 up to $36,000 USD for the license ( support contract)
you might want to use it



Hi Johns,

Thanks for the reply.

Can you please let me know i want to upgrade from Rhel 2 to Rhel 4 or 5 . So is it possible to do that by not updating all the binaries like php, perl etc. Because the application is depend on old binaries.

Thanks Again

John VV 10-17-2012 09:19 PM

you do NOT upgrade from 2 to 4 or 5

you do a NEW fresh clean install
RHEL6.3 is the current
RHEL4.9 is on EXTRA extended life support -- you HAVE to pay EXTRA for rhel4 support
it was supposed to go END OF LIFE last year - but it got a "stay of execution"

call your red hat tech support
http://www.redhat.com/support/customer-portal.html

and have one of there support reps help you through migrating to new servers

Elv13 10-17-2012 10:26 PM

I did this before. The truth is that even older Linux server are still in operation, just as many DOS servers are. You (John VV) can't just say: forget about your software, forget about COBOL and Fortran. The real world just doesn't work like that.

As for the problem, I also advice using a fresh CentOS6 base, as you probably don't care about commercial (paid) RedHat support if you were still using 2.1. After installing 6.3, copy your old disk (the whole thing) in /opt/rhel21 by mounting it, then use "mkdir -p /opt/rhel21;cp -a /path/to/old/mount/point /opt/rhel21. Then use the "chroot" command to create a jail of the RedHat EL 2.1 in 6.3. I tried other methods such as virtualisation and emulator. They ofter fail because the distribution is so old that it is untested. The jail seem to hold on pretty well compared to other alternatives. When I tried in RHEL5, the newer kernel could run the old binaries (application) without visible drawback. It could even start X application on the native RHEL6.3 display.

So, if you need to migrate RHEL2.1 to RHEL6, you can't, but you can have both running in parallel on the same computer. Remember that this is totally unsupported and may require advanced Linux skill to make it work. After you get the jail working, make an init script to start it during boot (LVL 2 or 3). Booting a jail require custom bootscript, as it is not the same as a native boot (you need to bind /dev, /dev/pts, /sys, /proc and start services manually)

Tinkster 10-17-2012 10:44 PM

Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

http://www.linuxquestions.org/questi...-a-4175432794/


All times are GMT -5. The time now is 05:32 PM.