Você está na página 1de 32

http://www.shantanu01.blogspot.

com/

Installation of SOA Suite 10.1.3.5 on RHEL

Installation of SOA Suite 10.1.3.5 on RHEL


1. Database Connectivity and Details
Database Status and Version
[oracle@ETNAIA ~]$ export PATH=$PATH:$HOME/bin
[oracle@ETNAIA ~]$ echo $PATH
/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/home/oracle/bin:/oracle/oracle/product/10.2.0/db_1/bi
n:/home/oracle/bin:/oracle/oracle/product/10.2.0/db_1/bin:/home/oracle/bin:/oracle/oracle/product/
10.2.0/db_1/bin:/home/oracle/bin
[oracle@ETNAIA ~]$ export ORACLE_HOME=/oracle/oracle/product/10.2.0/db_1
[oracle@ETNAIA ~]$ export PATH=$PATH:$ORACLE_HOME/bin
[oracle@ETNAIA ~]$ export ORACLE_SID=DEVAIADB
[oracle@ETNAIA ~]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.4.0 - Production on Fri Oct 22 12:47:07 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.

Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select status from v$instance;
STATUS
-----------OPEN
SQL> select version from v$instance;
VERSION
----------------10.2.0.4.0
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options

http://www.shantanu01.blogspot.com/

Installation of SOA Suite 10.1.3.5 on RHEL

Database Parameter

Value

User with DBA Privileges

sys

Database User Password

sys

Hostname

ETNAIADB

Port

1521

Service Name

SITAIA

ORABPEL Password

orabpel

ORAWSM Password

orawsm

ORAESB Password

oraesb

Database User for OSR

system

Database User Pwd for OSR

system

http://www.shantanu01.blogspot.com/

Installation of SOA Suite 10.1.3.5 on RHEL

2. Installation of 10.1.3.1 SOA Server


Pre-installation Steps
[oracle@ETNAIA irca]$ pwd
/oracle/software/02.SOA/01.SOA10131/install/soa_schemas/irca
[oracle@ETNAIA irca]$ sh irca.sh all
Integration Repository Creation Assistant (IRCA) 10.1.3.1.0
(c) Copyright 2006 Oracle Corporation. All rights reserved.
Enter database "host port serviceName" [localhost 1521 orcl]:
Enter database "host port serviceName" [localhost 1521 orcl]: ETNAIA 1521 DEVAIADB
Enter sys password:
Running IRCA for all product(s):
connection="ETNAIA 1521 DEVAIADB", , orabpelUser=ORABPEL, esbUser=ORAESB,
orawsmUser=ORAWSM
Validating database ...
Validating database character set ...

Running prerequisite checks for ORABPEL ...


Enter password for ORABPEL:<orabpel>
Loading ORABPEL schema (this may take a few minutes) ...

Running prerequisite checks for ORAESB ...


Enter password for ORAESB:<oraesb>
Loading ORAESB schema (this may take a few minutes) ...

Running prerequisite checks for ORAWSM ...


Enter password for ORAWSM:<orawsm>
Loading ORAWSM schema (this may take a few minutes) ...
INFO: ORABPEL schema contains 225 valid objects.
INFO: ORAESB schema contains 180 valid objects.
INFO: ORAWSM schema contains 90 valid objects.

http://www.shantanu01.blogspot.com/

Installation of SOA Suite 10.1.3.5 on RHEL

IRCA completed.
Please check for any ERROR message above and also check the log file
irca2010-10-22_05-50-38PM.log for any error or other information.

Navigate to the directory containing the binaries


[oracle@ETNAIA 01.SOA10131]$ pwd
/oracle/software/02.SOA/01.SOA10131
[oracle@ETNAIA 01.SOA10131]$ ls
doc install runInstaller stage staticports.ini

http://www.shantanu01.blogspot.com/

Click YES

Installation of SOA Suite 10.1.3.5 on RHEL

http://www.shantanu01.blogspot.com/

Click Next

Installation of SOA Suite 10.1.3.5 on RHEL

http://www.shantanu01.blogspot.com/

Select all the check boxes.

Installation of SOA Suite 10.1.3.5 on RHEL

http://www.shantanu01.blogspot.com/

Installation of SOA Suite 10.1.3.5 on RHEL

http://www.shantanu01.blogspot.com/

Installation of SOA Suite 10.1.3.5 on RHEL

http://www.shantanu01.blogspot.com/

Installation of SOA Suite 10.1.3.5 on RHEL

http://www.shantanu01.blogspot.com/

Installation of SOA Suite 10.1.3.5 on RHEL

http://www.shantanu01.blogspot.com/

Installation of SOA Suite 10.1.3.5 on RHEL

http://www.shantanu01.blogspot.com/

Installation of SOA Suite 10.1.3.5 on RHEL

http://www.shantanu01.blogspot.com/

Installation of SOA Suite 10.1.3.5 on RHEL

When configuration will fail during HTTP startup, follow the below step
[root@ETNAIA ~]# ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2

http://www.shantanu01.blogspot.com/

Installation of SOA Suite 10.1.3.5 on RHEL

[root@ETNAIA orasoa]# sh root.sh


Running Oracle10 root.sh script...
\nThe following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /oracle/orasoa
Enter the full pathname of the local bin directory: [/usr/local/bin]:
The file "dbhome" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]:<enter>
The file "oraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: <enter>
The file "coraenv" already exists in /usr/local/bin. Overwrite it? (y/n)
[n]: <enter>
Adding entry to /etc/oratab file...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root.sh script.

http://www.shantanu01.blogspot.com/

Now product-specific root actions will be performed.

Installation of SOA Suite 10.1.3.5 on RHEL

http://www.shantanu01.blogspot.com/

Installation of SOA Suite 10.1.3.5 on RHEL

VERIFICATION :
1. Verify if BPEL Console, Enterprise Manager Console and ESB Console are opening.
2. TaskActionHandler and TaskManager is shown on the BPEL Console.
3. DefaultSystem can be seen on the ESB console.

http://www.shantanu01.blogspot.com/

Installation of SOA Suite 10.1.3.5 on RHEL

3. Up gradation of 10.1.3.1 to 10.1.3.3 SOA Server


1. Pre-installation Steps
Apply below patches on the environment before upgrading it to 10.1.3.5.
1. 5669155
2. 6880880 (101000) Must OPatch for upgradation
3. 6370967
4. 8555288
Run below scripts on database:
/stage/soa_schema_upgrade/bpel/scripts/upgrade_10131_10135_oracle.sql
Run the above script as orabpel user
/stage/soa_schema_upgrade/esb/sql/other/upgrade_10131_10135_oracle.sql
Run the above script as oraesb user
Restart the instances.
Restart DB and SOA Suite.
Ensure the following values are set in the $ORACLE_HOME/owsm/bin/install.properties file:
install.http.host=ETNAIA
install.http.port=7777
Ensure the OC4J instances are running. You can check the status using the following
command:
[oracle@ETNAIA opmn]$ opmnctl status
Processes in Instance: orasoa.ETNAIA
---------------------------------+--------------------+---------+--------ias-component

| process-type

pid | status

---------------------------------+--------------------+---------+--------OC4JGroup:default_group

| OC4J:oc4j_soa

| 18881 | Alive

OC4JGroup:default_group

| OC4J:home

| 18880 | Alive

ASG

| ASG

HTTP_Server

| HTTP_Server

| 18879 | Alive

N/A | Down

http://www.shantanu01.blogspot.com/

2. INSTALLATION STEP
[oracle@ETNAIA Disk1]$ ./runInstaller -ignoreSysPrereqs

Installation of SOA Suite 10.1.3.5 on RHEL

http://www.shantanu01.blogspot.com/

Installation of SOA Suite 10.1.3.5 on RHEL

http://www.shantanu01.blogspot.com/

Installation of SOA Suite 10.1.3.5 on RHEL

http://www.shantanu01.blogspot.com/

Installation of SOA Suite 10.1.3.5 on RHEL

http://www.shantanu01.blogspot.com/

Installation of SOA Suite 10.1.3.5 on RHEL

http://www.shantanu01.blogspot.com/

Installation of SOA Suite 10.1.3.5 on RHEL

http://www.shantanu01.blogspot.com/

Installation of SOA Suite 10.1.3.5 on RHEL

http://www.shantanu01.blogspot.com/

[root@ETNAIA ~]# sh /oracle/orasoa/root.sh


[root@ETNAIA ~]# exit

Installation of SOA Suite 10.1.3.5 on RHEL

http://www.shantanu01.blogspot.com/

Installation of SOA Suite 10.1.3.5 on RHEL

http://www.shantanu01.blogspot.com/

Installation of SOA Suite 10.1.3.5 on RHEL

http://www.shantanu01.blogspot.com/

Installation of SOA Suite 10.1.3.5 on RHEL

3. Post Installation Step


Perform a Complete Backup
Taken a cold backup of AS @ /stage/backup/SOA101350
Enable PHP
[oracle@ENRSITAIA SOA101350]$ vi $ORACLE_HOME/Apache/Apache/conf/httpd.conf
Use the comment character (#) to comment the following PHP 4.0 directive:
#LoadModule php4_module libexec/libphp4.so
#AddModule mod_php4.c could not find in the file
Add the following PHP 5.0 LoadModule directive:
LoadModule php5_module libexec/libphp5.so
AddModule mod_php5.c
Comment the following AddType directives:
#AddType application/x-httpd-php .php .phtml
#AddType application/x-httpd-php-source .phps
Uncomment the following AddType directives:
AddType application/x-httpd-php .php .php5
AddType application/x-httpd-php-source .phps
Save and close the httpd.conf file.
Set the PHPRC environment variable to point to the php5.ini file:
[oracle@ENRSITAIA ~]$ vi .bash_profile
Add below line in it
export PHPRC=$ORACLE_HOME/Apache/Apache/conf/php5.ini
Change JDBC factoryClass in BPEL Connection Pool
Edit the data-sources.xml file to change the JDBC factoryClass parameter from oracle.jdbc.OracleDriver
to oracle.jdbc.pool.OracleDataSource for the BPELPM_CONNECTION_POOL parameter.
<connection-pool name="BPELPM_CONNECTION_POOL">
<connection-factory factory-class="oracle.jdbc.OracleDriver" user="orabpel" ../>
Replace it with

http://www.shantanu01.blogspot.com/

Installation of SOA Suite 10.1.3.5 on RHEL

<connection-factory factory-class=" oracle.jdbc.pool.OracleDataSource " user="orabpel" ../>


Disable HTTP TRACE Support
Add the following additional configuration information to the Apache HTTP Servers configuration file:
RewriteEngine On
RewriteCond %{REQUEST_METHOD} ^TRACE
RewriteRule .* - [F]
[oracle@ENRSITAIA config]$ vi /oracle/orasoa/Apache/Apache/conf/httpd.conf
Add at the bottom.
Apply Post Installation Patch
#------------------------------------------------------------------------# Interim Patch for base bug: 8800528
#------------------------------------------------------------------------#
# DATE: Sept 2, 2009
# -----------------------# Platform Patch for : Generic
# Product Version # : 10.1.3.5.0
# Product Patched : Oracle Security Developer Tools
#
# Bugs Fixed by this patch:
# ------------------------# 8800528:MERGE LABEL REQUEST ON TOP OF 10.1.3.5.0 FOR BUGS 6032064 6855621 7215134 757632
# 6032064:REMOVE ECC
# 6855621:UPLOADCRL FAILS
# 7215134:WSM WLS EXCPT THROWN PREFIXLIST ATTRIBUTE IS MISSING FOR INCLUSIVENAMESPACES
# 7576325:PROBLEM WITH ENCRYPTION/DECRYPTION WHEN PAYLOAD HAS A & CHARACTER

http://www.shantanu01.blogspot.com/

Installation of SOA Suite 10.1.3.5 on RHEL

# 7632951:REQUIRE SUPPORT FOR SHA256-RSA SIGNATURE ALGORITHM


# 7457583:PERFORMANCE ISSUES
[oracle@ENRSITAIA 8800528]$ opatch apply

Oracle Interim Patch Installer version 1.0.0.0.61


Copyright (c) 2009 Oracle Corporation. All Rights Reserved..

Oracle recommends you to use the latest OPatch version and read the OPatch documentation available
in the OPatch/docs directory for usage. For information about the latest OPatch and other supportrelated issues, refer to document ID 293369.1 available on My Oracle Support
https://myoraclesupport.oracle.com)
Oracle Home

: /oracle/orasoa

Oracle Home Inventory : /oracle/orasoa/inventory


Central Inventory
from

: /oracle/oraInventory

: /etc/oraInst.loc

OUI location

: /oracle/orasoa/oui

OUI shared library : /oracle/orasoa/oui/lib/linux/liboraInstaller.so


Java location

: /oracle/orasoa/jre/1.4.2/bin/java

Log file location

: /oracle/orasoa/.patch_storage/<patch ID>/*.log

Creating log file "/oracle/orasoa/.patch_storage/8800528/Apply_8800528_02-24-2011_16-21-30.log"


Invoking fuser to check for active processes.
Backing up comps.xml ...
OPatch detected non-cluster Oracle Home from the inventory and will patch the local system only.
Please shut down Oracle instances running out of this ORACLE_HOME
(Oracle Home = /oracle/orasoa)
Is this system ready for updating?

http://www.shantanu01.blogspot.com/

Please respond Y|N >


Y
Applying patch 8800528...
Patching copy files...
Inventory is good and does not have any dangling patches.
Updating inventory...
Verifying patch...
Backing up comps.xml ...
OPatch succeeded.

Installation of SOA Suite 10.1.3.5 on RHEL

Você também pode gostar