Friday 9 March 2012

SOA 11g Admin - SOA Installation Guide


Oracle Fusion Middleware 11g installation is broadly covered in 5 steps
1.    Create Repository
2.    Install Weblogic Server
3.    Install SOA Suite
4.    Configure SOA Suite
5.    Install and configure JDeveloper
I would cover this to help setup 11g on desktop/laptop to play around or do development. I have not covered DB installation assuming that it has been already taken care of.
This is my overall configuration:
·         Dell 630 w/ Intel Core 2 Duo with 4 GB RAM
·         Windows Server 2008 / Vista 32-bit
·         Oracle Database 11.1.1.7.0
·         Weblogic Server 10.3.2
·         SOA Suite 11.1.1.2.0
·         JDeveloper 11.1.1.2.0
Step 1: Create Repository
·         Start rcu.bat (.sh), welcome screen click next
Description: image
·         on step 1 select “create” and click next
Description: image
·         step 2, provide DB details and click next
Description: image
Description: image
·         step 3 select schemas you want to create and click next
Description: image
Description: image
·         step 4 provide passwords and click next
Description: image
·         step 5 accept default values click next
Description: image
Description: image
Description: image
·         step 6 summary screen click create
Description: image
·         Summary screen appears once process is complete. click close.
Description: image
This completes our step 1 for
Step 2: Installation of Weblogic Server
·         Run weblogic server installer wls1032_win32.exe. Welcome screen appears, click next
Description: image
·         Create new fusion middleware home directory, click next
Description: image
·         Can’t get my configuration working so skipping it. We can configure it later after install
Description: image
·         Choose “custom” install type and click next
Description: image
·         Deselect “Server Example” and click next
Description: image
·         Select JRockit as default JDK (my preference). Can switch default JDKs even after install
Description: image
·         Provide weblogic server installation directory and click next
Description: image
·         Select “NO” service to be created for node manager and click next. We can create this service later
Description: image
·         Make your selection for shortcuts and click next
Description: image
·         Check summary screen and click next. This will begin installation of weblogic server
Description: image
·         Wait for installation to complete
Description: image 
·         Installation complete screen appears, uncheck “run quickstart” and click done
Description: image
This completes step 2, next step is to install SOA suite component.
Step 3: Installing Oracle SOA Suite
·         Run soa suite installer by clicking setup.exe. On welcome screen click next
Description: image
·         Once it passes pre-requisite check, click next
Description: image
·         Provide middleware home directory and folder name where you want soa suite to be installed
Description: image
·         Verify summary screen and click install
Description: image
·         Please wait for installation to complete
Description: image
·         Once installation completes, click next
Description: image
·         View completion summary and click finish
Description: image
This completes our step 3 now the next step is to configure SOA suite
Step 4: Configure SOA Suite
·         Run config.cmd form FMW_HOME//common/bin. This will initiate weblogic domain configuration by initiating wizard. On welcome screen, select new domain and click next
Description: image
·         Select components as per screen and click next
Description: image
·         Provide domain name and click next
Description: image
·         Provide admin username and password. Click next
Description: image
·         Select startup mode and default JDK (I choose JRockit) and click next
Description: image
·         Provide MDS information and click next. This would initiate test screen to validate settings provided for MDS
Description: image
·         Once successful, click next on test component screen
Description: image
·         Check all components on optional configuration screen. We have to do it because I will be installing all components in one server rather than default configuration of admin server, soa server and bam server. This runs better on my laptop. I would not recommend it DEV environment either.
Description: image
·         Provide server name and click next
Description: image
·         Delete both the servers from managed server screen and click next
Description: image
·         Click next on configure cluster screen
Description: image
·         Accept default values on configure machine screen and click next
Description: image 
·         Move your SOAServer to localmachine and click next
Description: image
·         Check deployments and click next
Description: image
·         Select services on cluster and click next
Description: image
·         Accept default values for JMS Store and click next
Description: image
·         Click next on security screen
Description: image
·         Check summary screen and click create
Description: image
·         When creation completes, click done. Do not start admin server right now.
Description: image
·         Change memory arguments in setDomainEnv.cmd. Easiest option to do it to set USER_MEM_ARGS variable
o    set USER_MEM_ARGS = -Xms1024m -Xmx1024m -Xmn614m -XX:PermSize=256m -XX:MaxPermSize=256m
·         Configure ORACLE BAM with custom port 7001 (default is 9001)
o    Edit file FMW_HOME/SOA_HOME/bam/config/BAMICommandConfig.xml
§  7001
o    Start Server
o    Edit following file under MW_HOME\user_projects\domains\\servers\\tmp\_WL_user\oracle-bam_11.1.1\\APP-INF\classes\config\
§  BAMWebConfig.xml >> 7001
§  BAMServerConfig.xml >> 7001
§  BAMCommonConfig.xml >> http://localhost:7001
o    Restart server
·         Check all the components
Description: image
Step 5: Installing and configuring JDeveloper
Description: image·         Run jdevstudio11112install
·         Click next on welcome screen
Description: image
·         Select FMW home and click next. Please remember to select the one where we installed weblogic 10.3.2 and SOA Suite 11g R2
Description: image
·         Accept defaults at component screen and click next
Description: image
·         Select JDK and click next
Description: image
·         Choose installation folder and click next
Description: image 
·         Check summary and click next
Description: image
·         Installation progress screen appears, wait for installation to finish
Description: image
·         Click Done
Description: image
·         Start JDeveloper 11g, choose default role and click ok
Description: image
·         Click on  Help > Check for updates and then you will be able to get all the latest updates. However if you want to download extensions and distribute it you can go to http://www.oracle.com/technology/products/jdev/101/update/center.xml (open it in IE) and download extensions for your version. Also http://www.oracle.com/technology/products/jdev/101/update/fmw_products.xml to download SOA, WebCenter, Team Productivity extensions.
Description: image
·         “Select All” or select the ones your want.
Description: image
·         After Installation completes, click finish
Description: image
Description: image
Description: image


This finishes SOA 11g R2 installation.

1 comment: