27
Author A.Kishore http:/www.appsdba.info Install 10g SOA on RedHat 5.5 High Level Steps Install Oracle 10g database and upgrade to 10.2.0.4 Installation of SOA Suite 10.1.3.1.0 Upgrade SOA to 10.1.3. 5 Step 1: Install Oracle Database and upgrade 10.2.0.4, follow the below steps http://www.appsdba.info/docs/SOA/Install_Oracle10g_10204.pdf Step2: Installation of SOA Suite 10.1.3.1.0 Before installing the SOA run the irca.sh file. we need to run irca.sh file which is located in the directory $SOA_SOFTWARE/install/soa_schemas/irca/ The shell script will create the schemas ORABPEL, ORAESB and ORAWSM. My System Overview Local host/server name: linux1.com Operating System Version: Red Hat Enterprise Linux Server release 5.5 (Tikanga) Operating system user name: aiauser Group name: dba Installation Directory: /d01/oracle/AIA/ Rdbms Oracle_home= /d01/oracle/AIA/SOA_HOME Oracle SID= AIA

Author A.Kishore http:/ Install 10g SOA on ... – A.Kishore http:/ Post Install Steps Run Upgrade Scripts on Oracle ...WARNING✕Site might be dangerousWe suggest you choose another

Embed Size (px)

Citation preview

Author – A.Kishore

http:/www.appsdba.info

Install 10g SOA on RedHat 5.5

High Level Steps

Install Oracle 10g database and upgrade to 10.2.0.4

Installation of SOA Suite 10.1.3.1.0

Upgrade SOA to 10.1.3. 5

Step 1:

Install Oracle Database and upgrade 10.2.0.4, follow the below steps

http://www.appsdba.info/docs/SOA/Install_Oracle10g_10204.pdf

Step2:

Installation of SOA Suite 10.1.3.1.0

Before installing the SOA run the irca.sh file. we need to run irca.sh file which is located

in the directory $SOA_SOFTWARE/install/soa_schemas/irca/

The shell script will create the schemas ORABPEL, ORAESB and ORAWSM.

My System Overview

Local host/server name: linux1.com

Operating System Version: Red Hat Enterprise Linux Server release 5.5 (Tikanga)

Operating system user name: aiauser

Group name: dba

Installation Directory: /d01/oracle/AIA/

Rdbms Oracle_home= /d01/oracle/AIA/SOA_HOME

Oracle SID= AIA

Author – A.Kishore

http:/www.appsdba.info

Download - Application Server 10g Release 3 (10.1.3.x) Downloads

http://www.oracle.com/technology/software/products/ias/htdocs/101310.html

soa_linux_x86_101310_disk1.cpio

ias_linux_x86_101350.zip

cd $SOFTWARE_LOCATION/soa/install/soa_schemas/irca

./irca.sh

Author – A.Kishore

http:/www.appsdba.info

Author – A.Kishore

http:/www.appsdba.info

Connect as root

xhost +

Modify the redhat release as - Red Hat Enterprise Linux AS release 4

cat /etc/redhat-release

Red Hat Enterprise Linux Server release 5.5 (Tikanga)

mv /etc/redhat-release /etc/redhat-release_org

cat /etc/redhat-release

Red Hat Enterprise Linux AS release 4

su - aiauser

cd /d03/oracle/soa_linuxx86_101310/soa

./runInstaller

Author – A.Kishore

http:/www.appsdba.info

Author – A.Kishore

http:/www.appsdba.info

Author – A.Kishore

http:/www.appsdba.info

Author – A.Kishore

http:/www.appsdba.info

Author – A.Kishore

http:/www.appsdba.info

Author – A.Kishore

http:/www.appsdba.info

Author – A.Kishore

http:/www.appsdba.info

Author – A.Kishore

http:/www.appsdba.info

Author – A.Kishore

http:/www.appsdba.info

Check the below links/status

http://linux1.com:7778/BPELConsole/default/index.jsp

Author – A.Kishore

http:/www.appsdba.info

http://linux1.com:7778/BPELAdmin/domains.jsp

Note – default should exists

http://linux1.com:7778/em

Author – A.Kishore

http:/www.appsdba.info

Take the backup of all the softwares installed

cd /d01/oracle/AIA/

cp -R oradata oradata_after_10131

cp -R ORACLE_HOME ORACLE_HOME_after_10131

cp -R SOA_HOME SOA_HOME_after_10131

cd /home/aiauser/

cp -R oraInventory oraInventory_after_10131

Ensure JAVA_HOME is set as follows:

vi .bash_profile

export JAVA_HOME=$SOA_HOME/product/10.1.3.1/OracleAS_1/jdk

PATH=$PATH:$ORACLE_HOME/bin:$JAVA_HOME/bin

Upgrade SOA from 10.1.3.1 to 10.1.3.5

linux32 bash

Author – A.Kishore

http:/www.appsdba.info

Author – A.Kishore

http:/www.appsdba.info

Author – A.Kishore

http:/www.appsdba.info

Author – A.Kishore

http:/www.appsdba.info

Author – A.Kishore

http:/www.appsdba.info

Author – A.Kishore

http:/www.appsdba.info

Author – A.Kishore

http:/www.appsdba.info

Author – A.Kishore

http:/www.appsdba.info

Post Install Steps

Run Upgrade Scripts on Oracle Application Server 10g Release 3

cd

$SOFTWARE_LOCATION/soa_linuxx86_101310/patch/Disk1/install/soa_schema_upgr

ade/bpel/scripts

sqlplus orabpel/orabpel @upgrade_10131_10135_oracle.sql

cd $SOFTWARE_LOCATION

/soa_linuxx86_101310/patch/Disk1/install/soa_schema_upgrade/esb/sql/oracle

sqlplus oraesb/oraesb @upgrade_10131_10135_oracle.sql

http://linux1.com:7778/BPELAdmin/domains.jsp

oc4jadmin/passwd

Author – A.Kishore

http:/www.appsdba.info

Take a backup

cp -R ORACLE_HOME ORACLE_HOME_after_10135 &

cp -R oradata oradata_after_10135 &

cp -R SOA_HOME SOA_HOME_after_10135 &

Problems and Solutions

Modified Date LabelModified Modified Date12-AUG-2009 Document Type LabelType Document TypePROBLEM

In this Document Symptoms

Cause

Solution

This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process, and therefore has not been subject to an independent technical review.

Applies to: Oracle Application Server 10g Enterprise Edition - Version: 10.1.3.1.0

This problem can occur on any platform.

Symptoms

Installing AS 10.1.3.1 SOA

The installation fails at the "Oracle BPEL Process Manager Configuration Assistant"

The installActions.log shows:

ERROR: Failed starting OPMN and its managed processes.

oracle.ias.opmn.optic.OpticBadRequestException: Error starting opmn

server: 2 at

oracle.ias.opmn.optic.OpmnAdmin.executeCommand(OpmnAdmin.java:147)

oracle.ias.opmn.optic.OpmnAdmin.executeCommand(OpmnAdmin.java:147) at

oracle.ias.opmn.optic.OpmnAdmin.startOpmnServer(OpmnAdmin.java:77)

at

oracle.tip.install.util.MidtierUtil.startBasicProcesses(MidtierUtil.ja

va:73)

at

oracle.tip.install.tasks.DeployApps.midtierDeployment(DeployApps.java:

159)

at oracle.tip.install.tasks.DeployApps.install(DeployApps.java:142)

at oracle.tip.install.BPMInstaller.executeTask(BPMInstaller.java:319)

at oracle.tip.install.BPMInstaller.runInstaller(BPMInstaller.java:207)

at oracle.tip.install.BPMInstaller.main(BPMInstaller.java:121)

Port value is 6003

Author – A.Kishore

http:/www.appsdba.info Buildfile: bpminstall.xml

etc..

Failed at "Could not get DeploymentManager".

restart.container:

Stopping home container ...

Communication error with the OPMN server local port.

Check the OPMN log files

Cause There is an ONS port conflict between this installation and a Database install

As the Application Server $ORACLE_HOME/opmn/conf/opmn.xml has OPMN ports that conflict

with the Database $ORACLE_HOME/opmn/conf/ons.config, then OPMN cannot start correctly.

For example the Application Server opmn.xml has: <port local="6100" remote="6200" request="6003"/>

and the Database ons.config has: localport=6100

remoteport=6200

Solution To implement the solution, execute the following steps:

1. In the Database home run: $ORACLE_HOME/bin/onsctl stop

$ORACLE_HOME/bin/lsnrctl stop

2. Edit the Database $ORACLE_HOME/opmn/opmn/conf/ons.config and change local and

remote port to two new unused ports, for example: localport=6800

remoteport=6801

3. In the Database home run:

$ORACLE_HOME/bin/onsctl start

$ORACLE_HOME/bin/lsnrctl start

4. Retry the Installer.

Author – A.Kishore

http:/www.appsdba.info

2nd

issue, had problems while starting SOA

opmnctl: starting opmn and all managed processes...

===============================================================

=================

opmn id=linux1.com:6200

1 of 3 processes started.

ias-instance id=AIA_SOA.linux1.com

+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

+++++++++++++++++

ias-component/process-type/process-set:

default_group/home/default_group/

Error

--> Process (index=1,uid=894113718,pid=4582)

no port available from the port range

failed to start a managed process after the maximum retry limit

no port available from the port range

Log:

/d01/oracle/AIA/SOA_HOME/opmn/logs//default_group~home~default_group~1.log

ias-component/process-type/process-set:

default_group/oc4j_soa/default_group/

Error

--> Process (index=1,uid=894113719,pid=4583)

no port available from the port range

failed to start a managed process after the maximum retry limit

no port available from the port range

Log:

/d01/oracle/AIA/SOA_HOME/opmn/logs//default_group~oc4j_soa~default_group~1.l

og

Processes in Instance: AIA_SOA.linux1.com

---------------------------------+--------------------+---------+---------

ias-component | process-type | pid | status

---------------------------------+--------------------+---------+---------

ASG | ASG | N/A | Down

OC4JGroup:default_group | OC4J:oc4j_soa | N/A | Down

OC4JGroup:default_group | OC4J:home | N/A | Down

HTTP_Server | HTTP_Server | 4581 | Alive

Author – A.Kishore

http:/www.appsdba.info

linux1-> sh stop_soa.sh

opmnctl: opmn is not running.

linux1-> vi start_soa.sh

linux1-> ps -ef |grep opmn

aiauser 4557 1 0 19:03 ? 00:00:00 /d01/oracle/AIA/SOA_HOME/opmn/bi

n/opmn -d

aiauser 4558 4557 5 19:03 ? 00:00:20 /d01/oracle/AIA/SOA_HOME/opmn/bi

n/opmn -d

aiauser 10406 4464 0 19:10 pts/1 00:00:00 grep opmn

linux1-> kill -9 4557 4558

linux1-> sh start_soa.sh

opmnctl: starting opmn and all managed processes...

Processes in Instance: AIA_SOA.linux1.com

---------------------------------+--------------------+---------+---------

ias-component | process-type | pid | status

---------------------------------+--------------------+---------+---------

ASG | ASG | N/A | Down

OC4JGroup:default_group | OC4J:oc4j_soa | 22491 | Alive

OC4JGroup:default_group | OC4J:home | 22490 | Alive

HTTP_Server | HTTP_Server | 4581 | Alive