LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Closed Thread
 
LinkBack Search this Thread
Old 10-17-2012, 08:19 PM   #1
ravindert
Member
 
Registered: Oct 2011
Posts: 67

Rep: Reputation: Disabled
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
 
Old 10-17-2012, 08:32 PM   #2
John VV
Guru
 
Registered: Aug 2005
Posts: 12,066

Rep: Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573
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

Last edited by John VV; 10-17-2012 at 08:35 PM.
 
1 members found this post helpful.
Old 10-17-2012, 08:43 PM   #3
ravindert
Member
 
Registered: Oct 2011
Posts: 67

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by John VV View Post
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
 
Old 10-17-2012, 09:19 PM   #4
John VV
Guru
 
Registered: Aug 2005
Posts: 12,066

Rep: Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573Reputation: 1573
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

Last edited by John VV; 10-17-2012 at 09:22 PM.
 
Old 10-17-2012, 10:26 PM   #5
Elv13
Member
 
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 128Reputation: 128
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)
 
Old 10-17-2012, 10:44 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,950
Blog Entries: 11

Rep: Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860Reputation: 860
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/
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrade to RHEL 5.3 from RHEL 4.4 only using the kernel rpm of RHEL 5.3 rhystech Red Hat 4 05-28-2012 10:01 PM
upgrade RHEL 4.3 to RHEL 4.8 to fix CIFS bug - best practice? jaredk51 Linux - Enterprise 6 04-19-2010 05:35 AM
[SOLVED] how to upgrade from RHEL 3 to RHEL 5.x sagarkha Linux - Newbie 1 11-18-2009 02:07 AM
Upgrade RHEL 3 AS to RHEL 4 AS louisb Linux - Enterprise 8 06-04-2009 02:57 PM
How to upgrade from RHEL 5.1 to RHEL 5.2 louisb Linux - Enterprise 4 01-06-2009 12:13 PM


All times are GMT -5. The time now is 08:04 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration