Friday 20 September 2013

Oracle SOA 11g installation on Weblogic 11g

Oracle SOA 11g installation on Weblogic 11g
Assumptions:
This article assumes you have an existing server (real or virtual) with Oracle Linux 5.x. installed on it. Here i did the basic Installation of Oracle Linus 5.7 with no extra package groups for this installation.And after Linux you have to Install 11g database.
Everything in the installation will be 64-bit.
Software:
Download Weblogic Server & JDK from following links :
Java Development Kit (I used 6u38 Linux64 RPM)
WebLogic Server 11gr1 – Generic Installer (1G) (10.3.5 or 10.3.6)
The following actions should be performed by the “root” user.
Make sure the “/etc/hosts” file contains correct entries for both the “localhost” and real host names.
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
192.168.1.20 fmw.oracle.com fmw
Install the JDK.
Go to the software location which you have copied and run the jdk directly as below as a root user
[root@fmw ~]$cd /u01/FMW
[root@fmw oracle]# ./jdk-6u38-linux-x64-rpm.bin
Create a new group and user:
You will create this user and group already while doing 11g Installation, so no need to do this step
[root@fmw ~]# groupadd -g 1000 oinstall
[root@fmw ~]# useradd -u 1100 -g oinstall oracle
[root@fmw ~]# passwd oracle
Changing password for user oracle.
New UNIX password:
BAD PASSWORD: it is based on a dictionary word
Retype new UNIX password:
passwd: all authentication tokens updated successfully.
Create the directories in which the Oracle software will be installed.
[root@fmw ~]# mkdir -p /u02/app/oracle/middleware
[root@fmw ~]# chown -R oracle:oinstall /u02
[root@fmw ~]# chmod -R 775 /u02/
Append the following entries into the “/home/oracle/.bash_profile” file.
[root@fmw ~]#su – oracle
[oracle@fmw ~]$vi .bash_profile
MW_HOME=/u02/app/oracle/middleware; export MW_HOME
WLS_HOME=$MW_HOME/wlserver_10.3; export WLS_HOME
JAVA_HOME=/usr/java/jdk1.6.0_38; export JAVA_HOME
PATH=$JAVA_HOME/bin:$PATH; export PATH
Installation
Go to the location where you have copied the weblogic software
[oracle@fmw ~]$cd /u01/FMW
Run the installer as the “oracle” user.
[oracle@fmw ~]$$JAVA_HOME/bin/java -Xmx1024m -jar wls1036_generic.jar
Click the “Next” button on the welcome screen.
jdk1
Enter the middleware home (“/u01/app/oracle/middleware”) and click the “Next” button.
jdk2
Either enter your support details, or attempt to uncheck the security updates checkbox. The box doesn’t actually uncheck, but presents you with a warning dialog.If you click the “Yes” button, indicating you don’t want updates, you are returned to the same screen with the box still checked. Click the “Next” button anyway.
jdk3
Assuming you don’t want security updates, click “Yes” and “Yes” on the subsequent warning dialogs and you are presented with the “Connection Failed” screen.Check the “I wish to remain uninformed…” checkbox and click the “Continue” button. This whole process is very confusing at first. Obviously the developers responsible didn’t really expect people to say no to security updates!
jdk4
Accept the typical setup by clicking the “Next” button.
wls5
Accept the default JDK selection by clicking the “Next” button.
jdk6
Accept the default product installation directories by clicking the “Next” button
jdk7
If you are happy with the summary information, click the “Next” button and wait while the installation completes
wls9
On the installation complete screen, uncheck the “Quickstart” checkbox and click the “Done” button.
wls10
Installation of RCU:
go to <rcu_home> which you have unzipped the RCU zipfile
[oracle@fmw ~]$cd /rcu_home/bin
[oracle@fmw ~]$./rcu
rcu1
Click Next
rcu2
Select Create and Click Next
rcu3
Fill the details of your database here as shown above screenshot and click Next
rcu4
Click Ok
rcu5
Create a new prefix as “FMW” and default will be DEV, Select SOA and BPM Infrastructure as shown in the above screen shot and click Next
rcu6
Click ok
rcu7
Select Use Same passwords for all schemas :  <your password> and click Next
rcu8
Click Next
rcu9
Click Ok
rcu10
Click ok
rcu11
Click Create
rcu12
Click Close
Installation of SOA:
Go to the software location where you have copied and unzipped the SOA suite software
Here I have copied software to “/home/oracle/sw” location
[oracle@test ~]cd sw
[oracle@test ~]cd soa/Disk1
[oracle@test ~]pwd
/home/oracle/sw/soa/Disk1
[oracle@test ~]./runInstaller
Please specify JRE/JDK location (Ex. /home/jre), <location>/bin/java should exist:/usr/java/jdk1.6.0_38/jre
soa1

soa2
Click Next
soa3
Select Skip Software Updates and click Next
soa4
Click Next
soa5
Fill the Middleware home details
Oracle Middleware Home: /u02/app/oracle/middleware
Oracle Home Directory: Oracle_SOA1
and Click Next
soa6
Select Weblogic Server and click Next
soa7
Click Install
soa8
Click Next
soa9
Click Finish
Creation of Domain:
[oracle@test ~]cd /u02/app/oracle/middleware/wlserver_10.3/common/bin
[oracle@test ~]pwd
/u02/app/oracle/middleware/wlserver_10.3/common/bin
[oracle@test ~]./config.sh
domain1

domain2
Select “Create a new Weblogic domain” and click Next
domain3
Select products as shown in the above screen shot and click Next
domain4
Fill the details
Domain name: soa_domain
Domain location:/u02/app/oracle/middleware/user_porjects/domains
Application location:/u02/app/oracle/middleware/user_porjects/applications
and click Next
domain5
Fill the details
Name: weblogic
User Password: Oracle123
Confirm user password: Oracle123
and click Next
domain6
select which type of Mode you want either Development or Production Mode,
and check whether the correct JDK is selected or not and click Next
domain7
Select Each Schema and fill the details
domain8
Schema Owner , Schema Password, Service Name, Hostname, port.
Note that Here we are using FADB as prefix to all Schemas
domain9
Click Next
domain10
Select “Administration Server” , “Managed Server, Clusters and Machines” and “Deployments and Services” and click Next
domain11
Enter following values.
Name: AdminServer
Listen address: fa.appsdbatraining.com
Listen Port: 7001
We are not using SSL here so click Next
domain12
Enter Listener address and click Next
domain13
Click Next
domain14
Since we are using Unix machine.
domain15
Click on “Unix Machine” tab and click add button and enter following values. And click Next
Name: soa_server1
Node Manager listen address:192.168.1.143
Node manager listen port: 5556
and click Next
domain16
Select all managed servers on left side
domain17
click on right arrow to assign all servers to our single node. Click Next
domain18
Select servers as shown in the above screen shot and click Next
domain19
Select the servers as shown in the above screen shots and click Next
domain20
Review the summary and click “Create
domain21
Once creation is complete, click Done.

No comments:

Post a Comment