Sunday, 19 January 2014

ORACLE SOA 11G INSTALLATION STEPS

Introduction:

               
This white paper describes the SOA 11g Installation procedure with step by step.

Prerequisites:

Downloading files
Download all the software to get started.
1.       In the following steps, save all downloaded files to c:\SOA. This document assumes that path. If you save them somewhere else then make sure there are no spaces in your path and adjust accordingly when c:\SOA is referenced in this document.
2.       Go to: http://www.oracle.com/technology/products/soa/soasuite/index.html, and download the following from SOA Suite 11g Release 1 (11.1.1.3.0) to c:SOA:
WebLogic Server:
wls1033_win32.exe
Repository Creation Utility:
ofm_rcu_win32_11.1.1.3.0_disk1_1of1.zip
SOA Suite:
ofm_soa_generic_11.1.1.2.0_disk1_1of1.zip
SOA Suite Patch:
ofm_soa_generic_11.1.1.3.0_disk1_1of1.zip
JDeveloper Studio, base install:
jdevstudio11113install.jar

3.       Unzip the SOA Suite ZIP file to c: SOA.
4.       Unzip the RCU ZIP file to c: SOA.
5.       Additional Files needed:
SOA Extension for JDeveloper: You will get this later using the JDeveloper update option.

Checking your database:

Having your database up and running is the most important pre-requisite for installing SOA Suite.
Read the following bulleted requirements carefully to be sure you are ready to begin the SOA Suite installation:
You need one of:
Oracle XE Universal database version 10.2.0.1
Oracle 10g database version 10.2.0.4+
Oracle 11g database version 11.1.0.7+
You cannot use any other database version in 11gR1 (certification of additional databases is on the roadmap). Specifically, you cannot use XE Standard, it must be Universal.
There are problems with installing XE when a full 10g database is already installed in the environment. The Windows registry sometimes gets the database file location confused. It is recommended to pick one or the other to avoid such issues.
If you need to uninstall XE, make sure that you follow the instructions (http://download.oracle.com/docs/cd/B25329_01/doc/install.102/b25143/toc.htm).
 Install OracleXEUniv.exe—recommended for a small footprint database. Make sure that you read step 1 above before installing. You can get XE from here: http://www.oracle.com/technology/products/database/ xe/index.html.
When you are using XE, you will see a warning when you install the database schema that this database version is too old. You can safely ignore this warning as it applies only to production environments.
If needed, configure Oracle XE Universal.

1. Database Installation Steps:

1. Double Click on OracleXEUniv.exe, It will open the Installation Wizard
Click Next
Enter Password for database (eg: welcome).
Click on Install, Wait for installation process completes,
Click on Finish button.
To start the database—Click on Start Database (Create desktop shortcuts for further use).
When you are using Oracle XE, you must update database parameters if you have never done this for your database installation. You only have to do this once after installing. Set the processes parameter to >=500 using the following instructions.

Click Run SQL Command Line.

SQL> CONNECT user/password (eg: sytem/welcome)
SQL>show parameter session
SQL> show parameter processes
SQL> alter system reset sessions scope=spfile sid=’*';
SQL> alter system set processes=500 scope=spfile;
SQL> alter system set open_cursors=800 scope=spfile
SQL> shutdown immediate
SQL> startup
SQL> show parameter session
SQL> show parameter processes
The shutdown command can take a few minutes.
Checking your browser:
Oracle SOA Suite 11gR1 has specific browser version requirements.
1. Enterprise Manager requires Firefox 3 or IE 7.
2. BAM requires IE 7.

WebLogic Server Installation:

1. Double Click on wls1036_win32.exe
When the Welcome screen for the install wizard comes up, click on Next.
Select Create a new Middleware Home and enter: C:OracleMiddlewarehome_11gR1.
This document assumes that path. If you use a different middleware home then adjust accordingly when C:OracleMiddlewarehome_11gR1 is referenced throughout this document.
Click on Next.
Enter email address to register for security alerts or deselect the checkbox and decline—whichever you prefer—and click on Next.
Select Typical, and click on Next.
Review installation directories.
 
Click on Next.
Select “All Users” Start Menu folder and click on Next.
Review Summary.
 
Click on Next to start the installation process. Installation takes about three minutes.
When the installation is complete, deselect the Run Quickstart checkbox and click on Done.

Repository Creation Utility (Schema Configuration):

RCU is used to create and populate the database schemas required by the SOA Suite.
Note: If you want to use Oracle XE as your database, you have to set the RCU_JDBC_TRIM_BLOCKS environment variable to TRUE *prior* to running RCU.

Create the database schema for the BAM and SOA servers.
To create the new schema, Click on rcu.bat (ofm_rcu_win_11.1.1.6.0_disk1_1of1\rcuHome\BIN)
Repository Creation Utility opens.
On the Welcome screen, click on Next.
Select Create and click on Next.
Enter the Database information.
Click on Next
If you are using XE, you will see a warning at this point that this version is too old. You can safely ignore this warning as it applies only to production environments.
The pre-requisites are reviewed. When complete, click on OK.



On the Select Components screen, enter DEV in the field for creating a new prefix.
Select the component SOA Infrastructure. Dependent schemas are selected automatically.
Note: If you choose to select other components, you may have to increase processes in XE.
Here I selected all except identity management and portal and BI.
Click on OK.
Select the radio button to Use the same password for all schemas. Enter a schema password. The password welcome1 is assumed in this document but you should choose your own secure password or a different one for each schema and be sure to record your passwords as you will need them later.

Click on Next.
Enter password(eg: welcome) and click on Next.
Review the tablespaces and schema owners for the components.
Accepting the defaults, click on Next, and then click on OK to create the tablespaces.
When the pre-requisites for this step are completed, click on OK.
Click on Create to create the tablespaces.
Note: Ignore all errors if any.
When completed, click on Close.

SOA Installation:

Once the database is configured, you can install the SOA server into the Oracle Home on the WebLogic server.
Keep all Disks in on folder.
In a command window, enter:
cd c:\SOA\soa...\Disk1
setup -jreLoc C:\Oracle\Middleware\home_11gR1\jdk160...

eg:cd  C:\SOA_HOME\SOA\ofm_soa_generic_11.1.1.6.0_disk1_1of2\Disk1
         Setup –jreloc C:\SOA_HOME\jdev\jdk160_24  
When the install wizard Welcome screen comes up, click on Next.
On the Specify Installation Location screen, select the middleware home:
C:OracleMiddlewarehome_11gR1 (Select different location if required).
Enter Oracle home: Oracle_SOA1. If you use a different Oracle home, then adjust accordingly when Oracle_SOA1 is referenced throughout this document.
Review Summary.
Click on Install.
Wait for the installation to complete.
Click on Finish.

Domain Creation:

From the Oracle Home location, you configure the WebLogic server domain for the SOA and BAM servers.
In a command window, enter:
cd C:\Oracle\Middleware\home_11gR1\Oracle_SOA1\common\bin
config.cmd
When the configuration wizard’s Welcome screen comes up, select Create a new WebLogic domain, and then click on Next.
Select Generate a domain and select SOA Suite, Enterprise Manager, and Business Activity Monitoring. Dependent products are selected automatically.
Click on Next.
Enter the domain name: domain1.
Click on Next.
Enter the user name as weblogic and a password. The password welcome is assumed in this document but you should choose your own secure password and remember it for later in the document when the password is referenced.



Click on Next.
Select the Sun SDK 1.6_11 and leave Development Mode checked.
Click on Next.
On the Configure JDBC Component Schema screen, you select the components that you want to change, and then enter the property value for those components. First, select all of the components and enter welcome for the password in the Schema Password field.
With all of the checkboxes selected, enter the Service, Host, and Port values.

Note: you can find Host Port values in tnsnames.ora file
(path eg: C:\oraclexe\app\oracle\product\10.2.0\server\NETWORK\ADMIN)

Now, look at the table. Review the Schema Owner column and confirm that the values are the same as what you configured in the Configure Schema section when you ran the RCU.




Click on Next.
The data source connections are all tested.
 
If all are successful, click on Next, otherwise click on Previous and correct any errors.
Click on Next once more, accepting defaults (no optional configurations), and you reach the Configuration Summary screen.
Click on Create.
Wait for the creation to finish.
Click on Done.



JDeveloper Installation:

1. Double Click on  jdevstudio11116install.exe.
Click on Next.
Choose Middleware Home Directory: select Create a new Middleware Home and enter Middleware Home Directory.
Click on Next.
Choose Install Type as Complete, and then click on Next.
Click on Next.
Confirm Product Installation Directories. You should see:
Middleware Home Directory:
JDeveloper and ADF: C:OracleMiddlewarejdev_11gR1 jdeveloper
WebLogic Server: C:OracleMiddlewarejdev_11gR1wlserver_10.3
 
Click on Next.




Choose Shortcut location: “All Users”, and then click on Next.
Review Installation Summary.
 
Click on Next and the installation starts.
Wait for the installation to complete.
When installation completes, deselect Run Quickstart and click on Done.

Updating JDeveloper with latest SOA:

SOA design time in JDeveloper requires a JDeveloper extension called SOA Composite Editor. While this is normally updated over the network when using release-level software, you can also perform the update manually if you have the extension file. JDeveloper periodically prompts you to accept an automatic network update. Since this is released software, you have the option to click on OK to update to a newer version.
The SOA extension is about 230 MB and may take some time to download.
Start JDeveloper Studio 11.1.1.3.0 àjdeveloper.exe.
During startup, select the following when prompted:
Select Default Role, deselect Show this dialog every time, and click on OK.
Click on No to “Migrate from previous release”.

àNow you can update the SOA Composite Editor extension.
Select Help à Check For Updatesà click on Next.
Select Search Update Centers and select Oracle Fusion Middleware Products.
Click on Next. The system will search the update center for extensions.
From the list of extensions, select Oracle SOA Composite Editor and click on Next to begin downloading. The extension is about 230 MB and takes a few minutes to download.
When the extension has finished downloading, it is listed with the version number detail.



2 comments:

  1. no se vee las imagenes

    ReplyDelete
  2. Thanks for sharing this great information I am impressed by the information that you have on this blog. Same as your blog i found another one Oracle SOA . Actually I was looking for the same information on internet for Oracle SOA and came across your blog. I am impressed by the information that you have on this blog. It shows how well you understand this subject, you can learn more aboutOracle SOA . By attending Oracle SOA Training .

    ReplyDelete