Thursday, January 14, 2010

Oracle SOA Suite 11g: Install Everything in One AdminServer

1. Prerequisites
See details http://www.oracle.com/technology/software/products/ias/files/fusion_requirements.htm.

a. Database

You need XE Universal database version 10.2.0.1 or 10g database version 10.2.0.4+ or 11g database version 11.1.0.7+. You cannot use any other database version.
If you are using 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. Make sure processes parameter is >=200.
Sometimes the shutdown/startup command at the end here fails. In that case, simply restart the XE service in the Control Panel/Administrative Tools dialog after setting your parameters.

sqlplus sys/welcome1@XE as sysdba
SQL> show parameter session
SQL> show parameter processes
SQL> alter system reset sessions scope=spfile sid='*';
SQL> alter system set processes=200 scope=spfile;
SQL> shutdown immediate
SQL> startup
SQL> show parameter session
SQL> show parameter processes

b. Browser

You must use Firefox 3 or IE 7 for EM. You must use IE 7 for BAM or for FireFox with the IETab add-on (https://addons.mozilla.org/en-US/firefox/addon/1419).

c. Oracle WebLogic Server

Install Oracle WebLogic Server 11g(10.1.3.1) under D:\oracle\wls_090602 or any other new directory as $ORACLE_HOME.

d. Repository Creation Utility

Create with the Repository Creation Utility (RCU) the SOA infrastructure schemas: Metadata Services, SOA Infrastructure, Business Activity Monitoring (if needed) and User Messaging Service.

e. Oracle SOA Suite

Install Oracle SOA Suite 11g under D:\oracle\wls_090602\Oracle_SOA1 or under your WebLogic Server directory $ORACLE_HOME.

2. Create a Domain

In a command window go to $ORACLE_HOME\Oracle_SOA1\command\bin. $ORACLE_HOME is the path where WebLogic is installed. Oracle_SOA1 is the path where Oracle SOA Suite 11g is installed.
Enter config.cmd or on Unix config.sh.
cd D:\oracle\wls_090602\Oracle_SOA1\common\binconfig.cmd

a. Welcome

When the install wizard Welcome screen comes up, select Create a new WebLogic domain.
step00
Click Next.

b. Select Domain Source

Select Generate a domain and select Oracle SOA Suite, Oracle Enterprise Manager and Oracle BAM. Dependent products are selected automatically.
step01a
Click Next.

c. Specify Domain Name

Enter the domain name: e.g. soadev
step02a
Click Next.

d. Configure Administrator User Name and Password

Enter user name weblogic and password welcome1, confirm password. If you choose instead to use a secure password for the admin, adjust accordingly later in the document when the password is referenced.
step03a
Click Next.

e. Configure Server Start Mode and JDK

Select the Sun SDK 1.6_11 and leave Development Mode checked. You can select JRockit to avoid PermGen OutOfMemoryerror.
step04a
Click Next.

f. Configure JDBC Component Schema

With all of the components selected, enter the password (e.g. welcome1 ) for the password in the Schema Password field. Enter the Service, Host and Port for the database.
step05a
Review the Schema Owner field and confirm that they are the same as what you configured in the Configure Schema section when you ran the Repository Creation Utility (RCU). You can review the screen shots in that section of this document for the schema owners.
Complete the following if the schema owners need to be updated:
1. Deselect all the component checkboxes and select BAM Schema.
2. Enter the Schema Owner, SH_ORABAM
3. Next, deselect BAM Schema and select the next one.
4. Enter the schema owners one-by-one by pre-pending SH_ to the defaulted value. SH is the prefix specified in the RCU.
5. Continue until all schema owners are entered (see screen shot).
Click Next.

g. Test Component Schema

The data source connections are all tested.
step06
If all are successful, click Next, otherwise click Previous and correct any errors.

h. Select Optional Configuration

Select Administration Server, Managed Servers, Cluster and Machines and Deployments and Services.
step07a
Click Next.

i. Configure managed Servers

Select bam_server1 and click Delete, select soa_server1 and click Delete.
step09
Click Next.

j. Configure Cluster

step10
Click Next.

k. Configure Machine

step11
Click Next.

l. Assign Servers to Machines

Move AdminServer to the right.
step12a
Click Next.

m. Target Deployments to Cluster or servers

If not already done. Select AdminServer on the left and click Select All on the right.
step12a
Click Next.

n. Target Services to Cluster or Servers

If not already done, select AdminServer on the left and click Select All on the right.
step13
Click Next.

o. Configuration Summary

step15
Click Create.

p. Creating Domain

Wait for the create to finish – takes just a minute.
step16
Click Done.
Congratulation!

3. Start
Start the Admin Server: Go to Domain Location reported on the Creating Domain screen.
D:\oracle\wls_090602\user_projects\domains\soadev\bin
startWebLogic.cmd
Wait for the Admin Server to finish starting up. It takes a few minutes – watch for status Server started in RUNNING mode and SOA Platform is running and accepting requests in log console window
step99

4. Server URLS
Weblogic console http://localhost:7001/console (login with weblogic/welcome1)
EM console http://localhost:7001/em (login with weblogic/welcome1)
SOA worklist application http://localhost:7001/integration/worklistapp
The link for B2B http://localhost:7001/b2b
The link for BAM (must use IE browser) http://localhost:7001/OracleBAM

0 comments:

Post a Comment