1 INTRODUCTION........................................................................................................................................ 3 1.1.1 Approach ........................................................................................................................................ 4 1.1.2 Port and Environments................................................................................................................... 4 1.2 SOFTWARE INSTALLATIONS .................................................................................................................... 5 1.3 REFERENCES ........................................................................................................................................... 5 CLUSTER INSTALL................................................................................................................................... 6 2.1 PACKAGES............................................................................................................................................... 6 2.2 CHECK DISK SPACE.................................................................................................................................. 6 2.3 ENVIRONEMT VARIABLES........................................................................................................................ 7 2.4 ORACLE SOA SUITE DATABASE OBJECTS ............................................................................................... 8 2.4.1 Cleanup the SOA database obfects................................................................................................. 8 2.4.2 Create SOA database obfects ......................................................................................................... 8 2.5 INSTALL ORACLE SOA SUITE ................................................................................................................. 9 2.5.1 Install Oracle Application Server - J2EE en Web Server............................................................. 10 2.5.2 Configure Oracle Applicatie Server Clustering ........................................................................... 14 2.5.3 Apache Configuration................................................................................................................... 18 2.5.4 Install Oracle BPEL software....................................................................................................... 19 2.5.5 Configure Oracle BPEL cluster.................................................................................................... 22 2.5.6 Install Oracle ESB Runtime software ........................................................................................... 24 2.5.7 Update Java JDK.......................................................................................................................... 27 2.5.8 Setting Java Startup Parameters .................................................................................................. 27 2.5.9 Install OWSM ............................................................................................................................... 27 2.5.10 Configure OWSM Cluster............................................................................................................. 28 2.5.11 Install SOA Suite Patch 10.1.3.4................................................................................................... 32 2.5.12 Upgrade the SOA Suite repositorv................................................................................................ 33 2.5.13 Applv Oracle SOA Suite MLR=5................................................................................................... 34 2.5.14 Configure Oracle ESB Designer instance .................................................................................... 35 2.5.15 Cluster de Oracle ESB Runtime.................................................................................................... 37 2.5.16 ESB Database Repositorv............................................................................................................. 38 2.5.17 JMS Resource Adapters................................................................................................................ 39 2.5.18 Connection Pools.......................................................................................................................... 43 2.6 PROXY SETTINGS................................................................................................................................... 45 2.7 CONNECTION POOLS ............................................................................................................................. 47 3 APPENDIX ................................................................................................................................................. 48 3.1 STOP/START SCRIPTS ............................................................................................................................ 48 3.2 OPEN ENTERPRISE MANAGER............................................................................................................... 49 3.3 RESET ESB REPOSITORY....................................................................................................................... 49
ORASOAClusterInstallv1
Marc Kelderman 2009 3
1 INTRODUCTION This document describes how to install a SOA cluster. The installation is based on the Iollowing assumptions:
O Installation based on as simple as it can be. O Reduce memory consumption. O A database is available. O Installtion is done on Linux.
The installation is based on the the Iollowing Oracle products:
O Oracle Application Server O Oracle BPEL Process Manager O Oracle Enterprise Service Bus O Oracle Web Services Manager
The goal oI this installtion is to install and conIigure the latest version, in this case 10.1.3.4 inclusing the latest patch (MLR #5). The technical architecture looks like this:
ORASOAClusterInstallv1
Marc Kelderman 2009 4
To install the cluster environment the Iollowing components are created:
O One Oracle Home with the complete soItware tree. O Oracle BPEL 10.1.3.x O Oracle ESB 10.1.3.x O Oracle Services Manager 10.1.3.x O Oracle SOA Suite Patch 10.1.3.4 (MLR#5) O Two Oracle OC4J containers; 4 1 Ior Oracle ESB design time 4 1 Ior Oracle ESB runtime, BPEL, Web Services Manager O One Apache http webserver.
node1.vijIhuizen.com 7777 Apache HTTP Server 6003 Oracle Process Manager 12510 AJP oc4jsoa 12520 AJP oc4jesbdt host~:6200 IP Broadcast adress node2.vijIhuizen.com 7777 Apache HTTP Server 6003 Oracle Process Manager 12510 AJP oc4jsoa 12520 AJP oc4jesbdt host~:6200 IP Broadcast adress
ORASOAClusterInstallv1
Marc Kelderman 2009 5
1.2 Software Installations We assume that all the soItware is downloaded, unzipped ot cpio-ed into a staging area and accesable Irom node 1 and node 2. Let us assume this is a central share an mount on both nodes on /media/share/4racle/stage`.
This staging area should contain the Iollowing Iiles:
$ ls -l /media/share/oracle/stage t4tal 36 drwxr-xr-x 3 r44t r44t 4096 Feb 25 07:50 bpel10.1.3.1 drwxr-xr-x 3 r44t r44t 4096 Feb 25 07:48 esb10.1.3.1 drwxr-xr-x 9 r44t r44t 4096 Feb 25 07:51 jdk1.5.0_17 drwxr-xr-x 3 r44t r44t 4096 Feb 25 07:45 4wsm10.1.3.1.0 drwxr-xr-x 5 r44t r44t 4096 Feb 25 07:47 s4a10.1.3.1 drwxr-xr-x 3 r44t r44t 4096 Feb 25 07:51 s4a10.1.3.4mlr5 drwxr-xr-x 4 r44t r44t 4096 Feb 25 07:48 s4a10.1.3.4patch
All the soItware can be download Irom Oracle; via http://otn.oracle.com or via http://metalink.oracle.com to obtain the patches.
1.3 References This document could not be created without the Iollowing documents.
Oracle Application Server Installation Guide http://download.oracle.com/docs/cd/B3101701/linux.1013/install.pdI
Oracle SOA Suite High Availability FAQ www.oracle.com/technology/tech/soa/pdI/oracle-soa-suite-ha-Iaq.pdI
Oracle Web Services Manager, Installation Guide http://download.oracle.com/docs/cd/B3101701/integrate.1013/b31006.pdI
Oracle ESB Multi Tiered Deployment http://www.oracle.com/technology/products/integration/esb/Iiles/esb-presentation-deployment.pdI
Metalink Note: 470267.1: How To VeriIy ESB Cluster ConIiguration Metalink Note: 455714.1: Recommendations Ior ESB 10.1.3 Cluster ConIiguration Metalink Note: 728144.1 Installing AIA Ior Communications on a SOA Cluster
ORASOAClusterInstallv1
Marc Kelderman 2009 6
2 CLUSTER INSTALL 2.1 Packages Check iI the required Linux Packages are installed on the OS. The Iollowing soItware package should be installed on the server.
The packages must be installed with this version or higer.
Important! Create a symbolic link voor de libdb.so.2. DUt to the Iact that the version oI compat-db-4.0 is no longer avialable within compat-db-4.x or hight.
2.3 Environemt variables Check that there are no speciIic O/S variables are set that are related to Oracle or Java.
$ set
<list 4f variabeles>
II variables are set that are related to ORACLE / ORA / JAVA / JDK, then these must be unset.
$ unset <variabele>
Test iI the X-server is working. The installer is using XWindows Ior the installtion. II you install Irom a workstation you should have a X-Server running. Use a tool as XMing Ior example.
Open a session to the server, node #1 or node #2, under the unix account oracle`, the DISPLAY variabele shouw be set. TDeze sessie moet opgebouwd met de optie dat X11 wordt geIorward.
II this setting is not set in some value, then check iI the Linux package Xorg-X11-Xauth` is installed and try again.
Go to the directory /media/share/oracle/stage/soa10.1.3.1` to start the Oracle installer to check the iI XWindows is working.
$ cd /data/oracle/stage/soa10.1.3.1 $ ./runInstaller -ignoreSysPreReqs
The Iollowing window should be started. Click on Cancel to close this screen.
ORASOAClusterInstallv1
Marc Kelderman 2009 8
2.4 Oracle SOA Suite Database objects 2.4.1 Cleanup the SOA database objects II there are any existing schema objects, they should be removed. This can be done with tools as SQLDeveloper. Connect to the database as system user.
dr4p user 4rabpel cascade; dr4p user 4raesb cascade; dr4p user 4rawsm cascade;
2.4.2 Create SOA database objects Copy the soaschema` Irom the directory /media/share/oracle/stage/soa10.1.3.1/install` to another place, so it can be accessed and executed.
II you need to change the deIault tablespace oI the SOA schemas, change the Iollowing Iile.
cd C:\mkelderm\download\soa_schemas\soa_schemas\irca\sql\orabpel
notepad createuser_oracle.sql
create user &bpm_user identified by &bpm_passwd default tablespace 4rabpel temp4rary tablespace temp;
cd C:\mkelderm\download\soa_schemas\soa_schemas\irca\sql\oraesb notepad createuser.sql
create user &4raesb_user identified by &4raesb_passw4rd default tablespace 4raesb temp4rary tablespace temp;
cd C:\mkelderm\download\soa_schemas\soa_schemas\irca\sql\owsm notepad createuser.sql
create user &4rawsm_user identified by &4rawsm_passw4rd; default tablespace 4raesb temp4rary tablespace temp;
Create the SOA database objects via the script irca.bat` in the \soaschemas\irca` directory. Check beIore executing the scritp, iI the settings to Java are correct.
ech4 Integrati4n Rep4sit4ry Creati4n Assistant (IRCA) 10.1.3.1.0 ech4 (c) C4pyright 2006 Oracle C4rp4rati4n. All rights reserved.
REM SET /P ORACLE_HOME=Enter database ORACLE_HOME:
set ORACLE_HOME=D:\oracle\product\devsuite set JAVA_HOME=D:\oracle\product\devsuite\jdk
IF NOT EXIST %ORACLE_HOME%\jdbc\lib\4jdbc14.jar (
Start the script irca.bat`. This script expects three parameters; the hostnaam oI the database server, the port number oI SQLNET and the service name oI the database. And it expects the SYS password.
database.vijIhuizen.com 1521 orcl.vijIhuizen.com
Note: To determine the service name:
ORASOAClusterInstallv1
Marc Kelderman 2009 9
select * fr4m v$parameter where name like '%ervice%';
C:\\s4a_schemas\irca>irca.bat Integrati4n Rep4sit4ry Creati4n Assistant (IRCA) 10.1.3.1.0 (c) C4pyright 2006 Oracle C4rp4rati4n. All rights reserved. Enter database "h4st p4rt serviceName" [l4calh4st 1521 4rcl]: database.vijfhuizen.com 1521 orcl.vijfhuizen.com Enter sys passw4rd: ****** Running IRCA f4r all pr4duct(s): c4nnecti4n="l2-bm20-e0g.vijfhuizen.c4m 10700 MSLACC.l2-bm20-e0g.vijfhuizen.c4m", , 4rabpelUser=ORABPEL, esbUser=ORA ESB, 4rawsmUser=ORAWSM
Validating database ... Validating database character set ...
Running prerequisite checks f4r ORABPEL ... WARNING: This script will 4verwrite the existing ORABPEL schema. D4 y4u wish t4 c4ntinue? (y/n) y Enter passw4rd f4r ORABPEL: Enter passw4rd f4r ORABPEL: L4ading ORABPEL schema (this may take a few minutes) ...
Running prerequisite checks f4r ORAESB ... WARNING: This script will 4verwrite the existing ORAESB schema. D4 y4u wish t4 c4ntinue? (y/n) y Enter passw4rd f4r ORAESB: Enter passw4rd f4r ORAESB: L4ading ORAESB schema (this may take a few minutes) ...
Running prerequisite checks f4r ORAWSM ... WARNING: This script will 4verwrite the existing ORAWSM schema. D4 y4u wish t4 c4ntinue? (y/n) y Enter passw4rd f4r ORAWSM: Enter passw4rd f4r ORAWSM: L4ading ORAWSM schema (this may take a few minutes) ...
INFO: ORABPEL schema c4ntains 225 valid 4bjects.
INFO: ORAESB schema c4ntains 180 valid 4bjects.
INFO: ORAWSM schema c4ntains 90 valid 4bjects.
IRCA c4mpleted. Please check f4r any ERROR message ab4ve and als4 check the l4g file irca2009-02-23_02-37-07PM.l4g f4r any err4r 4r 4ther inf4rmati4n.
2.5 Install Oracle SOA Suite The Iollowing steps are execute to install the SOA Suite:
O Install Oracle Application Server - J2EE en Web Server soItware O ConIigure cluster Oracle Application Server - J2EE and Web Server O ConIigure Oracle Applicatie Server Clustering O Install Oracle BPEL soItware O ConIigure Oracle BPEL cluster O Install Oracle ESB Runtime soItware O Update Java JDK O Install OWSM O ConIigure OWSM Cluster O Install SOA Suite Patch O Install MLR O Upgrade SOA Suite database objects O ConIigure Oracle ESB Designer instance O ConIigure Oracle ESB cluster
ORASOAClusterInstallv1
Marc Kelderman 2009 10
2.5.1 Install Oracle Application Server - J2EE en Web Server Execute the Iollowing steps Ior node #1 as well Ior node #2.
sh 4rainstR44t.sh Creating the Oracle invent4ry p4inter file (/etc/4raInst.l4c) Changing gr4upname 4f /data/4racle/4raInvent4ry t4 dba. ]
Click On C4ntinue
ORASOAClusterInstallv1
Marc Kelderman 2009 11
Select J2EE and Web Server
Click On Next
Check all 4pen check b4xes Click 4n Next
Click 4n Next
AS Instance Name: ass4a AS Administrat4r Username: 4c4jadmin AS Administrat4r Passw4rd: welc4me1 C4nfirm AS Administrat4r Passw4rd: welc4me1 Check C4nfigure as Administrati4n OC4J Instance OC4J Instance Name: h4me
Click 4n Next
ORASOAClusterInstallv1
Marc Kelderman 2009 12
Cluster t4p4l4gy will be d4ne later!
Click 4n Next
Click 4n Install
In pr4gress
Run r44t.sh
cd /4racle/pr4ducts/10.1.3/s4a sh r44t.sh Running Oracle10 r44t.sh script... \nThe f4ll4wing envir4nment variables are set as: ORACLE_OWNER= 4racle ORACLE_HOME= /4racle/pr4ducts/10.1.3/s4a
Enter the full pathname 4f the l4cal bin direct4ry: [/usr/l4cal/bin]: C4pying dbh4me t4 /usr/l4cal/bin ... C4pying 4raenv t4 /usr/l4cal/bin ... ORASOAClusterInstallv1
Marc Kelderman 2009 13
C4pying c4raenv t4 /usr/l4cal/bin ...
\nCreating /etc/4ratab file... Adding entry t4 /etc/4ratab file... Entries will be added t4 the /etc/4ratab file as needed by Database C4nfigurati4n Assistant when a database is created Finished running generic part 4f r44t.sh script. N4w pr4duct-specific r44t acti4ns will be perf4rmed.
Click 4n OK
In pr4gress
Click 4n Exit
Apply this also Ior node #2.
ORASOAClusterInstallv1
Marc Kelderman 2009 14
2.5.2 Configure Oracle Applicatie Server Clustering VeriIy oI the Iile /etc/oratab` contains the Iollowing de line, this should be valid Ior node #1 and node #2.
$ cd $ORACLE_HOME/opmn/bin $ ./opmnctl stopall 4pmnctl: st4pping 4pmn and all managed pr4cesses... $ ./opmnctl startall 4pmnctl: starting 4pmn and all managed pr4cesses...
AJP Poort: 12520 Max Heap: 128m Initial Heap: 128m
Now execute all the previous actions Ior node #2, except the containers, they will be added to the group.
Because we are using a load balancer, we should make sure that the load balancer is pointing to our environment.
VeriIy by network support iI the load balancer is correctly conIigured and pointing to the new nodes.
http://loadbalancer.vijIhuizen.com/
ORASOAClusterInstallv1
Marc Kelderman 2009 18
2.5.3 Apache Configuration Apply the Iollowing changes in the http server on both nodes.
O Server name O Maximum requests per child server, beIore it dies
$ vi $ORACLE_HOME/Apache/Apache/conf/httpd.conf
ServerName node1.vijfhuizen.com
MinSpareServers 5 MaxSpareServers 20
MaxRequestsPerChild 123
%he value of the SpareServers and MaxRequets depends per customer on the usage of the application.
Restart applicatie servers, see Appendix. ORASOAClusterInstallv1
Marc Kelderman 2009 19
2.5.4 Install Oracle BPEL software
Execute on both nodes the Iollowing actions to install the BPEL soItware.
$ cd /media/share/4racle/stage/bpel10.1.3.1/ bpel_101310/bpel_4c4j
$ ./runInstaller -ign4reSysPreReqs
Click 4n Next
Path: as is Name: 4racleas1 Path: /4racle/pr4ducts/10.1.3/s4a
Click 4n Next
Select BPEL Pr4cess Manager f4r Oracle AS
Click Next
Click Next ORASOAClusterInstallv1
Marc Kelderman 2009 20
H4stname and p4rt: database.vijfhuizen.c4m:1521 Service Name: 4rcl.vijfhuizen.c4m ORABPEL Passw4rd: *****
Click Next
AD Adminitrati4n Pass4wrd: ***** OC4J Instance Name: SOA_GROUP^4c4j_s4a
Click Next
Click Install
On the server
$ sh /4racle/pr4ducts/10.1.3/s4a/r44t.sh
Click 4n OK
In pr4gress
ORASOAClusterInstallv1
Marc Kelderman 2009 21
Click 4n Exit
ORASOAClusterInstallv1
Marc Kelderman 2009 22
2.5.5 Configure Oracle BPEL cluster
To make the BPEL cluster aware, some conIiguration changes need to be made. This must be done on both nodes in the Iiles.
O collaxa-conIig.xml O jgroups-protocol.xml O ant-orabpel.properties
$ vi $ORACLE_HOME/bpel/system/config/collaxa-config.xml
<pr4perty id="enableCluster"> <name>Cluster enable flag</name> <value>true</value> <c4mment> <![CDATA[Specify the value t4 true if y4u want t4 enable clustering. By default the clustering service is disabled. ]]> </c4mment> </pr4perty>
<pr4perty id="clusterName"> <name>Cluster Id</name> <value>loadbalancer.vijfhuizen.com</value> <c4mment> <![CDATA[clusterName specifies the name 4f the bpel cluster. <p/> The cluster is defined by the clusterName, multi-cast address and multi-cast p4rt.Changing any 4ne 4f th4se parameter puts the bpel server instance in a different cluster. Value f4r clusterName pr4perty needs t4 be the same f4r all bpel n4des in a cluster in 4rder f4r them t4 find each 4ther.<p/> In additi4n t4 having distinct cluster names f4r each cluster, y4u sh4uld use a different multicast address 4r p4rt f4r each cluster.<p/> Y4u can change the multicast address 4r p4rt in the bpel/system/c4nfig/jgr4ups-pr4t4c4l.xml ]]> </c4mment> </pr4perty>
<pr4perty id="s4apServerUrl"> <name>BPEL s4ap server URL</name> <value>loadbalancer.vijfhuizen.com</value> <c4mment> <![CDATA[This URL is published as part 4f the SOAP address 4f a pr4cess in the WSDL file. <p/> The h4stname and p4rt f4r this URL sh4uld be cust4mized t4 match the h4stname 4f y4ur system and the p4rt 4f y4ur HTTP gateway.]]> </c4mment> </pr4perty>
<pr4perty id="s4apCallbackUrl"> <name>BPEL s4ap callback URL</name> <value>loadbalancer.vijfhuizen.com</value> <c4mment> <![CDATA[This URL is sent by the server as part 4f the asynchr4n4us callback address t4 the inv4ker. <p/> The h4stname and p4rt f4r this URL sh4uld be cust4mized t4 match the h4stname 4f y4ur system and the p4rt 4f y4ur HTTP gateway.]]> </c4mment> </pr4perty>
ORASOAClusterInstallv1
Marc Kelderman 2009 23
Watch out Ior the next IP conIiguration. VeriIy with network administration id the IP adres and port numbers are available. This IP adres and port number are used to communicatie between BPEL instances.
$ vi $ORACLE_HOME/bpel/system/config/jgroups-protocol.xml
2.5.8 Setting Java Startup Parameters BeIore we install the Oracle Web Services Manager we increase the initial heap and set the keepalive within OC4J. For all oc4jcontainers on both nodes, the oc4jsoa and the oc4jesbdt, we set the memory to - Doc4j.userThreadstrue -Xss128k -DHTTPClient.socket.staleChecktrue`.
Stop the application server on bothe nodes, see Appendix.
Note Ior oc4jsoa we set the memory to -Xmx1024m -Xms1024m -XX:MaxPermSize512m` and Ior oc4jesbdt we set the memory to -Xmx256m Xms256m -XX:MaxPermSize256m `.
Start the application server on both nodes, see Appendix.
2.5.9 Install OWSM Execute the next steps on node #1 and node #2.
$ cd /media/share/4racle/stage/4wsm10.1.3.1.0/ 4wsm_101310/OWSM
$ cd $ORACLE_HOME/owsm/config/ccore $ vi ui-config-installer.properties
M4nit4r endp4int that the UI will talk t4 ui.4m.server.rmiH4st=loadbalancer.vijfhuizen.com ui.4m.server.rmiP4rt=3118
ui.c4rda.externalP4rt=7777
$ cd $ORACLE_HOME/owsm/bin $ ./wsmadmin.sh deploy control
ORASOAClusterInstallv1
Marc Kelderman 2009 32
2.5.11 Install SOA Suite Patch 10.1.3.4 The Iirst patch is to upgrade the Oracle SOA Suite 10.1.3.1.0 to version 10.1.3.4. Execute this on both nodes.
$ cd /media/share/4racle/stage/s4a10.1.3.4patch/Disk1
Click Next
Name: 4racleas1 Path: /4racle/pr4ducts/10.1.3/s4a
Click Next
Passw4rd: *****
Click Next
Click Ok
Click Install
ORASOAClusterInstallv1
Marc Kelderman 2009 33
In pr4gress
In pr4gress
Click 4n Exit
2.5.12 Upgrade the SOA Suite repository The database objects oI the SOA suite must be upgraded to 10.1.3.4.esn voor de SOA database moeten worden bij gewerkt. This has to be executed only Irom one node.
$ cd /data/oracle/stage/soa10.1.3.4patch/Disk1/install/soa_schema_upgrade $ cd bpel/scripts $ sqlplus orabpel/orabpel@\(DESCRIPTION=\(ADDRESS_LIST=\(ADDRESS=\(PROTOCOL=tcp\)\(HOST=database.vijfhui zen.com\)\(PORT=1521\)\)\)\(CONNECT_DATA=\(SERVICE_NAME=orcl.vijfhuizen.com\)\)\) @upgrade_10131_10134_oracle.sql
SQL> SQL> commit;
C4mmit c4mplete.
SQL> exit
$ cd /data/oracle/stage/soa10.1.3.4patch/Disk1/install/soa_schema_upgrade $ cd esb/sql/oracle $ sqlplus oraesb/oraesb@\(DESCRIPTION=\(ADDRESS_LIST=\(ADDRESS=\(PROTOCOL=tcp\)\(HOST=database.vijfhuize ORASOAClusterInstallv1
2.5.13 Apply Oracle SOA Suite MLR#5 The latest patch set oI 10.1.3.4 must be applied. In this case this is Oracle SOA Suite 10.1.3.4, MLR #5.
To apply this patch, top the application servers, see Appendix.
Apply the patch on both nodes.
$ cd /media/share/oracle/stage/soa10.1.3.4mlr5/7714967 $ export OPATCH_PLATFORM_ID=0 $ $ORACLE_HOME/OPatch/opatch apply
Oracle Interim Patch Installer versi4n 1.0.0.0.56 C4pyright (c) 2006 Oracle C4rp4rati4n. All Rights Reserved..
We rec4mmend y4u refer t4 the OPatch d4cumentati4n under OPatch/d4cs f4r usage reference. We als4 rec4mmend using the latest OPatch versi4n. F4r the latest OPatch versi4n and 4ther supp4rt related issues, please refer t4 d4cument 293369.1 which is viewable fr4m metalink.4racle.c4m
2.5.15 Cluster de Oracle ESB Runtime Remove the comment brackets oI the ESB runtime enigine to makei t cluster aware.Remove also the new 10.1.3.4 tags.
$ vi $ORACLE_HOME/j2ee/oc4j_soa/applications/esb-rt/META-INF/orion-application.xml
II this is not the case, then create the queues via the script createesbtopics.sql`. This is located in $ORACLEHOME/integration/esb/sql/oracle.
2.5.16 ESB Database Repository Change the design time instance, Irom Iile based to database repository.
$ cd $ORACLE_HOME/integration/esb/config $ cp Domain_DB.xml Domain.xml
Restart the application servers, see Appendix.
The JMS messages in ESB Design Time are normally Iile-based stored. For a cluster this must be changed to database storage.
Execute the next actions on both oc4j instances (oc4jsoa, oc4jesbdt) and on both nodes. First apply this on node #1, while node #2 is down. Then apply it on node #2 while node #1 is down.
Logon to Oracle Enterprise Manager http://n4de1.vijfhuizen.c4m:7777/em
Selecteer de 4c4j_esbdt c4ntainer v44r iedere server.
ORASOAClusterInstallv1
Marc Kelderman 2009 39
Click Administrati4n Click Expand all Click Database Persistence
update esb_parameter set param_value ='l4adbalancer.vijfhuizen.c4m' where param_name = 'DT_OC4J_HOST'; update esb_parameter set param_value ='80' where param_name = 'DT_OC4J_HTTP_PORT'; update esb_parameter set param_value ='OracleOJMS/TCF' where param_name = 'PROP_NAME_DEFERRED_TCF_JNDI'; update esb_parameter set param_value ='OracleOJMS/XATCF' where param_name = 'PROP_NAME_DEFERRED_XATCF_JNDI'; update esb_parameter set param_value ='ESBT4pics/T4pics/ESB_CONTROL' where param_name = 'PROP_NAME_CONTROL_TOPIC_JNDI'; update esb_parameter set param_value ='OracleOJMS/XATCF' where param_name = 'PROP_NAME_CONTROL_TCF_JNDI'; update esb_parameter set param_value ='ESBT4pics/T4pics/ESB_ERROR' where param_name = 'PROP_NAME_ERROR_TOPIC_JNDI'; update esb_parameter set param_value ='OracleOJMS/TCF' where param_name = 'PROP_NAME_ERROR_TCF_JNDI'; update esb_parameter set param_value ='OracleOJMS/XATCF' where param_name = 'PROP_NAME_ERROR_XATCF_JNDI'; update esb_parameter set param_value ='ESBT4pics/T4pics/ESB_ERROR_RETRY' where param_name = 'PROP_NAME_ERROR_RETRY_JNDI'; update esb_parameter set param_value ='OracleOJMS/XATCF' where param_name = 'PROP_NAME_ERROR_RETRY_TCF_JNDI'; update esb_parameter set param_value ='ESBT4pics/T4pics/ESB_MONITOR' where param_name = 'PROP_NAME_MONITOR_TOPIC_JNDI'; ORASOAClusterInstallv1
Marc Kelderman 2009 43
update esb_parameter set param_value ='OracleOJMS/TCF' where param_name = 'PROP_NAME_MONITOR_TCF_JNDI';
update wf_agents set tcf_jndi='OracleOJMS/XATCF' where queue_type='DEFERRED'; update wf_agents set name ='ESBT4pics/T4pics/ESB_JAVA_DEFERRED' where queue_type='DEFERRED'; update wf_agents set queue_name ='ESBT4pics/T4pics/ESB_JAVA_DEFERRED' where queue_type='DEFERRED';
c4mmit exit
2.5.18 Connection Pools Create the Iollowing connectie pool.
O BPELPool
L4g 4n t4 Oracle Enterprise Manager
Click 4n SOA_GROUP
Click Administrati4n
Click JDBC Res4urces
ORASOAClusterInstallv1
Marc Kelderman 2009 44
Click Create
Applicati4n: Default New C4nnecti4n P44l fr4m existing Existing: ESBP44l
Click c4ntinue
Click JDBC Res4urces
Name: BPELP44l Fact4ry Class: 4racle.jdbc.p44l.OracleDataS4urce URL: Default Username: 4rabpel User clear text Passw4rd: 4rabpel
Click Apply
Click Create
ORASOAClusterInstallv1
Marc Kelderman 2009 45
Applicati4n: Default New C4nnecti4n P44l fr4m existing Existing: BPELP44l
Click c4ntinue
Apply this connection pool to the BPEL datasource.
Restart the application server, see Appendix.
Open the ESB console. VeriIy all the ESB systems on the Iollowing settings.
Cluster Name: esb Virtual Host: loadbalancer.vijIhuizen.com Port: 80 Topic Location: ESBTopics/Topics/ESBJAVADEFERRED Connection Factory Location: OracleOJMS/XATCF 2.6 Proxy Settings II you are using a proxy server Ior all connections over the network add the Iollowing settings to disable creating connections Irom the cluster nodes to each other.
Add the proxy settings to the oc4jsoa and oc4jesbdt containers.
2.7 Connection Pools De connectie pools on both nodes should be changed in a way that it is using the optimal connections. In numbers connectigons in the pool depends on usage oI the application. This varies per customer.
The deIault values are not suIIecient. By deIault it can create unlimited nuber oI connections to the database. We will limit the number connections.
Set all the connection pools in the oc4jsoa` instance the minimale and maximum values.
These values van be set via Enterpise Manager, but it is easier to do it directly in the Iile.