Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 04-26-2010, 07:30 AM   #1
LQ Newbie
Registered: Apr 2010
Posts: 1

Rep: Reputation: 0
Migrating application from HP-UX unix to Linux operating system


We are in the process of analysing the possibility of migrating our application from HP-UX unix operating system to Linux operating system.

1)In our application, most of the source codes are written in C, C++ languages.
2)We are using aC++ compiler in current HP-UX opertaing system.
3) And also we have 400 shell scripts.
4) Using Oracle 10g database

Can you please share me the difficulties experienced while migrating application from Unix to LInux OS.

Thanks in advance. Let me know if you need more information.

Praveen G.
Old 04-26-2010, 08:07 AM   #2
Registered: Aug 2008
Location: Get back in your Cube Unix Boy!
Distribution: rh5, oel5, debian etch, solaris
Posts: 228

Rep: Reputation: 36

Wow what a question! Here's my tuppence.

I've been working for various contracts in the past 3 years doing supporting the migration of applications from Solaris to Redhat.

One question to ask straight away is 'WHY', is this financially driven, do you have a badly performing app, fashionable? Its amazing the reasons that can be thought up but its useful to know why the migration is being mooted.

Your company should be prepared to spend quite a lot of money to migrate, whilst the cost of running on Linux is comparatively low to HP/SPARC/IBM (another debate for another day), the initial investment is like buying a whole new datacentre to replace your current one so it's not cheap. You'll also probably need more staff (to cope with additional hardware) and training in the new Linux OS you're migrating too.

The first question to answer is "Which Linux distro are you going to use?" If you're a commercial operation then using a 'free' or 'commercially unsupported' OS is not a good idea. Redhat or Suse (to name a couple) provide complete support packages for customers and can even provide you with useful information/consultants who will willingly come onsite and show you how to setup properly.

Second question is what type of hardware?

In answers to your questions:
1 & 2. The fact that your app is built using C/++ is a good start, this works well on Linux and with some relatively minor tweaking should compile quite easily. Although scalability and customer expectations are another issue.
3. Shell scripts should port straight out (at least 90% will).
4. Oracle 10g runs on Linux as well. Obviously you have to ensure its on the Oracle supported list of OS'es!

In the past few contracts I've worked on, we've introduced Linux based Development hosts for developers to start porting the app onto. Then we've created Linux Testing, UAT and Production hosts in-line to ensure Testing works, then customers can test it does what the old version did, then into Production it goes.

After going into production it usually breaks for a few days whilst developers and testers run around saying 'we never tested for this/that' but don't let that discourage you :-)


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

Similar Threads
Thread Thread Starter Forum Replies Last Post
purest UNIX operating system? tigertim71 Linux - General 35 08-21-2009 02:05 AM
Unix server operating system nency.jariwala Linux - Server 9 10-20-2007 05:18 AM
Unix or Linux operating system seamalady Linux - General 3 05-05-2006 08:04 AM
I'm looking for the original UNIX operating system dinolinux General 17 08-18-2005 12:45 PM
installing Unix with no Operating System to start off nchauhan *BSD 11 06-26-2003 08:54 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:36 PM.

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