Tuesday, January 25, 2011

Upgrading to SOA Suite 11gR1 PS3 (11.1.1.4.0)

Upgrading to SOA Suite 11.1.1.4, otherwise known as 11gR1 PS3, is not too difficult, but there are a few typos in the documentation.

These instructions are specific to 11.1.1.4 on Red Hat or OEL Linux 32-bit. For the 64-bit installation, the instructions are identical, but the software you must download is different. All software links below are specific to the 32-bit binaries.

* Make sure to update directories, passwords, domain, hostnames, database names, ports, etc. to reflect your environment.

Download the Software

1. Navigate to http://www.oracle.com/technetwork/middleware/soasuite/downloads/index.html

2. Accept the License Agreement

3. Select Linux (32-bit JVM) from the dropdown underneath Release 11gR1 (11.1.1.4.0)

4. Click on + beside Prerequisites & Recommended Install Process

5. Download the following:
Repository Creation Utility 11.1.1.4.0
http://download.oracle.com/otn/linux/middleware/11g/111140/ofm_rcu_linux_11.1.1.4.0_disk1_1of1.zip

SOA Suite 11.1.1.4.0 Part 1 of 2
http://download.oracle.com/otn/nt/middleware/11g/111140/ofm_soa_generic_11.1.1.4.0_disk1_1of2.zip

SOA Suite 11.1.1.4.0 Part 2 of 2
http://download.oracle.com/otn/nt/middleware/11g/111140/ofm_soa_generic_11.1.1.4.0_disk1_2of2.zip
6. Login to http://support.oracle.com

7. Click on the Patches & Updates tab

8. Click on Product or Family (Advanced Search)

9. Download patch p11060966_1034_LINUX.zip by selecting the following:


Upgrade WebLogic 10.3.3 to 10.3.4

10. Stop the AdminServer, soa_server1, and Node Manager

11. Run the following commands, then follow the instructions:
unzip p11060966_1034_LINUX.zip 
chmod 700 wls1034_upgrade_linux32.bin 
./wls1034_upgrade_linux32.bin
a. Click 'Next'
b. Click 'Next'
c. Uncheck 'I wish to receive security updates via My Oracle Support'
d. Click 'Next'
e. Click 'Yes'
f. Click 'Next'
g. Uncheck 'Oracle Coherence'
h. Uncheck 'Oracle Enterprise Pack for Eclipse'
i. Click 'Next'
j. Click 'Next'
(installer runs)
k. Uncheck 'Run Quickstart'
l. Click 'Done'
Upgrade SOA Suite 11.1.1.2/11.1.1.3 to 11.1.1.4

12. Run the following commands, then follow the instructions:
unzip ofm_soa_generic_11.1.1.4.0_disk1_1of2.zip 
unzip ofm_soa_generic_11.1.1.4.0_disk1_2of2.zip 
./Disk1/runInstaller -jreLoc /u01/app/middleware/home_11g/jdk160_21
a. Click 'Next'
b. Check 'Skip Software Updates'
c. Click 'Next'
d. Click 'Next'
e. Click 'Next'
f. Click 'Yes'
g. Click 'Next'
h. Click 'Install'
(installation runs)
i. Click 'Next'
j. Click 'Finish'
Update Schemas with Patch Set Assistant

13. For more information, refer to the following document:
http://download.oracle.com/docs/cd/E17904_01/doc.1111/e16793/patch_set_assistant.htm#BABEBGEJ
14. Run the following commands:
export ORACLE_HOME=/u01/app/oracle/middleware/home_11g/Oracle_SOA1

cd $ORACLE_HOME/bin
./psa -dbType Oracle -dbConnectString //soasandbox.ipnweb.com:1521/orcl.ipnweb.com -dbaUserName sys -schemaUserName DEV_SOAINFRA
./psa -dbType Oracle -dbConnectString //soasandbox.ipnweb.com:1521/orcl.ipnweb.com -dbaUserName sys -schemaUserName DEV_MDS
[ enter the SYS password ]
[ Enter the DEV_SOAINFRA password ]
15. Install the purge scripts
unzip ofm_rcu_linux_11.1.1.4.0_disk1_1of1.zip

cd ./rcuHome/rcu/integration/soainfra/sql/soa_purge

sqlplus dev_soainfra/welcome1@orcl @soa_purge_scripts.sql
quit

cd ../verify

sqlplus dev_soainfra/welcome1@orcl @soa_verify_scripts.sql

quit
Perform Post-Patching Tasks

16. Execute the following commands:
cd /u01/app/oracle/middleware/home_11g/oracle_common/common/bin

./setWlstEnv.sh

./wlst.sh

upgradeJRF('/u01/app/oracle/middleware/home_11g/user_projects/domains/base_domain')
If using LDAP for authentication, read chapter 3.8.3 before running the command below (http://download.oracle.com/docs/cd/E17904_01/doc.1111/e16793/patch_set_installer.htm#CHDBAHHG).
upgradeOpss(jpsConfig="/u01/app/oracle/middleware/home_11g/user_projects/domains/base_domain/config/fmwconfig/jps-config.xml", jaznData="/u01/app/oracle/middleware/home_11g/oracle_common/modules/oracle.jps_11.1.1/domain_config/system-jazn-data.xml")

exit()
rm -rf /u01/app/oracle/middleware/home_11g/user_projects/domains/base_domain/servers/AdminServer/tmp/* 
rm -rf /u01/app/oracle/middleware/home_11g/user_projects/domains/base_domain/servers/soa_server1/tmp/*
cd $DOMAIN_HOME/bin
nohup $DOMAIN_HOME/bin/startWebLogic.sh &

cd /u01/app/oracle/middleware/home_11g/Oracle_SOA1/common/bin

./wlst.sh ../../bin/soa-upgrade.py --username weblogic --password welcome1 --wlsHost soasandbox.ipnweb.com --adminServerListenPort 7001 --targetList soa_server1
17. Contact Oracle Support to remove the annoying warning. See chapter 3.8.5.2 for more details (http://download.oracle.com/docs/cd/E17904_01/doc.1111/e16793/patch_set_installer.htm#CHDHGDGF).

18. If upgrading from 11.1.1.2, then read chapter 3.8.4 (http://download.oracle.com/docs/cd/E17904_01/doc.1111/e16793/patch_set_installer.htm#BABBCEDH).

19. Read chapter 3.8.9 to add new OWSM pre-defined rolicies (http://download.oracle.com/docs/cd/E17904_01/doc.1111/e16793/patch_set_installer.htm#CHDBICJH).


References:
  • http://download.oracle.com/docs/cd/E17904_01/doc.1111/e16793/patch_set_installer.htm
  • http://download.oracle.com/docs/cd/E17904_01/doc.1111/e16793/patch_set_assistant.htm

Applicable Versions:
  • Oracle SOA Suite 11g (11.1.1.4)
  • Oracle Enterprise Linux 5.5 32-bit

5 comments:

A. Alemu said...

Excellent explained and thanks for good job.

-Abraham

ArunBavera said...

Nice one

desash said...

Excellent post. Keep up the good work.

ps3 repair said...

Perfect tutorial, detailed and step by step which makes it easy to follow thanks.

Natural Viagra said...

Nice!