Oracle SOA Suite Installation Part I : Database Installation

In next few posts I’ll cover installation of SOA Suite (Service Oriented Architecture Suite) which is one of the components in Oracle Fusion Middleware. For more information on Oracle Fusion Middleware and its various components and overview visit

Fusion Middleware Part I
Fusion Middleware Part II

–In order to install SOA suite version 10.1.3.X you need Database version 10.2.X or higher to hold schema for BPEL, ESB, WSM ….
–This database can exist on same machine (but under different ORACLE_HOME) or can be on different machine where you are planning to install SOA.
–For this installation demo, I installing Database release 10.2.0.1 on same machine under ORACLE_HOME.
–This demo installation is on Redhat Linux ES 3 which is on VMWare.

Install Oracle Database 10.2.0.1
——————————————-

Software for Oracle Database can be downloaded from this link

Operating System Prereq.
For linux following version are supported for database version 10.2.0.1 at time of writing this doc
-Redhat-3
-Redhat-4
-SuSe-9
-Aslinux-1
-Aslinux-2

I picked up Red hat ES -3 (Enterprise Server) as operating system.

Packages and Kernel Parameters mentioned below are for database 10.2.0.1 on Red Hat linux Version 3 (Check Installation Documentation if your operating system version differs)

Packages
Following packages with atleast following version should be installed
binutils-2.14
gcc-3.2
libaio-0.3.96
glic-2.3.2-95.47

To check if package/rpm is installed
rpm –qa grep {rpm_name} (From root)

To install package/rpm
rpm –ivh {rpm_name} (From root)

Kernel Parameter
Make sure you add following entry in /etc/sysctl.conf

After adding these entries execute below command to take these parameters in to effectsysctl –p /etc/sysctl.conf

Unzip software you downloaded above as

unzip 10201_database_linux32.zip

Starting Database Installation

———————————————
Start Oracle Universal Installer (OUI) by running./runInstaller (from location where you unzipped database) *Use operating system user like oracle or orainstall (don’t execute runInstaller from root user)

With this screen you get option to do basic database installation where as I opted for Advanced Installation (With Advanced Installation Option you get flexibility on where to keep database and various other options). You can also choose Basic Installation and OUI will ask only basic question and for rest values it will take default (pre configured) values.
Again you have three options for type of installation for your database (Choose one as per your requirement, if you are not sure which one to pick, leave default i.e. Enterprise Edition)

This is important detail which is prompting for Database ORACLE_HOME Name and Destination Path.

ORACLE_HOME is always unique per system which identifies oracle software installed (Oracle Software can be database, application server or various other oracle software)
PATH is directory where your oracle database software will be installed (Please note Oracle Software is not same as Oracle Data files)

In my case Oracle Database 10.2.X requires minimum 900 MB memory but just had 750 MB allocated to Virtual Machine on which I am installing this database so I got warning related to memory. If you get warning related to memory you can ignore it (Not for Production or UAT deployment)

In above screen you have option to Create Database, Configure ASM (more coming on ASM with RAC soon …) or Install database software only.If you select database software only you can create database later as well (this option will only install oracle database software and will not create any database)

Leave default General Purpose in above screen


If you have selected “Create a Database” above on this screen you have option to define SID and Global Database name for database which we are going to create with install. (You can leave default “orcl” SID or change like “SOADEV” to uniquely identify this database that it is going to be used with SOA Suite)Leave default “Database Control Management” or choose option 1 if you have Grid Control Agents installed on machine on which you are trying to install this database.


Here you can specify type of storage management for database (SOADEV) which you are going to install. This storage management as seen in image can be File System, ASM or Raw device.Specify Database file location if you choose File System as storage management. (Database file location can exist under ORACLE_HOME or any other location. * better keep this different from ORACLE_HOME for better management)

Choose password for your various schema (For security reasons, don’t choose same password for all accounts on production instance)

Click on “Install” button to start your installation (Installation may take 30 minutes to 3 hours depending on your machine)

If you wish to unlock non system accounts click on “Password Management” or click “OK” for unlocking them later. (For SOA Suite Installation, you can leave them locked)

execute command root.sh from root user as shown blow

This will complete your database installation for SOA Suite Installation.

If you wish to start/stop oracle database installed above

Set PATH, ORACLE_HOME, ORACLE_SID like
export ORACLE_HOME = /home/oracle/product/10.2.0/db
export ORACLE_SID = SOADEV
export PATH = $PATH:$ORACLE_HOME/bin

(Where ORACLE_HOME and ORACLE_SID we entered above while installing database)

Stopping database services
—————————————
sqlplus “/as sysdba”
SQL> shutdown immediate
lsnrctl stop

Starting database services
—————————————
lsnrctl start
sqlplus “/as sysdba”
SQL> start

For SOA Suite installation stay tuned (coming soon…)

You can also subscribe to email feeds on right menu of this page for updates on this Apps DBA blog.

About the Author Atul Kumar

Oracle ACE, Author, Speaker and Founder of K21 Technologies & K21 Academy : Oracle Gold Partner specialising in Design, Implement, and Trainings.

follow me on:

Leave a Comment:

16 comments
Khaleel says December 5, 2007

Hi,
Could you please guide me how to install
SOA Suite, and Oracle Portal together on one mechine on single Application Server and Single Database.

regards
Khaleel.

Reply
Atul says December 6, 2007

SOA Suite is supported on 10.1.3 and higher where is portal is supported on AS 10.1.2.0.2 so currently you can’t configure portal & soa suite in same application server .

You can install both against same database (Use MRCA to load portal repository in existing database ) .

Run soa repository script in same database and install two application server (10.2.0.2 portal and 10.1.3.X SOA)

Reply
jskishor says January 29, 2008

Hi Atul,

I am a silent watcher of this site for a long time.

The SOA suite installation document is excellent, I could able to install SOA suite on my Linux machince sucessfully. The only issue was I had to upgrade my database 10g R1 standard edition to 10g R2, though it was not required as per the document as 10GR2 was required only for EE.

Appreciate your efforts for putting such useful info.

Thanks
Kishore

Reply
Vani says July 20, 2008

can u please explain why its always needed ot run root.sh after running the OUI?

Reply
Atul says July 20, 2008

If you open root.sh you will come to know. root.sh makes an entry in oratab and set file permission on couple of executables

Reply
» Oracle UCM Content Server Installation on Linux : Step by Step Doc - Part I Online Apps DBA: One Stop Shop for Apps DBA’s says September 23, 2008

[…] Preparation 1. Install Oracle 10.2.0.1 database on Linux , check here  or here 2. Create tablespace for content server data SQL> create tablespace content_system […]

Reply
KMG says March 2, 2009

Hi Atul,
Can we used SOA dehydration DB to store custom schemas as well or its recommended to keep SOA schemas in seperate database?

Please advice.

Regards,

Reply
aa100 says June 14, 2010

Hi, Can I follow the same steps for Installing Oracle SOA Suite 11g on RHEL 5

Reply
Nagesh Kumar says May 3, 2011

Hi Atul,

i have little bit knowledge on BPEL, Please help me how can prepair for good knowledge and do you have any sample project and books please share me.

Thanks
NageshKumar

Reply
satish says November 10, 2011

Hi Atul,
How to install soa suite 10g on windows7
and mac os(line)

Thanks & Regards
Sathish

Reply
Atul Kumar says November 13, 2011

@ Satish,
Check if there is SOA 10g software for windows 7. I don’t think there is software for MAC

Reply
rampaage says March 5, 2012

Hi Atul,
Excellent site !.
I was able to install Oracle r12 on a OEL5.5 on the Oracle virtual box from the documents on your site.Great Job with the site !! Thanks Again. Everything works fine so far.
Now i would like to install SOA suite. Here’s where i am confused.
1) can i install the soa suite on the same linux box?
2) if so can i share the same database instance( VIS)
3) Since R12 already installs a application server cant SOA use the same. Why do we need to reinstall it?
4) If not Can i install this on my windows machine and then connect to the R12 instance on my linux box? If so do i need to install anything on enable anything on the R12 end??

Sorry I have too many questions. A bit confused at this point.

Thanks
SB

Reply
Atul Kumar says March 5, 2012

@ rampaage,
Glad that you managed to install R12

1) can i install the soa suite on the same linux box?
A1: Yes

2) if so can i share the same database instance( VIS)
A2: Yes

3) Since R12 already installs a application server cant SOA use the same. Why do we need to reinstall it?

A3: No. application server with R12 is 10g AS where as SOA 11g requires weblogic. Moreover you can’t use R12 AS for custom applications or 10g SOA.

4) If not Can i install this on my windows machine and then connect to the R12 instance on my linux box? If so do i need to install anything on enable anything on the R12 end?
A4: Check update above. For SOA integration with EBS , it depends on how you wish to use SOA 11g with R12 . If you are planning to use ISG (Integrated SOA Gateway) then there are some configuration in ISG implementation guide.

Reply
rampaage says March 6, 2012

Thanks for the quick reply !! :-)
Yes my intent is to use/learn the Integrated SOA gateway. I have Dev experience in the Oracle Apps world but not on SOA. Also not a DBA :-(

So is it safe to say that if install the SOA 11g suite on my laptop( Win 7) and then follow the procedure in the ISG implementation guide to enable SOA on the R12 instance, then i am good to go? Or is there any other piece i am missing.
I am assuming the Weblogic server you mentioned above come bundled with the SOA suite and i can install it on the windows box.

Thanks Again,
Rampaage.

Reply
Atul Kumar says March 11, 2012

@rampaage,
Yes you can install it on windows box.

Reply
Vijay says July 23, 2012

Requirement:

Now we are using oracle EBS R12.1.3, My company want to useSOA they want to install the SOA suiteand integrate that with EBS.I went through some documents I under stood thatSOA requires the database to run and store the metadata.

Doubts :

Ø Can I use the same EBS Production database forthe configuring the SOA in production
Ø IIf I use the same EBS database is there anyeffect on the existing data .
Ø Can we createthe schema in the existing EBS database requiredfor SOA

Note : My production database is running from past 2 years

Can you please kindly suggest me accordingly

Reply
Add Your Reply