Oracle SOA Suite Enterprise Service Bus Oracle Integration Product - - PowerPoint PPT Presentation

oracle soa suite enterprise service bus
SMART_READER_LITE
LIVE PREVIEW

Oracle SOA Suite Enterprise Service Bus Oracle Integration Product - - PowerPoint PPT Presentation

Oracle SOA Suite Enterprise Service Bus Oracle Integration Product Management Multi Tiered Deployment Oracle ESB Slide 2 ESB Multi Tier Deployment Overview Topology 3 tiers: 1 Metadata(DT) servers, 2 runtime servers Oracle


slide-1
SLIDE 1

Oracle SOA Suite Enterprise Service Bus

Oracle Integration Product Management

slide-2
SLIDE 2

Slide 2

Oracle ESB Multi Tiered Deployment

slide-3
SLIDE 3

Slide 3

ESB Multi Tier Deployment Overview

  • Topology

– 3 tiers: 1 Metadata(DT) servers, 2 runtime servers – Oracle Database, OC4J + Web S erver

  • Install Instructions

– DB, OC4J, ES B DT, ES B RT

  • ES

B Clustering Configuration

– Esb_config.ini, JNDI Metadata, S lide, JNDI Topic/ Factories

  • Alternative Topologies
  • Checklist: Tool, Action, Target, S

tatus

  • Appendix: S

cripts, validation, optimization, links

slide-4
SLIDE 4

Slide 4

ESB Cluster Multi Tier Topology

DB

OC4J ESB-DT OC4J ESB-RT

Host 2 Host 3

JMS JMS Initial Load Initial Load Instance Data

OC4J ESB-RT

Host 4

1 Database 1 Metadata(DT) 2 RT S erver

* Met adat a server could also reside on same host as DB

Host 1

slide-5
SLIDE 5

Slide 5

ESB Cluster Install Steps

DB

DT

RT1 RT2

JMS JMS Initial Load

  • DB Installer

– Install DB on Host1

  • S

OA S uite Installer

– Install OC4J + OHS

  • n DT Host2

– Install OC4J + OHS

  • n RT Host3

– Install OC4J + OHS

  • n RT Host4
  • ES

B S tandalone Mid Tier Installer

– Install ES B DT component on DT Host2 – Install ES B RT component on RT Host3 – Install ES B RT component on RT Host4

ESB Install Guide: http://download-west.oracle.com/docs/cd/B31017_01/integrate.1013/b28213.pdf

slide-6
SLIDE 6

Slide 6

SOA Suite Install Screen

Install Only the J2EE Server and Web Server

slide-7
SLIDE 7

Slide 7

ESB Cluster Configuration Steps

DB

DT

RT1 RT2

JMS JMS Initial Load

1) Configuring the Cluster of ES B Runtime Instances

S ee Deployment Guide 3.1.16

2) Updating the ES B Metadata

S ee Deployment Guide 3.1.17

3) Configuring the S lide Repository to Use DB

S ee Deployment Guide 3.1.18

4) Configuring JNDIs for Topic/ Connection Factory

S ee Deployment Guide 3.1.19

All of these steps are documented in Section 3 of the

Oracle AS Enterprise Deployment Guide http://download-west.oracle.com/docs/cd/B31017_01/core.1013/b28939.pdf

slide-8
SLIDE 8

Slide 8

Configuring the Cluster of ESB RT Instances

DB

DT

RT1 RT2

JMS JMS Initial Load

  • Configure OC4J for either DT or RT S

erver

– Do this for every OC4J DT or RT servers

S ee Deployment Guide 3.1.16

  • Defines JVM as Running ES

B DT/ MD S erver

– For each RT server, comment out the following

  • File HOME/ integration/ esb/ config/ esb_config.ini
  • # primary_oc4j=true
  • esb_config.ini Contents

– DT “ primary_oc4j=true” – RT “ # primary_oc4j=true”

Oracle AS Enterprise Deployment Guide: http://download-west.oracle.com/docs/cd/B31017_01/core.1013/b28939.pdf

slide-9
SLIDE 9

Slide 9

Updating the ESB Metadata

  • Configure ES

B Metadata JMS JNDI names

– Only do this one time for all OC4J DT and RT servers

S ee Deployment Guide 3.1.17

  • Follow Instructions in Deployment Guide

– Export / import esb_parameter table – Update topic / connection factory for async topics

OR

  • Run the oj msj ndi.sql in Appendix A

Oracle AS Enterprise Deployment Guide: http://download-west.oracle.com/docs/cd/B31017_01/core.1013/b28939.pdf

slide-10
SLIDE 10

Slide 10

Configure Slide Repository for DB

  • Configure OC4J Webdav to point to DB

– Do this for every OC4J DT and RT server

S ee Deployment Guide 3.1.18

  • Navigate to “ HOME/ integration/ esb/ config”
  • Copy “ Domain_DB.xml” to “ Domain.xml”
  • Restart the server

– HOME/ opmn/ bin/ opmnctl shutdown – HOME/ opmn/ bin/ opmnctl startall

Oracle AS Enterprise Deployment Guide: http://download-west.oracle.com/docs/cd/B31017_01/core.1013/b28939.pdf

slide-11
SLIDE 11

Slide 11

Configure JNDI Topic / Connection Factory

  • Configure JNDI Topic in Enterprise Manager

– Do this for every OC4J DT and RT server

S ee Deployment Guide 3.1.19

  • Follow Instructions in Deployment Guide
  • Documentation Exceptions

– S kip S teps 1 and 2 – S tep 9: If restart hangs then restart manually – S tep 16: Do not click “ Finish” – Post 16: S tart ES B-DT and/ or RT manually from EM Applications

Oracle AS Enterprise Deployment Guide: http://download-west.oracle.com/docs/cd/B31017_01/core.1013/b28939.pdf

slide-12
SLIDE 12

Slide 12

Multi Tier Install Checklist

Step Tool Action Target(s) Completed 1 2 3 4 5 6 7 8 9 10 11 Host1 Host2 Host3 Host4 Host2 Host3 Host4 All RT hosts Once for all hosts All hosts Each OC4J DB Installer Install DB on Host1 S OA S uite Advanced Install Install OC4J + OHS

  • n DT Host2

“ Install OC4J + OHS

  • n RT Host3

“ Install OC4J + OHS

  • n RT Host4

ES B S tandalone Mid Tier Install Install ES B DT component on DT Host2 “ Install ES B RT component on RT Host3 “ Install ES B RT component on RT Host4 Text editor Configure ES B RT Instance (esb_config.ini) Command Line tools or S QL*Plus Update the ES B Metadata Command line copy Configure the S lide Repository to Use DB Enterprise Manager Configure JNDIs for Topic/ Connection Factory

Print this page and check off each step as it is completed

slide-13
SLIDE 13

Slide 13

Multi Tier Install Alternatives

  • DT can safely reside on Database host
  • DT server can be on a RT host in separate JVM
  • Multiple RT’ s can share host in separate JVM

– Useful if more t han 1 CPU per host

  • Install other S

OA components into RT JVM

– Use st andalone mid t ier inst alls: BPEL, OWS M …

  • AS

JMS in multi tier environment pending

slide-14
SLIDE 14

Slide 14

Appendix A – ojmsjndi.sql

delete esb_parameter where param_name = 'PROP_NAME_DEFERRED_TOPIC_JNDI'; delete esb_parameter where param_name = 'PROP_NAME_INITIAL_CONTEXT_FACTORY'; delete esb_parameter where param_name = 'ACT_ID_RANGE'; insert into esb_parameter values('PROP_NAME_DEFERRED_TOPIC_JNDI', 'ESBTopics/Topics/ESB_JAVA_DEFERRED'); insert into esb_parameter values('PROP_NAME_INITIAL_CONTEXT_FACTORY', 'com.evermind.server.rmi.RMIInitialContextFactory'); insert into esb_parameter values('ACT_ID_RANGE', '400'); 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 = 'ESBTopics/Topics/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 = 'ESBTopics/Topics/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 = 'ESBTopics/Topics/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 = 'ESBTopics/Topics/ESB_MONITOR' where param_name = 'PROP_NAME_MONITOR_TOPIC_JNDI'; 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 = 'ESBTopics/Topics/ESB_JAVA_DEFERRED' where queue_type='DEFERRED'; update wf_agents set queue_name = 'ESBTopics/Topics/ESB_JAVA_DEFERRED' where queue_type='DEFERRED'; commit; select * from esb_parameter; select tcf_jndi, name, queue_type from wf_agents;

sql to update ESB Schema with JNDI names for JMS with DB persistence

slide-15
SLIDE 15

Slide 15

Appendix B – Install Validations

  • Create ESB System in Console
  • Register projects from JDev
  • See ESB Web Services in EM on RT Server
  • Validate ESB Web Services in EM
  • Perform runtime SOAP test from EM
  • Do this from each RT server
  • Standard CustomerData scenario
  • Test Async Routing Rules
  • View instance data
slide-16
SLIDE 16

Slide 16

Appendix C – Suggested Optimizations

  • Turn off instance tracking
  • Set debug levels to Severe
  • Increase JVM memory heap
  • Apply relevant performance patches
  • Install JIT Java runtime
slide-17
SLIDE 17

Slide 17

Appendix D – ESB Links

OTN: Collateral, Samples and more

  • http://otn.oracle.com/goto/esb

Documentation

  • http://download-west.oracle.com/docs/cd/B31017_01/integrate.htm
  • http://download-west.oracle.com/docs/cd/B31017_01/web.htm

Downloads

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