Road to SOA Suite 12c - Upgrading SOA Suite from 11g to 12c

12.033 Aufrufe

Veröffentlicht am

http://www.opitz-consulting.com/go/3-3-11

Mit dem Weblogic Application Server 12c war die Basis der Fusion Middleware Familie bereits Ende 2011 in der Zukunft angekommen. Auf die SOA-Komponenten aus dem Fusion Middleware Stack mussten die Kunden jedoch leider etwas länger warten. Die ersten Erfahrungen mit der im Sommer veröffentlichten SOA Suite 12c verdeutlichten aber bereits, dass sich die Geduld und das Ausharren wirklich gelohnt haben.

Neben neuen Adaptoren in Richtung Cloud, Coherence und SAP ist hierbei vor allem die MFT-Komponente für den Transport großer Dateien hervorzuheben. Mit einem in den JDeveloper integrierten Weblogic inkl. SOA Runtime, der Integration der OSB-Serviceentwicklung in selbige IDE sowie neuen Debugging-Möglichkeiten wurden im neuen Release auch die Bedürfnisse der SOA-Entwickler intensiv berücksichtigt. Aus den zurückliegenden Erfahrungen mit Migrationen von 10g nach 11g ist jedoch bekannt, dass die Features der neuen Releases zwar hochinteressant und hilfreich sind, der Weg dahin aber häufig recht steinig sein kann.

Anhand von Beispielen aus einem Kundenprojekt zeigte Oracle ACE Director Danilo Schmiedel in seinem Vortrag bei der DOAG Konferenz 2014, dass Oracle hier aus der Vergangenheit gelernt und die Migration nach 12c wesentlich vereinfacht hat. Dazu gibt er Tipps, die bei der Vorbereitung und Durchführung eigener Migrationsvorhaben helfen.

--
Über uns:
Als führender Projektspezialist für ganzheitliche IT-Lösungen tragen wir zur Wertsteigerung der Organisationen unserer Kunden bei und bringen IT und Business in Einklang. Mit OPITZ CONSULTING als zuverlässigem Partner können sich unsere Kunden auf ihr Kerngeschäft konzentrieren und ihre Wettbewerbsvorteile nachhaltig absichern und ausbauen.

Über unsere IT-Beratung: http://www.opitz-consulting.com/go/3-8-10
Unser Leistungsangebot: http://www.opitz-consulting.com/go/3-8-874
Karriere bei OPITZ CONSULTING: http://www.opitz-consulting.com/go/3-8-5

EN:
About us:

OPITZ CONSULTING is a leading project specialist for custom-build applications and individual business intelligence solutions in the German market. The company's ambition is to help organizations to be better than their competitors. To achieve this OPITZ CONSULTING analyses the individual competitive edge the customer has, optimizes business processes for process automation and IT-support, chooses and designs appropriate system architectures, develops and implements solutions and guarantees a 24/7 support and application maintenance. To ensure the necessary skill and qualification OPITZ CONSULTING has established a training center for customers and the internal staff.

Since 1990 over 600 customers have a long lasting and successful business relationship with OPITZ CONSULTING. Over 2/3 of the German stock index (DAX) companies rely on services from the 400+ OPITZ CONSULTING consultants. OPITZ CONSULTING maintains offices in Bad Homburg, Berlin, Essen, Gumme

Veröffentlicht in: Technologie

Road to SOA Suite 12c - Upgrading SOA Suite from 11g to 12c

  1. 1. © OPITZ Upgrading SOA / BPM Suite from 11g to 12c CONSULTING GmbH 2014 Seite 1 Road to SOA Suite 12c Upgrading SOA Suite from 11g to 12c
  2. 2. © OPITZ Upgrading SOA / BPM Suite from 11g to 12c CONSULTING GmbH 2014 Seite 2 Danilo Schmiedel Solution Architect | Oracle ACE Director OPITZ CONSULTING Deutschland GmbH Road to SOA Suite 12c DOAG Conference + Exhibition | November 2014 Upgrading SOA Suite from 11g to 12c
  3. 3. © OPITZ Upgrading SOA / BPM Suite from 11g to 12c CONSULTING GmbH 2014 Seite 3 Agenda 1. SOA / BPM Evolution 2. Upgrade Strategy 3. Upgrade Results 4. Oracle‘s Strategic Implementation Program
  4. 4. © OPITZ Upgrading SOA / BPM Suite from 11g to 12c CONSULTING GmbH 2014 Seite 4 Important Milestones for SOA / BPM 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 BPEL Process Manager Web Services Manager & BAM Service Registry SOA Suite 10gR3 BPA Suite 10g Weblogic Aqualogic BPM Aqualogic SB SOA Suite 11g BPA Suite 11g SOA Governance 11g BPM Suite 11g OSB 11g SOA Suite PS5 BPM Suite 12c SOA Suite 12c
  5. 5. © OPITZ Upgrading SOA / BPM Suite from 11g to 12c CONSULTING GmbH 2014 Seite 5  Product foundation changed to Weblogic Server  Introduction of Service Component Architecture (SCA)  Oracle Service Bus & Mediator instead of OESB From 10g to 11g Why it was not just an „upgrade“? ORABPEL MDS SOAINFRA 10g 11g Metadata Runtime
  6. 6. © OPITZ Upgrading SOA / BPM Suite from 11g to 12c CONSULTING GmbH 2014 Seite 6  No fundamental changes in the underlying platform  Same architecture (SCA) and same container  Evolution of existing products & components From 11g to 12c Evolution instead of revolution
  7. 7. © OPITZ Upgrading SOA / BPM Suite from 11g to 12c CONSULTING GmbH 2014 Seite 7 1 Upgrade Strategy
  8. 8. © OPITZ Upgrading SOA / BPM Suite from 11g to 12c CONSULTING GmbH 2014 Seite 8 Upgrade Strategies •1) Migration tool with manual re-work, or •2) Redesign and deploy to 12c BPM 10g to 12c •1) Migration to 11g and in-place upgrade to 12c, or •2) Redesign and migrate to 12c SOA 10g to 12c •1) In-place upgrade, or •2) Migration SOA / BPM 11g to 12c
  9. 9. © OPITZ Upgrading SOA / BPM Suite from 11g to 12c CONSULTING GmbH 2014 Seite 9 SOA / BPM 11g to 12c | Overview •Defining an upgrade strategy •Performing pre-upgrade tasks •Installing 12c software Pre-Upgrade •Create / Upgrade Schemas •Domain (Re-) Configuration Upgrade •Post-Upgrade Tasks (such as reappling customizations, copying custom XPath classes, reapplying EDNTopic, delete tmp-folders) •Verify success Post-Upgrade
  10. 10. © OPITZ Upgrading SOA / BPM Suite from 11g to 12c CONSULTING GmbH 2014 Seite 10 2.1 Pre-Upgrade
  11. 11. © OPITZ Upgrading SOA / BPM Suite from 11g to 12c CONSULTING GmbH 2014 Seite 11 In-Place Upgrade Migration Defining an upgrade strategy  Schemas and domain directory upgrades are performed "in place" (updates existing 11g files)  Oracle Home binaries are upgraded "out of place" (binaries are installed in a new directory)  No need to redeploy composites after upgrade  Long running instances resume after upgrade  New installation of schemas and domains  New deployment & configuration of the existing 11g projects  Suitable in stateless & short- running scenarios  Adequate if the targeted sytem architecture should be diferent than with 11g or if the current topology is not supported
  12. 12. © OPITZ Upgrading SOA / BPM Suite from 11g to 12c CONSULTING GmbH 2014 Seite 12 Performing pre-upgrade tasks (in general)  Execute a complete backup of your 11g environment  Apply recommended database parameters  Save copies of customized start scripts, configuration files, policies  Is your database supported?  Infrastructure Database must be a supported Oracle 11g or 12c Database  Is your operating system supported?  Upgrading from a 32-Bit to a 64-Bit Operating System  Is your JVM supported?  64 Bit JVM  See Upgrade Planning Guide and Interoperability and Compatibility Guide for pre-requisite details
  13. 13. © OPITZ Upgrading SOA / BPM Suite from 11g to 12c CONSULTING GmbH 2014 Seite 13 Pre-upgrade tasks for the in-place approach  Do you regulary clean your SOA Repository?  Purge unused instance data (upgrade will upgrade all open instances)  Can your version of SOA be upgraded?  Starting points are: 11.1.1.6 (PS5) or 11.1.1.7 (PS6)  Is your topology supported?  11g and 12c Oracle_Homes located on same host but in different directories  Domain is not integrated with non-12c products (OSR, OER, WebCenter)  OPSS to use DB or LDAP based policy store (note that Audit Store does not support re-association through EM)  SOA/BPM is running on WebLogic Server
  14. 14. © OPITZ Upgrading SOA / BPM Suite from 11g to 12c CONSULTING GmbH 2014 Seite 14 Installing 12c software  Install 12c FMW Infrastucture Distributions  Install 12c SOA Suite  Install other components as needed  New and Deprecated Terminology  MW_HOME (11g) => ORACLE_HOME (12c)  PRODUCT_ORACLE_HOME => PRODUCT_DIR  Oracle Fusion Middleware farm (used in 11g to refer to a container for a WLS domain) => term is eliminated in 12c
  15. 15. © OPITZ Upgrading SOA / BPM Suite from 11g to 12c CONSULTING GmbH 2014 Seite 15 2.2 Upgrade
  16. 16. © OPITZ Upgrading SOA / BPM Suite from 11g to 12c CONSULTING GmbH 2014 Seite 16 In-Place Upgrade Steps 1. Create DB schemas for 12c via RCU 2. Execute Upgrade Assistant to upgrade 11g Database Schemas 3. Reconfigure the 11g domain using Reconfiguration Wizard 4. Execute the Upgrade Assistant to upgrade SOA Suite 11g
  17. 17. © OPITZ Upgrading SOA / BPM Suite from 11g to 12c CONSULTING GmbH 2014 Seite 17 2.3 Post-Upgrade
  18. 18. © OPITZ Upgrading SOA / BPM Suite from 11g to 12c CONSULTING GmbH 2014 Seite 18 Post-Upgrade Steps  Verify file permissions  Re-apply customizations to scripts and configuration files  setDomainEnv script (e.g. JVM memory settings, Truststore, etc.)  config.xml  Start Servers  Admin Server  Node Managers  Managed Servers  Other components…  Testing
  19. 19. © OPITZ Upgrading SOA / BPM Suite from 11g to 12c CONSULTING GmbH 2014 Seite 19 3 Upgrade Results
  20. 20. © OPITZ Upgrading SOA / BPM Suite from 11g to 12c CONSULTING GmbH 2014 Seite 20 Components in use  As part of the 10g to 11g migration all long-running processes have been replaced with scheduled short-running processes  All processes are implemented in BPEL 1.1 / BPEL 2.0 (no SB / OER / BAM)  Usage of: Component Properties, DB Adapter, XSLT, Calls to external Web Services, Fault Management Framework, Business Rules, DVMs, File Adapter, FTP Adapter, EDN  Environment with one Admin Server and one Managed Server SOA (configured as a cluster for scalability reasons)  Approx. 100 SOA composites in production
  21. 21. © OPITZ Upgrading SOA / BPM Suite from 11g to 12c CONSULTING GmbH 2014 Seite 21 Upgrade Results | Our first composite tests  First testcases with approx. 40 composites completed successfully (without any manual rework)  Database Adapter for stored procedure calls performed well
  22. 22. © OPITZ Upgrading SOA / BPM Suite from 11g to 12c CONSULTING GmbH 2014 Seite 22 Upgrade Results | Configuration Changes  Successfully transferred the following config changes  JTA Transaction Timeout  Transaction Timeout of BPELDeliveryBean  SyncMaxWaitTime
  23. 23. © OPITZ Upgrading SOA / BPM Suite from 11g to 12c CONSULTING GmbH 2014 Seite 23 Upgrade Results | Composite Availability  EM shows list of composites with start-up issues  Extended deployment pre- validations  e.g. wrong File Adapter configuration  Start-Up issues we identified:  Composites with EDN  Embedded Java with non-supported API calls
  24. 24. © OPITZ Upgrading SOA / BPM Suite from 11g to 12c CONSULTING GmbH 2014 Seite 24 Upgrade Results | Auto Purge  Purging of instance data is an important part of SOA Suite maintenance  It can now be scheduled through the enterprise manager  Auto Purge is enabled by default (only) for new installations; for upgrades it is not enabled by default
  25. 25. © OPITZ Upgrading SOA / BPM Suite from 11g to 12c CONSULTING GmbH 2014 Seite 25 Upgrade Results | EDN Composites  Error with EDN Composites: “… Unable to create Topic producer due to JMSException …“  Usually EDN 12c comes with a set of JMS administered objects for WebLogic JMS type  JMS topic JNDI: "jms/fabric/EDNTopic“  JMS Adapter with a set of 4 connection factories  If the EDN topic does not happen to be provisioned, automatically after upgrade, you can manually provision it (already fixed in the next release)
  26. 26. © OPITZ Upgrading SOA / BPM Suite from 11g to 12c CONSULTING GmbH 2014 Seite 26 Upgrade Results | setCompositeInstanceTitle  Embedded Java used to set the Composite-InstanceTitle  In 12c the EM no longer displays what setComposite InstanceTitle sets  EM 12c displays the newly added Flow Instance Title which is set using the setFlowInstanceTitle(...) method (logged in 18310693)
  27. 27. © OPITZ Upgrading SOA / BPM Suite from 11g to 12c CONSULTING GmbH 2014 Seite 27 Upgrade Results | Server Start  SOA Server started only in ADMIN mode  Clean-up of the server-cache directory helped to solve the problem  Solution was already documented under Doc ID: 1330224.1 Additionally check that the setDomainEnv.sh changes from the previous environment were reapplied to the 12c domain. Compare the setDomainEnv file from 11g to the new 12c setDomainEnv file and then add any custom changes after the upgrade.
  28. 28. © OPITZ Upgrading SOA / BPM Suite from 11g to 12c CONSULTING GmbH 2014 Seite 28 Upgrade Results | Composites in EM Composite Definition in EM not available (not critical – new feature)
  29. 29. © OPITZ Upgrading SOA / BPM Suite from 11g to 12c CONSULTING GmbH 2014 Seite 29 Upgrade Results | Composites in EM Composite Definition in EM not available (not critical – new feature)
  30. 30. © OPITZ Upgrading SOA / BPM Suite from 11g to 12c CONSULTING GmbH 2014 Seite 30 Design Time | Opening 11g project in JDev 12c  Migration Assistent starts to migrate the project
  31. 31. © OPITZ Upgrading SOA / BPM Suite from 11g to 12c CONSULTING GmbH 2014 Seite 31 Design Time | Project Structure  Project folder structure has slightly changed  *.componentType files have been removed (content is now part of composite.xml)
  32. 32. © OPITZ Upgrading SOA / BPM Suite from 11g to 12c CONSULTING GmbH 2014 Seite 32 Design Time | MDS Import First  Import MDS artifacts into Design Time MDS first, then open the project  Check library dependencies  Check and modify settings in adf-config.xml (if needed)
  33. 33. © OPITZ Upgrading SOA / BPM Suite from 11g to 12c CONSULTING GmbH 2014 Seite 33 4 Oracle‘s Strategic Implementation Program
  34. 34. © OPITZ Upgrading SOA / BPM Suite from 11g to 12c CONSULTING GmbH 2014 Seite 34 Program Overview  Oracle will provide  Executive Sponsor from customers region  Customer’s Oracle SC  Contact point in Oracle SOA Development  EA PM  Access to Oracle Development in exchange for customer reference support  Upgrade  Development best practices  Tuning and Troubleshooting  Deployment Architecture assistance  Proactive weekly or bi-weekly status calls  Recommended patches/fixes and bug alerts
  35. 35. © OPITZ Upgrading SOA / BPM Suite from 11g to 12c CONSULTING GmbH 2014 Seite 35  Technical case study  publishable on OTN  Testimonial video  Pod cast  Reference forums  Advertising campaign  Oracle Open World panel or presentation  Feature story  Use of Company name and logo  Supporting quote  Reference calls with prospects  Press activities  press release or interview  Analyst interviews for research  Customer success snapshot/profile Customer Reference Commitment
  36. 36. © OPITZ Upgrading SOA / BPM Suite from 11g to 12c CONSULTING GmbH 2014 Seite 36 Conclusion  Overall we are happy with our first 12c upgrade results – we didn’t expect a zero touch approach  Pre-upgrade steps are the key point of success  Documentation about changed config parameters as well as a proper test concept is important  Blogpost: Best Practices for SOA 11g to 12c Upgrade https://blogs.oracle.com/SOA/entry/best_practices_for_soa_11g  Documentation: http://docs.oracle.com/middleware/1213/cross/upgradetasks.htm  Video: http://docs.oracle.com/middleware/1213/cross/upgrade_videos.htm
  37. 37. © OPITZ Upgrading SOA / BPM Suite from 11g to 12c CONSULTING GmbH 2014 Seite 37 Contact Danilo Schmiedel Solution Architect Oracle ACE Director OPITZ CONSULTING Deutschland GmbH Tempelhofer Weg 64, 12347 Berlin, Germany Phone: +49 173 7279001 Mail: danilo.schmiedel@opitz-consulting.com Twitter: @dschmied Blog: http://inside-bpm-and-soa.blogspot.com

×