In this post we will see detailed steps to install SOA 11g. The approach used in all 11g FMW components (Including SOA) is very different then 10g. The basic limitation of any 10g component involving infrastructure was that the product itself used to create database and configure the entire infrastructure. This used to put limitation on database port which always used to be 1521.
Here in 11g version, a user has a flexibility to use any port. 11g expects installed database as a pre-reqs and uses that database to create corresponding repository. This way we can have database and listener at any port and provide that information while creating repository.
Also another important feature with all 11g components is that web server used is weblogic and it is kept as another separate component in the form of pre-reqs. So any 11g components requiring web server expects weblogic as pre-reqs. With this brief introduction about 11g FMW components characteristics we will see the installation procedure for SOA 11g.
Installing SOA 11g:
Following are the brief steps for installing SOA 11g
1) Install database 11g (184.108.40.206 / 220.127.116.11) including configuring TNS and listener
2) Create repository using Oracle RCU (Repository Creation Utility)
3) Install WLS (weblogic Server) and create a middleware home
4) Install SOA 11g inside middleware home
5) Use config.sh or WLST to create and configure SOA domain and managed servers
In case of SOA 11g, BAM also gets install and configured if selected. Here we will install both SOA and BAM
You can download all the required software from following location
Oracle Database 11g (18.104.22.168/22.214.171.124) – http://www.oracle.com/technology/software/products/database/index.html
Oracle SOA suite 11g – http://www.oracle.com/technology/software/products/middleware/htdocs/111110_fmw.html
Oracle RCU – http://www.oracle.com/technology/software/products/middleware/htdocs/111110_fmw.html
Oracle WLS 10.3.1 – http://www.oracle.com/technology/software/products/ias/htdocs/wls_main.html
Step 1) Install database 11g including configuring TNS and listener
For this you can refer previous post for database installation and create a 11g database. Also create a listener on any available port and configure TNS for the database.
Step 2) Create repository using Oracle RCU (Repository Creation Utility)
Using RCU, you can create repository for SOA. You dont have to install RCU for using it. RCU comes as a zip file which you need to unzip. Once you unzip you run <RCU_UNZIP>/bin/rcu binary
This will invoke a GUI. On the first page you can select “Create Repository” and click on next.
On the next page RCU will ask for database details in which you want to create the repository. The page will look as shown below
Once you connect to database, on the next page you need to select the repository that you want to create. Here you can select SOA as shown below. Metadata services will get selected automatically. Also you can use any prefix for these schema. All these schema created will have the prefix string prefixed to it. In this case it will prepend DEV before each schema name. Example DEV_MDS, DEV_SOAINFRA etc.
Once you click on next, it will show the summary and will create tablespace if they dont exists. After tablespace creation, click on create and it will create the required repository schemas.
Step 3) Install WLS (weblogic Server) and create a middleware home
Next step is to install WLS server. Carry out the basic installation of WLS. You need to provide a new location for middleware home when asked for as shown below.
Next it will ask for the location of weblogic. Here you can accept the default value as it will be created inside middleware home.
Select all other values as default and install WLS.
Step 4) Install SOA 11g inside middleware home
Installation of SOA home is again very straight. Installation of SOA will just lay down the file system, it wont configure anything. Important input while installing SOA is the middleware home location and location for SOA home
Here Oracle_SOA1 directory will get created inside mwhome directory. Rest of the inputs for SOA installation can be default.
Step 5) Use config.sh or WLST to create and configure SOA domain and managed servers
Once SOA installation is done, the last and the most important step is configuring SOA domain.
You need to navigate to <middleware_home>/Oracle_SOA1/common/bin location and run config.sh script. This script will open a new GUI window. Follow the below screen shots for configuring SOA.
Select all the required template from this screen. If you don’t need BAM installation, you can uncheck the Business Activity Monitoring template. Click on Next.
On the next screen give any domain name (soa_domain) in this case. You can keep the Domain location and Application location as default. These directories will get automatically created when this domain gets created at the end of installation. Click on Next.
On this screen, provide the weblogic password and click on Next.
On this screen you need to provide the database connection details like database name, hostname and database port. You also need to provide all the schema names and password you created using RCU. RCU will create exact 5 schemas required for SOA configuration. You need to provide details of those schemas on this screen. Once you click in next, the configurator will test the connection for all 5 schemas.
Once the connection test goes successful, you can keep rest of the values as default and create the required domain.
After domain creation start the weblogic server using <middleware_home>/user_projects/domain/<domain_name>/bin/startWeblogic.sh script
Also start the managed servers using <middleware_home>/user_projects/domain/<domain_name>/bin/startManagedWeblogic.sh script
You can then login to console using http://<SOA hostname>:<AdminServer port>/console
In the next post, I will provide the WLST details instead of config.sh for performing tasks in step 5) above.
Hope this helps !!