LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Closed Thread
  Search this Thread
Old 02-12-2019, 11:47 AM   #1
mssprince
LQ Newbie
 
Registered: Nov 2018
Posts: 8

Rep: Reputation: Disabled
ksh scripts migrating(ORACLE 11G) from Solaris Sparc 10 to RHEL 7


Hi All,



Now we are migrating oracle 11G from Solaris Sparc 10 to RHEL 7. We have 1000+ ksh scripts..
Could you please let em know what would be the best way to use exiting scripts in RHEL with minimal changes,.

my concern was "Is it all Solaris command work in RHEL".
 
Old 02-12-2019, 12:12 PM   #2
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,710

Rep: Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972Reputation: 7972
Quote:
Originally Posted by mssprince View Post
Hi All,
Now we are migrating oracle 11G from Solaris Sparc 10 to RHEL 7. We have 1000+ ksh scripts.. Could you please let em know what would be the best way to use exiting scripts in RHEL with minimal changes,. my concern was "Is it all Solaris command work in RHEL".
Haven't we been here before?
https://www.linuxquestions.org/quest...vm-4175643425/

Again, as you were told before: some commands will work, some won't, some will be different. The 'best way' is for you to try to run these scripts, and modify/change them as needed. Again, we can help with specific questions but we aren't going to look up ALL the commands for Solaris and RHEL, and compare them for you.
 
Old 02-12-2019, 12:29 PM   #3
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 21,976

Rep: Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337Reputation: 7337
as it was already told you try to install ksh on your host and use. If you [need to] modify a srcipt, try to reimplement using bash.
But anyway, you will never be sure if they work exactly the same way as before. There will be no post on LQ or any other forum which can really help you to transfer 1000+ files. You need to do that one by one (or pay for it).
 
1 members found this post helpful.
Old 02-13-2019, 03:23 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
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.
 
  


Closed Thread



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
Migrating Oracle on Solaris Sparc to Linux RHEL 7 VM mssprince Linux - Software 4 12-01-2018 07:27 AM
Migrating Oracle on Solaris Sparc to Linux RHEL 7 VM mssprince Linux - General 3 11-30-2018 05:04 PM
KSH Scripts migration from Solaris to Linux prashanth1414 Linux - Newbie 22 06-25-2013 01:35 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 01:34 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration