Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Migration to Oracle Fusion Middleware 11g:
Key Points of Success

Deniz Seçilir
Deniz Pazarcıoğlu
Introduction
•

Based on Oracle 11g
migration scripts

•

Additional migration scripts
and tips for seamless migration

•
...
Agenda
• Benefits of Fusion
Middleware
• Turkcell SOA Components
• Hints For Migration
• Migration Process
• Q/A
Turkcell Group – Regional Leader
› 9 countries
› 61.7 million subscribers
› Leadership in the region
Germany

Now we are i...
More About Turkcell


Creates employment for more than
50.000 people in Turkey



The first and only Turkish company lis...
Turkcell Technology
We are an energetic team having more
than 17 years of experience combined
with an ongoing commitment t...
Key Milestones
Turkcell Technology has more than 15 years of development experience with its solutions
applied and proven ...
Benefits of Fusion Middleware
• Improved performance with
64 bit architecture
• Reduced time to market with
new developmen...
Turkcell SOA Infrastructure
Inhouse CRM
System

Order
Decomposition

CRM
Integration
(Synch)

Customer Self
Care (Internet...
SOA Maturity Levels
• Level 1: Service enablement
• Level 2: Process enablement
• Level 3: Business Integration
and Proces...
Turkcell SOA Components
Maturity Level
1
Maturity Level
2
Maturity Level
3
Service Security
Service Security
PolicyEnforce...
Turkcell SOA Programming Model
• Depends on AIA but does not use AIA as a product
• Enterprise Business Object (EBO)
• Ent...
Enterprise Business Objects(EBO)
• Siebel CRM Order
• Order Fulfillment Order (Canonical Data Model)
•

4

 Model Driven ...
Enterprise Business Service(EBS)

Get Customer Information

Siebel
Get Customer Info

BSCS
Get Customer Info

UDB
Get Cust...
Application Business Connector Service(ABCS)

ABCS 1

SIEBEL

Validat
e

Enrich

Transform

Enterprise
Business
Service

A...
Enterprise Business Flow (EBF)
Migration Process
• Pre Migration Steps
• Migration & Deployment
• Post Migration Steps
Pre Migration Steps
• Partitions
• Importing DataSources
• Preparing 10G ESB processes for
seamless migration
Upgrade Process
Creating Partitions
Importing Data Sources
• Custom Java Application using Embedded WLST
 Migrating 10g datasources to 11g
 Configuring depl...
Checklist for ESB’S
• Ensure that projects are migrated in order of dependency.
• Add soap service to routing rules if the...
Migration & Deployment
Files

Tasks

components.xml

List of BPEL & ESB Services

update.xml

Custom migration script,
con...
Post Migration Steps
• MDS
• Troubleshooting on Migrated
Processes
• AQ , Fault Policy, Sensor Issues
MDS : Artifact Migration
MDS : DVM Deployment Automatic Process

• Export dvm files from 10G environment
$ESB_HOME/bin/export.sh dvm10G.zip
• Gener...
MDS : DVM Deployment Manuel Process
• Navigate through your WebDav DVM address
http://yourserver/esb/slide/dvm

• Get dvm ...
BPEL Preferences in 10G
In bpel.xml
<preferences>
<property name="myPref">MyCurrentValue</property>
</preferences>

In Pro...
BPEL Preferences in 11G
In composite.xml
<component name="BPELProcess1">
<implementation.bpel src="BPELProcess1.bpel"/>
<p...
BPEL Preferences in 11G Changing Value
BPEL Preferences in 11G Changing Value
BPEL Preferences in 11G Changing Value
Custom Xpath Funcions
• Implement xpath function logic.
• Create ext-bpel-xpath-functions-config.xml configuration file
• ...
Some Remainders on Migration Process
• Review ESB Xpath header functions
ESB XPath Function

Mediator Xpath Function

ehdr...
AQ Adapter Migration Problem
• AQ adapter is accessed differently in SOA Suite 11g.
• Post upgrade step must be taken into...
AQ Adapter Migration Problem for ESB
• After upgrading to Oracle Mediator, assign the
"jca.aq.HeaderDocument" value from i...
AQ Adapter Migration Problem for BPEL
• Define a new variable of type string.
• In the receive activity, make sure that th...
Upgrading an AQ Outbound Request – Reply
Scenario for BPEL
• When upgrading an Oracle SOA Suite 10g application that
uses ...
Turkcell BO Framework
• Custom web application using 10g SOA DB
• Managing extended fault policy actions & error handling
...
Turkcell BO Framework
Turkcell BO Framework
Turkcell BO Framework
Turkcell BO Framework
Turkcell BO Framework
Migrating Fault Policies
• In 11g,fault policies and fault bindings are stored in the
Oracle JDeveloper 11g project
• The ...
Custom Fault Policy File for All Composites
<faultName>
<condition>
<action ref="bo-java-handler"/>
</condition>
</faultNa...
Deployment Plans
• Deployment and configuration in 10g are not upgraded in
Oracle JDeveloper 11g.
• In Oracle Fusion Middl...
Composite Deployment in 11g
Composite Deployment in 11g
Update.xml
• Custom reusable file, in order to upgrade BPEL and ESB
services.
• Updates invalid server reference
• Execute...
Using Sensors
• Variable Sensors
• Fault Sensors
• Composite Sensors
• Activity Sensors
Composite Sensors
• Monitor incoming and outgoing messages at composite
level
• Stored in sensorAction.xml
• During run ti...
Composite Sensors
Composite Sensors
Activity Sensors
• Used to monitor the execution of activities within BPEL
• bpel_process_name_sensor.xml : Defines the se...
Activity Sensors
10g TO 11g Asynchronous Invocation
• No need to define a correlation between asynchronous
flows both running in 10g.
• Not...
Defining Callbacks
From the SOA Infrastructure Menu...
1.Select SOA Administration > Common
Properties.

From the SOA Fold...
Summary
•

Based on Oracle 11g migration
scripts

• Additional migration scripts and
tips for seamless migration
• A guide...
Q&A
deniz.secilir@turkcellteknoloji.com.tr
deniz.pazarcioglu@turkcellteknoloji.com.tr
Upcoming SlideShare
Loading in …5
×

Migration to oracle fusion middleware 11g Key point of success

758 views

Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Migration to oracle fusion middleware 11g Key point of success

  1. 1. Migration to Oracle Fusion Middleware 11g: Key Points of Success Deniz Seçilir Deniz Pazarcıoğlu
  2. 2. Introduction • Based on Oracle 11g migration scripts • Additional migration scripts and tips for seamless migration • A guide for any enterprise Turkcell Teknoloji
  3. 3. Agenda • Benefits of Fusion Middleware • Turkcell SOA Components • Hints For Migration • Migration Process • Q/A
  4. 4. Turkcell Group – Regional Leader › 9 countries › 61.7 million subscribers › Leadership in the region Germany Now we are in Germany...   4 Segment focus Turkcell content & applications *Subscriber numbers are as of Q1 2011 Life : ) - 2008 Belarus1.6 mn sub. Ukraine Turkcell Europe-2011 Kazakhstan Life : ) – 2005 Moldova 8.7 mn sub. Moldcell – 2000 Geocell – 1997 1.0 mn sub. 2.1 mn sub. Georgia Turkcell - 1994 34.1 mn sub. Turkey TRNC KKTCell - 1999 0.4 mn sub. KCell - 1999 9.7 mn sub. Azerbaijan Azercell – 1996 4.1 mn sub.
  5. 5. More About Turkcell  Creates employment for more than 50.000 people in Turkey  The first and only Turkish company listed on NYSE  Complies with ISO9001, EU and US regulations  Massive tax contribution to the Turkish government  Corporate social responsibility projects on education, culture and sports
  6. 6. Turkcell Technology We are an energetic team having more than 17 years of experience combined with an ongoing commitment to innovation.
  7. 7. Key Milestones Turkcell Technology has more than 15 years of development experience with its solutions applied and proven at leading operators in more than 10 countries. From assisting the operation of network resources to improving business oriented intelligence, TTECH’s experts provide an expanding portfolio of packaged and custom solutions for telecom network operators. More than 10 years of experience in Turkcell ICT 1994 - 2006 TTECH Center was put into service HC: 255 engineers Focus: Turkcell Group 2007 2008 TTECH company formed with its 44 engineers in TÜBİTAK-MAM Technological Free Zone Focus: Turkcell 2009 Focus: Turkcell & Telia Sonera Group HC: 321 engineers Focus: Turkcell & Telia Sonera Group + Regional Sales HC: 410 engineers 2010 Today
  8. 8. Benefits of Fusion Middleware • Improved performance with 64 bit architecture • Reduced time to market with new development capabilities • Centralized Management & Monitoring • Decreased operational costs
  9. 9. Turkcell SOA Infrastructure Inhouse CRM System Order Decomposition CRM Integration (Synch) Customer Self Care (Internet) Siebel CRM Order Fulfillment SMS Call Center MNP Business Orchestration Billing Charging Rating Collection Siebel SFA Subscription LifeCycle Management User Management Service Orchestration Campaign Management Technical Product&Offer Catalog BSS OSS GW BSS OSS
  10. 10. SOA Maturity Levels • Level 1: Service enablement • Level 2: Process enablement • Level 3: Business Integration and Process Improvement
  11. 11. Turkcell SOA Components Maturity Level 1 Maturity Level 2 Maturity Level 3 Service Security Service Security PolicyEnforcement Policy Enforcement BAM Monitoring Management BRE Orchestration Optima Monitoring Management Open View Messaging Routing BPM J M S A Q BPEL/ESB CONSOLE Adapters Metadata Repository Applications/Platforms Service Registry/ Repository
  12. 12. Turkcell SOA Programming Model • Depends on AIA but does not use AIA as a product • Enterprise Business Object (EBO) • Enterprise Business Service (EBS) • Application Business Connector Service (ABCS) • Enterprise Business Flow (EBF)
  13. 13. Enterprise Business Objects(EBO) • Siebel CRM Order • Order Fulfillment Order (Canonical Data Model) • 4  Model Driven Architecture  Turkcell Standards Based Design  SID Complaint Core Common Model  Extensibility Model
  14. 14. Enterprise Business Service(EBS) Get Customer Information Siebel Get Customer Info BSCS Get Customer Info UDB Get Customer Info ABC Service ABC Service ABC Service Siebel CRM BSCS UDB
  15. 15. Application Business Connector Service(ABCS) ABCS 1 SIEBEL Validat e Enrich Transform Enterprise Business Service ABCS 2 UCCS COMET Application Business Connector Service ABCS 3 UDB
  16. 16. Enterprise Business Flow (EBF)
  17. 17. Migration Process • Pre Migration Steps • Migration & Deployment • Post Migration Steps
  18. 18. Pre Migration Steps • Partitions • Importing DataSources • Preparing 10G ESB processes for seamless migration
  19. 19. Upgrade Process
  20. 20. Creating Partitions
  21. 21. Importing Data Sources • Custom Java Application using Embedded WLST  Migrating 10g datasources to 11g  Configuring deployment plan for datasources
  22. 22. Checklist for ESB’S • Ensure that projects are migrated in order of dependency. • Add soap service to routing rules if they don’t have one • Always check the “Invocable from an external web service”
  23. 23. Migration & Deployment Files Tasks components.xml List of BPEL & ESB Services update.xml Custom migration script, containing the tasks below ant-sca-upgrade.xml For upgrading the Soa 10G projects ant-sca-compile.xml For compiling Soa 11G projects ant-sca-package.xml For packaging projects ant-sca-deploy.xml For deploying 11G projects and artifacts
  24. 24. Post Migration Steps • MDS • Troubleshooting on Migrated Processes • AQ , Fault Policy, Sensor Issues
  25. 25. MDS : Artifact Migration
  26. 26. MDS : DVM Deployment Automatic Process • Export dvm files from 10G environment $ESB_HOME/bin/export.sh dvm10G.zip • Generate a SOA archive file ant -f ant-sca-upgrade.xml upgrade-xrefdvm -Dsource=location_of_the_zip_file -Dtarget=location_of_the_soa_archive • Check the jar file contents, if you’re not using ISO-8859-1 • Deploy the sca_XrefDvmFiles10g_rev1.0.jar
  27. 27. MDS : DVM Deployment Manuel Process • Navigate through your WebDav DVM address http://yourserver/esb/slide/dvm • Get dvm files from webdav • Rename *.xml files to *.dvm for f in *.xml; do mv "$f" ${f//xml/dvm}; done • Check the jar file contents, if you’re not using ISO-8859-1 • Replace all dvm tags 10G Ver: <dvm name=”Trial" isNew="true"> 11G Ver: <dvm name=”Trial" xmlns="http://xmlns.oracle.com/dvm"> find . -type f -exec sed -i "s %isNew="true"%xmlns="http://xmlns.oracle.com/dvm"%" {} ; • Deploy the sca_XrefDvmFiles10g_rev1.0.jar
  28. 28. BPEL Preferences in 10G In bpel.xml <preferences> <property name="myPref">MyCurrentValue</property> </preferences> In Process.bpel <copy> <from expression="ora:getPreference('myPref')"/> <to variable=”any_variable" part="request" query="/ns21:UcapiMessage/@value"/> </copy>
  29. 29. BPEL Preferences in 11G In composite.xml <component name="BPELProcess1"> <implementation.bpel src="BPELProcess1.bpel"/> <property name="bpel.preference.myPref">MyCurrentValue</property> </component> In Process.bpel <copy> <from expression="ora:getPreference('myPref')"/> <to variable=”any_variable" part="request" query="/ns21:UcapiMessage/@value"/> </copy>
  30. 30. BPEL Preferences in 11G Changing Value
  31. 31. BPEL Preferences in 11G Changing Value
  32. 32. BPEL Preferences in 11G Changing Value
  33. 33. Custom Xpath Funcions • Implement xpath function logic. • Create ext-bpel-xpath-functions-config.xml configuration file • Package as a jar file • Copy the jar file to $DOMAIN_HOME/lib
  34. 34. Some Remainders on Migration Process • Review ESB Xpath header functions ESB XPath Function Mediator Xpath Function ehdr:setOutboundHeader mhdr:setProperty ehdr:getRequestHeader mhdr:getProperty • Review Usage of getDomainId()
  35. 35. AQ Adapter Migration Problem • AQ adapter is accessed differently in SOA Suite 11g. • Post upgrade step must be taken into account for BPEL and Mediator
  36. 36. AQ Adapter Migration Problem for ESB • After upgrading to Oracle Mediator, assign the "jca.aq.HeaderDocument" value from inbound to outbound in the .mplan file of the Oracle Mediator file.
  37. 37. AQ Adapter Migration Problem for BPEL • Define a new variable of type string. • In the receive activity, make sure that the jca.aq.HeaderDocument property gets written to the above variable. • <invoke name="Invoke_1" inputVariable="Invoke_1_Enqueue_InputVariable" partnerLink="EnqueueClobPayload" portType="ns2:Enqueue_ptt" operation="Enqueue"> <bpelx:inputProperty name="jca.aq.HeaderDocument" variable="vInboundHeaders"/> </invoke>
  38. 38. Upgrading an AQ Outbound Request – Reply Scenario for BPEL • When upgrading an Oracle SOA Suite 10g application that uses this scenario, the WSDL file that is created during the upgrade does not contain the required binding information. • Add the JCA entry to the WSDL file created by the upgrade. • Add the binding entry in the composite.xml file: <reference ui:wsdlLocation="aqMigrationProblemExample.wsdl" name="aqMigrationProblemExample"> <interface.wsdl interface= http://xmlns.oracle.com/pcbpel/adapter/aq/EnqueueRequest/#wsdl.interface(Enqueue_ptt) callbackInterface="http://xmlns.oracle.com/pcbpel/adapter/aq/DequeueReply/#wsdl.interface(Dequeue_ptt) xmlns:ns="http://xmlns.oracle.com/sca/1.0"/> <binding.jca config="aqMigrationProblemExample_aq.jca"/> </reference> • Remove any unused WSDL references from the .bpel file
  39. 39. Turkcell BO Framework • Custom web application using 10g SOA DB • Managing extended fault policy actions & error handling • Using more indexes than default value for instance tracking • Bulk resubmission for ESB&BPEL instances • One by one recovery
  40. 40. Turkcell BO Framework
  41. 41. Turkcell BO Framework
  42. 42. Turkcell BO Framework
  43. 43. Turkcell BO Framework
  44. 44. Turkcell BO Framework
  45. 45. Migrating Fault Policies • In 11g,fault policies and fault bindings are stored in the Oracle JDeveloper 11g project • The fault policy file (fault-policies.xml) and fault policy bindings file (fault-bindings.xml) in composite xml <property name="oracle.composite.faultPolicyFile">oramds:/apps/policies/faultpolicies.xml</property> <property name="oracle.composite.faultBindingFile">oramds:/apps/policies/faultbindings.xml</property> • We migrated our fault policies and bindings by our custom ant script(update.xml)
  46. 46. Custom Fault Policy File for All Composites <faultName> <condition> <action ref="bo-java-handler"/> </condition> </faultName> <Action id="bo-java-handler"> <javaAction className="oracle.iccc.turkcellbo.eh.plugin.bo11g.EHPlugin11g" defaultAction="ora-terminate" > <returnValue value="DEFAULT" ref="ora-human-intervention"/> </javaAction> </Action>
  47. 47. Deployment Plans • Deployment and configuration in 10g are not upgraded in Oracle JDeveloper 11g. • In Oracle Fusion Middleware11g, you must create the 11g deployment plan manually, after you have migrated the application in Oracle JDeveloper. • We migrated deployment plans by our custom ant script (update.xml)
  48. 48. Composite Deployment in 11g
  49. 49. Composite Deployment in 11g
  50. 50. Update.xml • Custom reusable file, in order to upgrade BPEL and ESB services. • Updates invalid server reference • Executes upgrade tasks (upgrade) • Adds 11g .jws and .jpr files for importing into new JDeveloper (addfiles) • Adds necessary files to support SOA-MDS
  51. 51. Using Sensors • Variable Sensors • Fault Sensors • Composite Sensors • Activity Sensors
  52. 52. Composite Sensors • Monitor incoming and outgoing messages at composite level • Stored in sensorAction.xml • During run time composite sensor data is persisted into database. • Composite sensors only support the predefined DBSensorAction.
  53. 53. Composite Sensors
  54. 54. Composite Sensors
  55. 55. Activity Sensors • Used to monitor the execution of activities within BPEL • bpel_process_name_sensor.xml : Defines the sensor definitions of a BPEL process. • bpel_process_name_sensorAction.xml : Defines the sensor action definitions of a BPEL process. • Database, JMS Queue, JMS Topic, Custom, JMS Adapter
  56. 56. Activity Sensors
  57. 57. 10g TO 11g Asynchronous Invocation • No need to define a correlation between asynchronous flows both running in 10g. • Not able to receive callback from both 10g to 11g and viceversa, without using any correlations prior versions of 11gPS2 and 10.1.3.5. • Two solutions  Applying Patch  Implementing Custom Correlation between 10g and 11g
  58. 58. Defining Callbacks From the SOA Infrastructure Menu... 1.Select SOA Administration > Common Properties. From the SOA Folder in the Navigator... 1.Right-click soa-infra. 2.Select SOA Administration > Common Properties.
  59. 59. Summary • Based on Oracle 11g migration scripts • Additional migration scripts and tips for seamless migration • A guide for any enterprise
  60. 60. Q&A
  61. 61. deniz.secilir@turkcellteknoloji.com.tr deniz.pazarcioglu@turkcellteknoloji.com.tr

×