Sunday, September 28, 2014

Oracle SOA Suite 12C installation

We had a requirement of installing Oracle SOA suite 12c in a single node and below are the steps we followed to set up the environment.


OS: Linux

We wanted to install Oracle HTTP Server instance in the DMZ to front-end the web Logic Server hosted in the application layer and hence did the standalone installation. The steps can be found here

If you would like to install java here are the steps we followed.


Directory strucutre

Below is the directory structure we had used.

ORACLE_HOME=/u01/oracle/products/soa_oracle_home
ORACLE_COMMON_HOME=/u01/oracle/products/soa_oracle_home/oracle_common
WL_HOME=/u01/oracle/products/soa_oracle_home/wlserver
ORACLE_SOA_HOME=/u01/oracle/products/soa_oracle_home/soa
EM_DIR=/u01/oracle/products/soa_oracle_home/em
JAVA_HOME=/u01/java/jdk1.7.0_65
DOMAIN_HOME=/u01/oracle/config/domains/soa_domain
MSERVER_HOME=/u01/oracle/config/domains/soa_domain
APPLICATION_HOME=/u01/oracle/config/applications/soa_domain
DEPLOY_PLAN_HOME=/u01/oracle/config/dp
OHS_ADMIN_CONF_DIR=/u01/oracle/config/domains/soa_domain/config/fmwconfig/components/OHS/instance_name
SOA_LOGS=/u01/oracle/config/domains/soa_domain/servers/wls_soa/logs
OSB_LOGS=/u01/oracle/config/domains/soa_domain/servers/wls_osb/logs
ESS_LOGS=/u01/oracle/config/domains/soa_domain/servers/wls_ess/logs
BAM_LOGS=/u01/oracle/config/domains/soa_domain/servers/wls_bam/logs

Installing and Configuring the Oracle Fusion Middleware Infrastructure


For installation of  SOA 12c, you need to get WebLogic 12c through the Oracle Fusion Middleware Infrastructure installation, which contains all required components for SOA.The standard Weblogic 12.1.3 Installer fmw_12.1.3.0.0_wls.jar, does not have the required JRF templates. The correct one is fmw_12.1.3.0.0_infrastructure.jar

Below error can be seen if the wrong file is used.


INST-07551: Not all depenedent featuresets for install type "SOA Suite"


                   





This screen verifies that your system meets the minimum necessary requirements.




Use this screen to verify the installation options you selected.


This screen appears when the installation is complete.




Click Finish to dismiss.



Installing the Oracle SOA Suite


Launch the installation program by invoking the java executable

$ java -jar fmw_12.1.3.0.0_soa.jar



Specify the location of your Oracle home directory


Select SOA Suite for creating the Oracle SOA Suite standard topology




When the progress bar reaches 100% complete, you can click Finish to dismiss the installer



Installing the Oracle Service Bus Software




Launch the installation program by invoking the java executable
java -jar fmw_12.1.3.0.0_osb.jar




Specify the location of your Oracle home directory.




Select Service Bus.


 Click Next when the progress bar completes 100%.




Click Finish.




Starting the Repository Creation Utility (RCU)


Navigate to the ORACLE_HOME/oracle_common/bin directory on your system. Ensure that the JAVA_HOME environment variable is set to the location of a certified JDK on your system

$export JAVA_HOME=/u01/java/ jdk1.7.0_55

$./rcu




Provide the database connection details for RCU to connect to your database.


Select Create new prefix and then select SOA Suite schema


 specify and confirm your passwords







Click Close to dismiss RCU.






Configuring the Oracle SOA Suite Domain

To begin domain configuration, navigate to the ORACLE_HOME/oracle_common/common/bin directory and start the WebLogic Server Configuration Wizard.

        ./config.sh


select the following templates


Select the location in which you want to store your applications associated with your domain


Specify the user name and password for the default WebLogic Administrator account for the domain

  Specify the Domain Mode and JDK


Enter the database details to connect to the database and Service Table (STB) schema to automatically retrieve schema information for the schemas needed to configure the domain.Click Get RCU Configuration when you are finished specifying the database connection information








Configure  the Administration Server Listen Address



Select Per Domain Default Location as the Node Manager type, then specify the Node Manager credentials.


Configure Managed Servers



Use the Machines screen to create a new machine in the domain.











Extending the Domain for Oracle Service Bus

Navigate to the ORACLE_HOME/oracle_common/common/bin directory and start the WebLogic Server Configuration Wizard.


Select osb.



Connect to the database and Service Table (STB) schema. The databse details will be pulled automatically from the existing domain files





On the Managed Servers screen, a new Managed Server named wls_osb  is created





Assigning Managed Servers to the machine




Starting the Node Manager & Servers


To start your per-domain Node Manager, go to the DOMAIN_HOME/bin directory and Start the Node Manager as shown below.
nohup sh startNodeManager.sh >nm.out&

Please note the location of the nodemanger script file has got changed and you will get an error as below if you try to start the node manager from the $WL_HOME/server/bin

<INFO> <Loading domains file: /u01/oracle/products/soa_oracle_home/oracle_common/common/nodemanager/nodemanager.domains>
<WARNING> <Domains file not found: /u01/oracle/products/soa_oracle_home/oracle_common/common/nodemanager/nodemanager.domains><Sep 28, 2014 4:13:31 PM GST>
<INFO> <Loading identity key store: FileName=/u01/oracle/products/soa_oracle_home/oracle_common/common/nodemanager/security/DemoIdentity.jks, Type=jks, PassPhraseUsed=true>
<SEVERE> <Fatal error in NodeManager server: Identity key store file not found: /u01/oracle/products/soa_oracle_home/oracle_common/common/nodemanager/security/DemoIdentity.jks>

To start the Administration Server create a Boot Identity File in $DOMAIN_HOME/servers/AdminServer/security with below entries.

cd $DOMAIN_HOME
mkdir -p servers/AdminServer/security
vi boot.properties
username=weblogic
password=password

This contents will be encrypted during the server startup.

Go to the DOMAIN_HOME/bin directory and start the server as follows.
nohup sh startWebLogic.sh &

Login to the console using http://adminserverhost:port/console and start the managed servers.

13 comments:

  1. what are the RAM requirements of this setup?

    ReplyDelete
    Replies
    1. The installer requires just 2 GB physical memory.. But the actual sizing depends on the size of your SOA environment.

      Delete
  2. C:\Oracle\Middleware\Oracle_Home\oracle_common\bin>rcu.bat
    The system cannot find the file C:\Oracle\MIDDLE~1\ORACLE~1\ORACLE~1\jdk\jre\bin
    \javaw. -can u plz help me

    ReplyDelete
    Replies
    1. Check if JAVA_HOME is set in your environment variable . i.e. in System Properties > Advanced System Settings > Environment variable > User Variables

      Delete
  3. What is the difference between running /oracle_common/common/bin/config.sh and /server/bin/config.sh

    ReplyDelete
    Replies
    1. The /oracle_common/common/bin/config.sh needs to be used for creating the domain..

      Delete
  4. This blog has wonderful information about oracle.
    We are providing Oracle SOA Certification.Visit my website ORACLE SOA Certification

    ReplyDelete
  5. Need a quick help...

    I was going through your blog for installing SOA 12C.

    I have installed WLS using : fmw_12.1.3.0.0_wls.jar

    However your blog says to install WLS using : fmw_12.1.3.0.0_infrastructure.jar

    Could you please let me know whats the difference between these 2 files ??

    ReplyDelete
    Replies
    1. It doesn't contain the required JRF for running SOA

      Delete

  6. Thanks for the nice blog here.I was searching this one for a long time.This blog is very helpful for my studies..I got another one site also,which is same as yours Oracle OSB.Check this one also Oracle Fusion HCM Sure it will be helpful for you too..Once more iam thanking you for your creative blog.

    ReplyDelete
  7. I feel really happy to have seen your webpage and look forward to so many more entertaining times reading here .Same as your blog i found another one Oracle Fusion HCM . Actually I was looking for the same information on internet for Oracle Fusion HCM and came across your blog. I am impressed by the information that you have on this blog. Thanks once more for all the details.

    ReplyDelete
  8. I wish to show thanks to you just for bailing me out of this particular trouble. As a result of checking through the net and meeting techniques that were not productive, Same as your blog I found another one Oracle OSB 12c.Actually I was looking for the same information on internet for Oracle OSB 12c and came across your blog. I am impressed by the information that you have on this blog. Thanks once more for all the details.

    ReplyDelete
  9. It's really a great and helpful piece of info. I'm glad that you just shared this useful information with us. Please keep us up to date like this. Thank you for sharing.Here is the right place to Submit Guest Post Big Data.

    ReplyDelete