Migrating Oracle on Solaris Sparc to Linux RHEL 7 VM

Hi Gurus,

We are migrating Oracle from Solaris to RHEL 7 and looking for Solaris equivalent commands for Linux.

we are using lot of korn shell scripts built on Solaris so, i am looking for equivalent commands which are using in Solaris..

Could you please help me here by proving any info . thanks.

Here is my current salaries system details.

Machine hardware: sun4v
OS version: 5.10
Processor type: sparc
Hardware: sun4v

--- Post updated at 09:30 PM ---

Hi,

I have 500 + ksh scripts...i am looking for Journal RHEL commends commands which are using in Solaris..

Thanks

--- Post updated at 09:33 PM ---

Hi ..

I don't have any code..and have 500 + ksh scripts. i am looking normal RHEL oracle commands equivalent commands which are using in Solaris..

couple of links - I'm sure there're plenty of others:
UnixPorting
UnixGuide
UnixCompare

Hi Vgersh,

Thanks for help...

@Gurus---- please share if you have any links. or pdf documents..

Thanks.

Well this really depends.
Is the code commented ?

There is no magical way to say it will or will not work.
It will require human eyes, brains and time, even possible lab conditions :wink:

Perhaps even a rewrite if possible, since 500+ scripts sure sounds like a design fail.
Perhaps consolidate those scripts first, then do the porting ....

Hope that helps
Regards
Peasant.

First install ksh:

yum install ksh

should install the AT&T ksh93, that is quite compatible with the ksh88 in Solaris 10.
Then syntax-check your scripts with

ksh -nx /path/to/script

Most should pass.
Also most most GNU standard tools ("ls", "find", "grep", "sed", "awk","perl") are compatible with Unix.
But be careful - especially when running as root - better run the scripts as non-root so a run-away script cannot damage your system.
When it comes to OS-specific things there is less compatibility. E.g. a "df -k" can work, but a simple "df" is quite different.