road to soa suite 12c - upgrading soa suite from 11g to 12c

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

Upload: opitz-consulting

Post on 06-Jul-2015

3.183 views

Category:

Technology


7 download

DESCRIPTION

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

TRANSCRIPT

Page 1: Road to SOA Suite 12c - Upgrading SOA Suite from 11g to 12c

© OPITZ CONSULTING GmbH 2014 Seite 1 Upgrading SOA / BPM Suite from 11g to 12c

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

Page 2: Road to SOA Suite 12c - Upgrading SOA Suite from 11g to 12c

© OPITZ CONSULTING GmbH 2014 Seite 2 Upgrading SOA / BPM Suite from 11g to 12c

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

Page 3: Road to SOA Suite 12c - Upgrading SOA Suite from 11g to 12c

© OPITZ CONSULTING GmbH 2014 Seite 3 Upgrading SOA / BPM Suite from 11g to 12c

Agenda

1. SOA / BPM Evolution

2. Upgrade Strategy

3. Upgrade Results

4. Oracle‘s Strategic Implementation Program

Page 4: Road to SOA Suite 12c - Upgrading SOA Suite from 11g to 12c

© OPITZ CONSULTING GmbH 2014 Seite 4 Upgrading SOA / BPM Suite from 11g to 12c

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

Page 5: Road to SOA Suite 12c - Upgrading SOA Suite from 11g to 12c

© OPITZ CONSULTING GmbH 2014 Seite 5 Upgrading SOA / BPM Suite from 11g to 12c

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

Page 6: Road to SOA Suite 12c - Upgrading SOA Suite from 11g to 12c

© OPITZ CONSULTING GmbH 2014 Seite 6 Upgrading SOA / BPM Suite from 11g to 12c

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

Page 7: Road to SOA Suite 12c - Upgrading SOA Suite from 11g to 12c

© OPITZ CONSULTING GmbH 2014 Seite 7 Upgrading SOA / BPM Suite from 11g to 12c

1 Upgrade Strategy

Page 8: Road to SOA Suite 12c - Upgrading SOA Suite from 11g to 12c

© OPITZ CONSULTING GmbH 2014 Seite 8 Upgrading SOA / BPM Suite from 11g to 12c

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

Page 9: Road to SOA Suite 12c - Upgrading SOA Suite from 11g to 12c

© OPITZ CONSULTING GmbH 2014 Seite 9 Upgrading SOA / BPM Suite from 11g to 12c

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

Page 10: Road to SOA Suite 12c - Upgrading SOA Suite from 11g to 12c

© OPITZ CONSULTING GmbH 2014 Seite 10 Upgrading SOA / BPM Suite from 11g to 12c

2.1 Pre-Upgrade

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

© OPITZ CONSULTING GmbH 2014 Seite 11 Upgrading SOA / BPM Suite from 11g to 12c

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

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

© OPITZ CONSULTING GmbH 2014 Seite 12 Upgrading SOA / BPM Suite from 11g to 12c

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

Page 13: Road to SOA Suite 12c - Upgrading SOA Suite from 11g to 12c

© OPITZ CONSULTING GmbH 2014 Seite 13 Upgrading SOA / BPM Suite from 11g to 12c

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

Page 14: Road to SOA Suite 12c - Upgrading SOA Suite from 11g to 12c

© OPITZ CONSULTING GmbH 2014 Seite 14 Upgrading SOA / BPM Suite from 11g to 12c

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

Page 15: Road to SOA Suite 12c - Upgrading SOA Suite from 11g to 12c

© OPITZ CONSULTING GmbH 2014 Seite 15 Upgrading SOA / BPM Suite from 11g to 12c

2.2 Upgrade

Page 16: Road to SOA Suite 12c - Upgrading SOA Suite from 11g to 12c

© OPITZ CONSULTING GmbH 2014 Seite 16 Upgrading SOA / BPM Suite from 11g to 12c

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

Page 17: Road to SOA Suite 12c - Upgrading SOA Suite from 11g to 12c

© OPITZ CONSULTING GmbH 2014 Seite 17 Upgrading SOA / BPM Suite from 11g to 12c

2.3 Post-Upgrade

Page 18: Road to SOA Suite 12c - Upgrading SOA Suite from 11g to 12c

© OPITZ CONSULTING GmbH 2014 Seite 18 Upgrading SOA / BPM Suite from 11g to 12c

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

Page 19: Road to SOA Suite 12c - Upgrading SOA Suite from 11g to 12c

© OPITZ CONSULTING GmbH 2014 Seite 19 Upgrading SOA / BPM Suite from 11g to 12c

3 Upgrade Results

Page 20: Road to SOA Suite 12c - Upgrading SOA Suite from 11g to 12c

© OPITZ CONSULTING GmbH 2014 Seite 20 Upgrading SOA / BPM Suite from 11g to 12c

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

Page 21: Road to SOA Suite 12c - Upgrading SOA Suite from 11g to 12c

© OPITZ CONSULTING GmbH 2014 Seite 21 Upgrading SOA / BPM Suite from 11g to 12c

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

Page 22: Road to SOA Suite 12c - Upgrading SOA Suite from 11g to 12c

© OPITZ CONSULTING GmbH 2014 Seite 22 Upgrading SOA / BPM Suite from 11g to 12c

Upgrade Results | Configuration Changes

Successfully transferred the following config changes JTA Transaction Timeout Transaction Timeout of BPELDeliveryBean SyncMaxWaitTime

Page 23: Road to SOA Suite 12c - Upgrading SOA Suite from 11g to 12c

© OPITZ CONSULTING GmbH 2014 Seite 23 Upgrading SOA / BPM Suite from 11g to 12c

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

Page 24: Road to SOA Suite 12c - Upgrading SOA Suite from 11g to 12c

© OPITZ CONSULTING GmbH 2014 Seite 24 Upgrading SOA / BPM Suite from 11g to 12c

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

Page 25: Road to SOA Suite 12c - Upgrading SOA Suite from 11g to 12c

© OPITZ CONSULTING GmbH 2014 Seite 25 Upgrading SOA / BPM Suite from 11g to 12c

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)

Page 26: Road to SOA Suite 12c - Upgrading SOA Suite from 11g to 12c

© OPITZ CONSULTING GmbH 2014 Seite 26 Upgrading SOA / BPM Suite from 11g to 12c

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)

Page 27: Road to SOA Suite 12c - Upgrading SOA Suite from 11g to 12c

© OPITZ CONSULTING GmbH 2014 Seite 27 Upgrading SOA / BPM Suite from 11g to 12c

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.

Page 28: Road to SOA Suite 12c - Upgrading SOA Suite from 11g to 12c

© OPITZ CONSULTING GmbH 2014 Seite 28 Upgrading SOA / BPM Suite from 11g to 12c

Upgrade Results | Composites in EM Composite Definition in EM not available (not critical – new feature)

Page 29: Road to SOA Suite 12c - Upgrading SOA Suite from 11g to 12c

© OPITZ CONSULTING GmbH 2014 Seite 29 Upgrading SOA / BPM Suite from 11g to 12c

Upgrade Results | Composites in EM Composite Definition in EM not available (not critical – new feature)

Page 30: Road to SOA Suite 12c - Upgrading SOA Suite from 11g to 12c

© OPITZ CONSULTING GmbH 2014 Seite 30 Upgrading SOA / BPM Suite from 11g to 12c

Design Time | Opening 11g project in JDev 12c

Migration Assistent starts to migrate the project

Page 31: Road to SOA Suite 12c - Upgrading SOA Suite from 11g to 12c

© OPITZ CONSULTING GmbH 2014 Seite 31 Upgrading SOA / BPM Suite from 11g to 12c

Design Time | Project Structure

Project folder structure has slightly changed

*.componentType files have been removed (content is now part of composite.xml)

Page 32: Road to SOA Suite 12c - Upgrading SOA Suite from 11g to 12c

© OPITZ CONSULTING GmbH 2014 Seite 32 Upgrading SOA / BPM Suite from 11g to 12c

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)

Page 33: Road to SOA Suite 12c - Upgrading SOA Suite from 11g to 12c

© OPITZ CONSULTING GmbH 2014 Seite 33 Upgrading SOA / BPM Suite from 11g to 12c

4 Oracle‘s Strategic Implementation Program

Page 34: Road to SOA Suite 12c - Upgrading SOA Suite from 11g to 12c

© OPITZ CONSULTING GmbH 2014 Seite 34 Upgrading SOA / BPM Suite from 11g to 12c

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

Page 35: Road to SOA Suite 12c - Upgrading SOA Suite from 11g to 12c

© OPITZ CONSULTING GmbH 2014 Seite 35 Upgrading SOA / BPM Suite from 11g to 12c

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

Page 36: Road to SOA Suite 12c - Upgrading SOA Suite from 11g to 12c

© OPITZ CONSULTING GmbH 2014 Seite 36 Upgrading SOA / BPM Suite from 11g to 12c

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

Page 37: Road to SOA Suite 12c - Upgrading SOA Suite from 11g to 12c

© OPITZ CONSULTING GmbH 2014 Seite 37 Upgrading SOA / BPM Suite from 11g to 12c

Contact

Danilo Schmiedel Solution Architect Oracle ACE Director

OPITZ CONSULTING Deutschland GmbH Tempelhofer Weg 64, 12347 Berlin, Germany Phone: +49 173 7279001 Mail: [email protected] Twitter: @dschmied Blog: http://inside-bpm-and-soa.blogspot.com