Upgrading to SOA Suite 12c: Tips and Best Practices from ...

51
Copyright © 2015, Oracle and/or its affiliates. All rights reserved. | Upgrading to SOA Suite 12c: Tips and Best Practices from Engineering, Customer Projects & A-team Kathryn Lustenberger, Principal Product Manager, Oracle David Shaffer, Managing Partner, Middleworks Antony Reynolds, Director, Oracle Integration Product Strategy, Oracle Danilo Schmiedel, Solution Architect & Oracle ACE Director, Opitz Deepak Arora, Director, A-team, Oracle

Transcript of Upgrading to SOA Suite 12c: Tips and Best Practices from ...

Page 1: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

Upgrading to SOA Suite 12c: Tips and Best Practices from Engineering, Customer Projects & A-team

Kathryn Lustenberger, Principal Product Manager, OracleDavid Shaffer, Managing Partner, MiddleworksAntony Reynolds, Director, Oracle Integration Product Strategy, OracleDanilo Schmiedel, Solution Architect & Oracle ACE Director, OpitzDeepak Arora, Director, A-team, Oracle

Page 2: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

SOA EXPERT SERIES:

SOA SUITE 12C UPGRADE WEBINAR

David Shaffer

Managing Partner, Middleworks

[email protected]

We make middleware work for you | www.middleworks.com

Page 3: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

• Many new capabilities:

– Integration Debugger in JDev

– SCA/BPEL & Service Bus

converged design-time / arch

– API Management

– Stream Explorer

– Cloud Adapters

– Mobile

– MFT for file integration

– SOA for Healthcare new

capabilities

2

Why Upgrade?

– SOA Cloud Service (SOACS)

– Enterprise Scheduler

– Real-Time Integration Business

Insight (option)

– New SAP, Peoplesoft, JDE, Siebel

adapters (non-OEM)

– 12.2.1: Continuous Availability,

Circuit Breaker, in-memory SOA

options, XSLT debugger, end-to-end

REST/JSON

Page 4: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

ᑀӷ

12c Base Upgrade Docs and Presos

• SOA Suite 12.2.1 Upgrade doc: http://docs.oracle.com/middleware/1221/core/FUPSS(tip: can get to a single PDF of doc at

http://docs.oracle.com/middleware/1221/core/FUPSS.pdf)

• Upgrade videos: http://docs.oracle.com/middleware/1221/cross/upgrade_videos.htm

• Full PM presentations, plus other content, at: www.middleworks.com/soa-expert/#12cUpgradeWebinar

3Copyright © 2016, Middleworks. All rights reserved.

Page 5: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

买Ӽ

Other Useful Upgrade Content

• Support Knowledgebase Documents 1958724.1 & 2084555.1

• Best practices upgrade blogs from Oracle: https://blogs.oracle.com/SOA/entry/comparison_of_inplace_and_side

https://blogs.oracle.com/SOA/entry/soa_suite_12c_topology_suggestions

https://blogs.oracle.com/SOA/entry/best_practices_for_soa_11g

https://blogs.oracle.com/SOA/entry/soa_suite_12c_upgrade_updatesoa

• Many other blogs available (e.g.

https://blogs.oracle.com/soacommunity/entry/upgrading_oracle_soa_

suite_from, https://mp3muncher.wordpress.com/2015/07/10/from-aia-

to-soa-suite-12c/, etcJ)

4Copyright © 2016, Middleworks. All rights reserved.

Page 6: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

묀Ӽ

Upgrade Suggestions from Engineering

• If upgrading from 11.1.1.6 (or before), should go to 12.2.1

– Has many backward compatibility fixes to allow XSLTs

to upgrade without change. Need following two properties

set at startup to turn on backward compatibility mode:-Doracle.xdkjava.compatibility.version=11.1.1

-Doracle.soa.compatibility.version=11.1.1

• Perform pre-analysis for upgrade areas of complexity:

– Do you use custom DB scripts for purge, partitioning,

etc? (will have to be re-mapped to 12)

– Custom code using SOA locator APIs

– Do you have significant performance tuning in 11g?

(re-do performance tuning exercise with 12c)

5Copyright © 2016, Middleworks. All rights reserved.

Page 7: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

宠Ԏ

Surveys: 12c Upgrade and Feedback

• When you upgrade or prepare to upgrade, please fill out:

– www.surveymonkey.com/r/soa-12c-upgrade

• Some interesting trends from responses so far:

– Most people do side-by-side upgrade, go straight to 12.2.1

– Many challenges are around configurations for upgrade (probably

a side effect of aboveJ) and SRs (likely worst for early adopters)

– Easiest things are code migration and new install for side-by-side

– Most common components to upgrade SCA/BPEL, Service Bus

and OWSM, followed by Rules and BAM, smattering of B2B/other

• Please ask questions throughout via chat!

• And after this session, please fill out the feedback survey:

– www.surveymonkey.com/r/12c-upgrade-webinar-feedback

6Copyright © 2016, Middleworks. All rights reserved.

Page 8: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

Product Management12c Upgrade Best Practices

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Antony Reynolds, [email protected] Kasi, [email protected]

Page 9: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Agenda

1

2

12c Upgrade Basics

Upgrade Best Practices

2

Page 10: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

Ҁӳ

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

SOA Suite 11g -> 12c Upgrade Basics

• Choose in-place domain upgrade and re-configuration or side-by-side upgrade with new install / config / deploy

• For 12c features, open 11g projects in 12c JDeveloper

• Can upgrade to 12.1.3 or straight to 12.2.1

• Prerequisites:

– Starting point: SOA Suite 11.1.1.6, 11.1.1.7 or 11.1.1.9 or 12.1.3 only

– 64-bit OS and JVM – must be supported version

– Dehydration store DB must be supported version – 11g or 12c

– OPSS must migrate to use DB or LDAP based policy store

3

Page 11: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

란α

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

• In-Place Upgrade

– Install SOA Suite 12c software in a new Oracle Home

– Upgrade domain and DB in-place

– Rewire domain to new Oracle Home

– No need to redeploy composites

– See support note 2084555.1 if you have AIA

• Side by Side Upgrade

– Install SOA Suite 12c software in a new Oracle Home.

– Create new DB schemas

– Create new domain

– Configure domain and DB from scratch

– Deploy all composites

– Switch clients/load balancer to new domain

4

Options for Upgrade

Page 12: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Upgrade Options Benefits Comparison

In Place

Less Work Keeps History

Keeps Running

Processes

Side by Side

Less Downtime

Lower Risk

All Components

(BAM)

Allows Topology Change

Oracle Confidential – Internal/Restricted/Highly Restricted 5

Page 13: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

穀Ӱ

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

SOA 12c Upgrade Process

• Step 1: Pre-Upgrade steps

– Run pre-upgrade check, back-up 11g environment

– Install 12c products along-side 11g

– Any component-specific pre-upgrade steps

• Step 2: Upgrade itself

– Run RCU to create new 12c schemas

– Run upgrade assistant (UA) to upgrade 11g component schemas

– Run re-configuration wizard on 11g domain

– Run UA to upgrade product-specific (i.e. SOA in this case) domain configuration

• Step 3: Post-Upgrade steps

– Execute any component-specific post-upgrade manual steps

– For other machines in domain, so pack/unpack to replicate domain configuration

– Start the upgraded servers

6

Page 14: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

獰δ

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

A Few Component-Specific Comments

• Instance Data Upgrade

– UA upgrades active instances to continue execution in 12c

– Purge strongly recommended prior to upgrade

– Stale instances not upgraded, completed instances can be upgraded during upgrade or later, during downtime

• Service Bus 12c Upgrade

– Export project before upgrade and import after upgrade

– Migration from Eclipse to JDeveloper happens with Import/Export – prepare for this change

• BAM 12c Upgrade

– Major architecture changes in 12c – Data Objects migrated but not dashboards/alerts

– Can either create new dashboards and alerts in 12c or keep 11g BAM dashboards running and connect to it via supported interop between BAM 11g �� SOA 12c

7

Page 15: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

獰δ

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

• Need to export and delete all Service Bus metadata before upgrade and import after upgrade

• Need to deploy OWSM before upgrade

• Need to use OWSM policies instead of WLS WS-Security policies

– WLS policies in wsdl in 11g

• Need to use OWSM auth policies instead of Xacml

– Xacml policies visible in 11g console

• Run time may work without changes, but not design time

• Benefits:

– Integrated JDeveloper experience after upgrade

– Oracle standard ADF UI for console after upgrade

– FMWControl like other Oracle products to manage

– Service Bus included in JDev integrated server for easier development

8

Service Bus manual steps in In-Place Upgrade

Page 16: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

獰δ

Copyright © 2015 Oracle and / or its affiliates. All rights reserved. 9

• Need to systematically copy over configurations from the old domain to the new domain

– JMS artifacts config

– Datasource config

– JCA adapter config

– Work Manager/threads config

– Custom J2EE apps

– WLS config

– SOA config

– SOA shared metadata

– SOA composites/Service Bus projects

– DT@RT customizations

– Custom OWSM Policies

– Custom OPSS policies/roles/keys/certs

• If you already have automation in place to create new domain and deploy all the config, you could leverage this

9

Side by Side Upgrade – Best Practices

Page 17: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

獰δ

Copyright © 2015 Oracle and / or its affiliates. All rights reserved. 10

• Carefully check prerequisites

• Run the upgrade readiness check before starting (12.2.1)

• Plan carefully and thoroughly test upgrade on a system similar to production. Could use T2P to create it.

• Test composites thoroughly without redeploying after upgrade of test system and determine tuning to be applied.

• BAM upgrade is more complex – read documentation carefully and plan.

• Test composites thoroughly after migrating them in Jdeveloper after upgrade of test system. Could use OjMigrate to bulk Migrate composites

• Speed up upgrade by purging unneeded instances before upgrade.

• Make sure enough disk space is available for upgrade.

• If issues are encountered, potentially long delays for support. Budget enough time.

1

In-Place Upgrade – Best Practices

Page 18: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

獰δ

Copyright © 2015 Oracle and / or its affiliates. All rights reserved. 11

Upgrade Troubleshooting Suggestions

• Reconfig of domain fails

– Have you read the prerequisites?

– Have you read the upgrade support notes on workarounds (example Knowledgebase Document 1958724.1)

– Are you using non standard configurations different from EDG? Focus of upgrade testing was EDG.

• Server does not start after upgrade

– Something went wrong in the upgrade.

– Have you read the upgrade support notes on workarounds?

– Did you carefully examine logs?

• Composites don’t behave the same after upgrade

– Maximum effort has been expended to make everything backwards compatible, but there may be corner cases.

– Service Infrastructure API are not all backwards compatible.

– Tuning is very different in 12c with use of work managers in SOA

– Flow ID changes may impact composites setting composite title

1

Page 19: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

獰δ

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

#SOA12c

Copyright © 2014, Oracle and/or its affiliates. 12

Join the CommunityVisit us on Oracle Technology Network

Oracle SOA blog

blogs.oracle.com/SOA

Oracle SOA Website

http://bit.ly/soaotn

Connect with Oracle on Social Media

OR connect via the web

Page 20: Upgrading to SOA Suite 12c: Tips and Best Practices from ...
Page 21: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

© OPITZ CONSULTING GmbH 2016 Slide 1 12c Upgrade Experience

OPITZ CONSULTING Vorlage Powerpoint 2011; Version 1.3; 10.05.2011; TGA, KSH

Titelfolie: • Damit beginnt ein Vortrag.

• Haupttitel: 1zeilig!

• Untertitel: max 2. Zeilen

• Referent: Name, Funktion,

OC Niederlassung

• Logo: Optional.

Entweder ein Kunden/ oder

themenbezogenes Logo

verwenden. Ideal

quadratisch, 3 Raster breit.

• Fußzeile mit Haupttitel füllen.

April 2016

Design: • Das Farbschema ist im

Design als „OC 2009“

hinterlegt.

• Ebenso sind die Schriftarten

als „OC 2009“ hinterlegt.

• Die Standardfarben sind:

12c Upgrade Experience

Danilo Schmiedel Solution Architect | Oracle ACE Director

OPITZ CONSULTING Deutschland GmbH

Mail: [email protected]

Twitter: @dschmied

Blog: http://inside-bpm-and-soa.blogspot.com

Lessons Learned and Best Practices

Page 22: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

© OPITZ CONSULTING GmbH 2016 Slide 2 12c Upgrade Experience

OPITZ CONSULTING Vorlage Powerpoint 2011; Version 1.3; 10.05.2011; TGA, KSH

Titel und 2 Inhalte • Layout für 2spaltige Listen

• Titel: 1-2zeilen

• Inhalt:

• 3-7 Punkte o 2-3

Hauptpunkte mit

Unterpunkten

• Max bis zur 3. Ebene

• Logo: optional. rechts des

Titels zwischen den letzten

beiden Rastern

• Achtung: Sofern Text 1.

Spalte zu Dicht an 2. Spalte,

korrigiere Textboxbreite!

Oracle SOA 12c @ Opitz

First Oracle SOA / BPEL project in 2006

Implemented multiple 10g to 11g projects

Wide knowledge with Side-by-Side

upgrades based on Enterprise

Deployment Guide

Oracle Platinum Partner, founded in 1990,

located in Germany and Poland

Specialized in many products across the Oracle

portfolio

2 Oracle ACE Directors and 2 Oracle ACEs

Recognized as one of the leading Oracle

Fusion Middleware Partners

2015 & 2014: BPM Partner Community Award

2010: Fusion Middleware Award

2008 – 2010: EMEA SOA Community Award

About OPITZ CONSULTING

Experienced with In-Place Upgrades

long running / stateful processes with

minimal downtime

Products included in upgraded

solutions:

Oracle SOA Suite12c

Oracle OSB 12c

Oracle BAM 12c

Page 23: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

© OPITZ CONSULTING GmbH 2016 Slide 3 12c Upgrade Experience

OPITZ CONSULTING Vorlage Powerpoint 2011; Version 1.3; 10.05.2011; TGA, KSH

Titel und Inhalt: • Dies ist das Haupttemplate

für Inhaltsseiten.

• Titel: 1-2zeilig!

• Inhalt:

• 3-7 Punkte o 2-3

Hauptpunkte mit

Unterpunkten

• Max bis zur 3. Ebene

• Logo: optional. rechts des

Titels zwischen den letzten

beiden Rastern

• Fußzeile mit Haupttitel füllen.

Reasons for upgrading to 12c

Enriched Error Hospital with extensive filters, search panels and bulk recovery facilities

Improved Business Activity Monitoring with multi-browser support

Embedded (local) SOA Suite in JDeveloper

Improved MDS integration to share artifacts within and across applications

Free choice between XSLT / XQuery

Version 12.2.1 is based on Java 8

Out-of-the-box Maven Support

Increased developer productivity with one unified IDE for OSB & SOA

New REST / JSON Support

Page 24: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

© OPITZ CONSULTING GmbH 2016 Slide 4 12c Upgrade Experience

OPITZ CONSULTING Vorlage Powerpoint 2011; Version 1.3; 10.05.2011; TGA, KSH

Titel und Inhalt: • Dies ist das Haupttemplate

für Inhaltsseiten.

• Titel: 1-2zeilig!

• Inhalt:

• 3-7 Punkte o 2-3

Hauptpunkte mit

Unterpunkten

• Max bis zur 3. Ebene

• Logo: optional. rechts des

Titels zwischen den letzten

beiden Rastern

• Fußzeile mit Haupttitel füllen.

Upgrade Process | Step-by-Step Overview

1. Understand the upgrade process

2. Define a To-Be Topology

3. Decide on an upgrade strategy that fits to your requirements

4. Pre-Upgrade Tasks

5. Install 12c Software

6. Create or upgrade schemas

7. Domain (Re-) Configuration

8. Upgrade the projects (and deploy if needed)

9. Post Upgrade Steps

10. Verify Upgrade Results (Test)

PREPARATION

INFRASTRUCTURE SETUP

CODE UPGRADE

Page 25: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

© OPITZ CONSULTING GmbH 2016 Slide 5 12c Upgrade Experience

OPITZ CONSULTING Vorlage Powerpoint 2011; Version 1.3; 10.05.2011; TGA, KSH

Titel und Inhalt: • Dies ist das Haupttemplate

für Inhaltsseiten.

• Titel: 1-2zeilig!

• Inhalt:

• 3-7 Punkte o 2-3

Hauptpunkte mit

Unterpunkten

• Max bis zur 3. Ebene

• Logo: optional. rechts des

Titels zwischen den letzten

beiden Rastern

• Fußzeile mit Haupttitel füllen.

Upgrade Process | Step-by-Step – Preparation

1. Understand the upgrade process

Understand upgrade concepts

Understand the Basic 12c Upgrade Tasks

Understand the SOA Cluster Upgrade Topology

Understand the Oracle Service Bus Upgrade to 12c

Understand an Upgrade to Business Activity Monitoring in 12c

Understand SOA Domain Upgrade Restrictions

2. Define a To-Be Topology

Understand new and changed features of 12c (12.2.1)

Understand an Enterprise Deployment

Decide on components (e.g. SOA, OSB, BAM, etc.)

Shared Weblogic Domain (for OSB / SOA / BAM) vs. separate Weblogic Domains

Non Cluster vs. Cluster

Page 26: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

© OPITZ CONSULTING GmbH 2016 Slide 6 12c Upgrade Experience

OPITZ CONSULTING Vorlage Powerpoint 2011; Version 1.3; 10.05.2011; TGA, KSH

Titel und Inhalt: • Dies ist das Haupttemplate

für Inhaltsseiten.

• Titel: 1-2zeilig!

• Inhalt:

• 3-7 Punkte o 2-3

Hauptpunkte mit

Unterpunkten

• Max bis zur 3. Ebene

• Logo: optional. rechts des

Titels zwischen den letzten

beiden Rastern

• Fußzeile mit Haupttitel füllen.

Upgrade Process | Step-by-Step – Preparation (2)

3. Decide on an upgrade strategy that fits to your requirements

In-Place Upgrade

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

Suitable for long running instances which should resume after upgrade

Side-by-Side Upgrade

New installation of schemas and domains

New deployment & configuration of the existing 11g projects

Suitable in stateless & short-running scenarios

Appropriate if the targeted sytem architecture should be diferent than with 11g or if the current topology is not

supported

Page 27: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

© OPITZ CONSULTING GmbH 2016 Slide 7 12c Upgrade Experience

OPITZ CONSULTING Vorlage Powerpoint 2011; Version 1.3; 10.05.2011; TGA, KSH

Titel und Inhalt: • Dies ist das Haupttemplate

für Inhaltsseiten.

• Titel: 1-2zeilig!

• Inhalt:

• 3-7 Punkte o 2-3

Hauptpunkte mit

Unterpunkten

• Max bis zur 3. Ebene

• Logo: optional. rechts des

Titels zwischen den letzten

beiden Rastern

• Fußzeile mit Haupttitel füllen.

Upgrade Process | Step-by-Step - Infrastructure

4. Pre-Upgrade Tasks Complete all applicable tasks from the Pre-Upgrade Checklist

Check if your To-Be Topology is supported

Perform General Pre-Upgrade Tasks

Perform the SOA-Specific Pre-Upgrade Tasks

Perform the Pre-Upgrade Tasks for Oracle BAM

Perform the Pre-Upgrade Tasks for Oracle Service Bus (OSB)

Validate your starting point which has to be 11.1.1.6 (PS5) or 11.1.1.7 (PS6)

Calculate system requirements (Memory, Disk Space, Network, OS)

Make a complete backup of your existing environment

Make sure that DB, OS and JVM are supported and apply recommended database parameters on the new

installation

Save copies of customized start scripts, configuration files, policies

More details: Upgrade Planning Guide and Interoperability and Compatibility Guide

Page 28: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

© OPITZ CONSULTING GmbH 2016 Slide 8 12c Upgrade Experience

OPITZ CONSULTING Vorlage Powerpoint 2011; Version 1.3; 10.05.2011; TGA, KSH

Titel und Inhalt: • Dies ist das Haupttemplate

für Inhaltsseiten.

• Titel: 1-2zeilig!

• Inhalt:

• 3-7 Punkte o 2-3

Hauptpunkte mit

Unterpunkten

• Max bis zur 3. Ebene

• Logo: optional. rechts des

Titels zwischen den letzten

beiden Rastern

• Fußzeile mit Haupttitel füllen.

Upgrade Process | Step-by-Step - Infrastructure (2)

5. Install 12c Software

Download the Oracle Fusion Middleware Infrastructure distribution from the Oracle ADF download page on

OTN or from the Oracle Software Delivery Cloud

Download the production distribution for Oracle SOA Suite and Business Process Management from the Oracle

Software Delivery Cloud

Download the production distribution for Oracle Service Bus from the Oracle Software Delivery Cloud

Roadmap for Installing and Configuring the Standard Installation Topologies

Verify the Installation Checklist

Install Infrastructure distribution and the appropriate components

Verify the Installation

For a development or evaluation distribution, see "Downloading Oracle Fusion Middleware 12c (12.2.1)

Development Distributions“

Page 29: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

© OPITZ CONSULTING GmbH 2016 Slide 9 12c Upgrade Experience

OPITZ CONSULTING Vorlage Powerpoint 2011; Version 1.3; 10.05.2011; TGA, KSH

Titel und Inhalt: • Dies ist das Haupttemplate

für Inhaltsseiten.

• Titel: 1-2zeilig!

• Inhalt:

• 3-7 Punkte o 2-3

Hauptpunkte mit

Unterpunkten

• Max bis zur 3. Ebene

• Logo: optional. rechts des

Titels zwischen den letzten

beiden Rastern

• Fußzeile mit Haupttitel füllen.

Upgrade Process | Step-by-Step - Infrastructure (3)

6. Database Schemas

Create the required Database Schemas

Preparing to Upgrade SOA Schemas (In-Place Upgrade only)

Upgrade Schemas with the Upgrade Assistant (In-Place Upgrade only)

7. Domain (Re-) Configuration

Configure the Domain (Side-by-Side Upgrade)

Reconfigure the Domain using the Reconfiguration Wizard (In-Place Upgrade)

Upgrade the Domain Component Configurations using the Upgrade Assistant (In-Place Upgrade)

Page 30: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

© OPITZ CONSULTING GmbH 2016 Slide 10 12c Upgrade Experience

OPITZ CONSULTING Vorlage Powerpoint 2011; Version 1.3; 10.05.2011; TGA, KSH

Titel und Inhalt: • Dies ist das Haupttemplate

für Inhaltsseiten.

• Titel: 1-2zeilig!

• Inhalt:

• 3-7 Punkte o 2-3

Hauptpunkte mit

Unterpunkten

• Max bis zur 3. Ebene

• Logo: optional. rechts des

Titels zwischen den letzten

beiden Rastern

• Fußzeile mit Haupttitel füllen.

Upgrade Process | Step-by-Step - Code Upgrade

8. Upgrade the projects (and deploy if needed) Open projects in JDeveloper 12c, the Migration Assistent migrates the project files

or Upgrade JDeveloper Projects in Bulk

Migrate Oracle Service Bus Resources from Previous Releases

Deploy Applications (Side-by-Side Upgrade)

9. Post Upgrade Steps General Post-Upgrade Tasks

Post-Upgrade Tasks for Oracle Service Bus

Post-Upgrade Tasks for Clusters

Post-Upgrade Tasks for BAM

Page 31: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

© OPITZ CONSULTING GmbH 2016 Slide 11 12c Upgrade Experience

OPITZ CONSULTING Vorlage Powerpoint 2011; Version 1.3; 10.05.2011; TGA, KSH

Titel und Inhalt: • Dies ist das Haupttemplate

für Inhaltsseiten.

• Titel: 1-2zeilig!

• Inhalt:

• 3-7 Punkte o 2-3

Hauptpunkte mit

Unterpunkten

• Max bis zur 3. Ebene

• Logo: optional. rechts des

Titels zwischen den letzten

beiden Rastern

• Fußzeile mit Haupttitel füllen.

Upgrade Process | Step-by-Step - Code Upgrade

10. Verify your results (Test) Testing before and after the upgrade is the key to success!

Define and document all testcases in advance

Make sure that you have a complete test approach in place bevore you start your upgrade

Esablish a test approach that covers all relevant test layers (Elementary Unit Tests, Component Tests, End-to-End Tests)

We decided to build our own OC testing framework based on JUnit Standard and SOA Suite APIs to integrate it within other implementations and to establish a proper test-driven development

This allows us to

use the same test approach for BPEL, BPMN, OSB, Java, Human Tasks, XSLT and XQuery…

re-route external references to a mock service implemented in the same framework (in Java) including changing references to standard web services so that database or file adapters can also be mocked

Human task handling (finishing the human task with a predefined outcome and predefined values)

Smooth integration into continuous integration environment

More details will be published on http://thecattlecrew.net

Page 32: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

© OPITZ CONSULTING GmbH 2016 Slide 12 12c Upgrade Experience

OPITZ CONSULTING Vorlage Powerpoint 2011; Version 1.3; 10.05.2011; TGA, KSH

Titel und 2 Inhalte • Layout für 2spaltige Listen

• Titel: 1-2zeilen

• Inhalt:

• 3-7 Punkte o 2-3

Hauptpunkte mit

Unterpunkten

• Max bis zur 3. Ebene

• Logo: optional. rechts des

Titels zwischen den letzten

beiden Rastern

• Achtung: Sofern Text 1.

Spalte zu Dicht an 2. Spalte,

korrigiere Textboxbreite!

Straight Forward

Code upgrade with standard composites (using

BPEL, Database and File adapters) Testcases

successfully completed without any manual rework

Database Adapter for stored procedure calls

performed well after upgrade

Successfully transferred config changes like JTA

Transaction Timeout, Transaction Timeout of Beans

and SyncMaxWaitTime

Enabling of new Auto Purge function to avoid

Database growth

Deployment via Maven

What we‘ve learned…

Prepare for more complexity

Upgrading from Oracle BAM 11g to BAM 12c cannot be

handled with the standard upgrade procedures

OWSM / JDeveloper and Custom Policies because of

deprecated functions

HA Infrastructure setup took longer than our code

upgrade

Namespaces / Prefixes of some ext. XPath functions

have changed (solved via search & replace)

Challenges while upgrading large composites fixed in

Doc ID 2021736.1

Version 12.2.1 runs under JDK8 which can result in

additional work

Page 33: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

© OPITZ CONSULTING GmbH 2016 Slide 13 12c Upgrade Experience

OPITZ CONSULTING Vorlage Powerpoint 2011; Version 1.3; 10.05.2011; TGA, KSH

Titel und Inhalt: • Dies ist das Haupttemplate

für Inhaltsseiten.

• Titel: 1-2zeilig!

• Inhalt:

• 3-7 Punkte o 2-3

Hauptpunkte mit

Unterpunkten

• Max bis zur 3. Ebene

• Logo: optional. rechts des

Titels zwischen den letzten

beiden Rastern

• Fußzeile mit Haupttitel füllen.

Best Practices

High test coverage: define testcases well in advance and compare results before and after the

upgrade

Use a test framework that allows efficient (re-)execution of testcases for OSB and SOA -

including Mocks, Component and End-to-End Tests (e.g. OC Testframework)

Testing and pre-upgrade steps are the key points of success

Documentation about changed configuration parameters is important (document before

upgrade)

Plan the Infrastructure upgrade well in advance

Install BAM on a separate WLS domain to decouple runtime and monitoring cmponents from

patching cycles (reduce downtimes)

Consider BAM Best Practices from the beginning

Page 34: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

© OPITZ CONSULTING GmbH 2016 Slide 14 12c Upgrade Experience

OPITZ CONSULTING Vorlage Powerpoint 2011; Version 1.3; 10.05.2011; TGA, KSH

Titel und Inhalt: • Dies ist das Haupttemplate

für Inhaltsseiten.

• Titel: 1-2zeilig!

• Inhalt:

• 3-7 Punkte o 2-3

Hauptpunkte mit

Unterpunkten

• Max bis zur 3. Ebene

• Logo: optional. rechts des

Titels zwischen den letzten

beiden Rastern

• Fußzeile mit Haupttitel füllen.

Material

Presentation: What's Stopping You from Upgrading to Oracle SOA Suite 12c?

http://goo.gl/HGDIqF

Slideshare: Road to SOA Suite 12c

http://de.slideshare.net/opitzconsulting/doag-2014-roadtosoasuite12cschmiedel

Video: 2 Minute Tech Tip

https://blogs.oracle.com/archbeat/entry/2mtt

Troubleshooting the Upgrade

http://docs.oracle.com/middleware/1213/core/FUPSS/know_base.htm#FUPSS339

Oracle® Fusion Middleware Upgrading to the Oracle Fusion Middleware Infrastructure

https://docs.oracle.com/middleware/1221/core/INFUP/toc.htm

Oracle® Fusion Middleware Upgrading SOA Suite and Business Process Management

https://docs.oracle.com/middleware/1221/core/FUPSS/toc.htm

Page 35: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

© OPITZ CONSULTING GmbH 2016 Slide 15 12c Upgrade Experience

OPITZ CONSULTING Vorlage Powerpoint 2011; Version 1.3; 10.05.2011; TGA, KSH

Kontakt 1. fach: • Diese Folie wird als vorletzte

Folie genutzt, um den

individuellen Bezug zum

Referenten herzustellen.

• Als Foto muss ein

quadratisches Foto des

Referenten in qualitativ

hochwertiger Form vorliegen.

• Das Foto geht über 3

Rasterbreiten.

• Die Daten der Adresse sollten

vollst. eingegeben werden

Contact Details

Danilo Schmiedel Solution Architect | Oracle ACE Director

OPITZ CONSULTING Deutschland GmbH

Tempelhofer Weg 64, 12347 Berlin, Germany

http://www.opitz-consulting.com

Phone: +49 173 7279001

Mail: [email protected]

@dschmied

http://inside-bpm-and-soa.blogspot.com & http://thecattlecrew.net

http://inside-bpm-and-soa.blogspot.de/

http://thecattlecrew.wordpress.com/

Page 36: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

12c upgrade tips A-Team

Deepak Arora Director Cloud Solution Architects Team, “The A-Team” April 2016

Oracle Confidential – Internal/Restricted/Highly Restricted

Page 37: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Safe Harbor Statement

The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.

Oracle Confidential – Internal/Restricted/Highly Restricted 2

Page 38: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Program Agenda

1

2

3

Code upgrade

Side by Side upgrade do’s and don’ts

Tuning differences in 12c

Oracle Confidential – Internal/Restricted/Highly Restricted 3

Page 39: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Program Agenda

1

2

3

Code upgrade

Side by Side upgrade do’s and don’ts

Tuning differences in 12c

Oracle Confidential – Internal/Restricted/Highly Restricted 4

Page 40: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Code upgrade

Oracle Confidential – Internal/Restricted/Highly Restricted 5

Page 41: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Code upgrade

• There are no changes to the BPEL, BPM, Rules, HWF and other components from a development perspective

• No need to redevelop or rewrite code as was the case in a 10g-11g upgrade

• Import BPEL and OSB projects into 12c Jdev and projects will be converted to 12c SCA projects

–OSB projects while in a SCA are still considered independent OSB projects (i.e. at the moment cannot have other components in the SCA project)

– No impact on BPEL projects

Oracle Confidential – Internal/Restricted/Highly Restricted 6

Page 42: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Program Agenda

1

2

3

Code upgrade

Side by Side upgrade do’s and don’ts

Tuning differences in 12c

Oracle Confidential – Internal/Restricted/Highly Restricted 7

Page 43: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Side by Side upgrade do’s and don’ts

Oracle Confidential – Internal/Restricted/Highly Restricted 8

Page 44: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Side by Side upgrade do’s and don’ts Do’s • Define a cutover strategy and make sure the business is aligned with the cutover

• Plan your upgrade cutover meticulously with the operations team

– Play out the cut over with proper fallback scenarios in case of a failed cutover

– Keep backups of the older system

– Define how long the 11g system will be up and running (how long will it take to shut down 11g). This will help plan how much operational support is required

– Can shut down some managed servers (reduce the 11g cluster) since most of the load will be on 12c

– Learn 12c from an operational standpoint!! (best way is to play with it and learn the differences in the UI)

Oracle Confidential – Internal/Restricted/Highly Restricted 9

Page 45: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Side by Side upgrade do’s and don’ts Do’s

• Make sure your 12c cluster is set up correctly using all the proper EDG best practices: (https://docs.oracle.com/middleware/1221/core/SOEDG.pdf)

• If you are using a 12c DB, make sure DB is tuned properly before going live (use 11g DB performance tuning guide as a starting point (http://www.oracle.com/technetwork/middleware/soasuite/learnmore/psrsoadbperformance-1919499.pdf )

• Use DB partitioning if appropriate (12c large profile sets up DB partitioning OOTB)

• Conduct a full functional regression exercise

• Conduct a full performance exercise (since 12c tuning is different to 11g)

• Test, Test, Test!! (https://docs.oracle.com/middleware/1213/soasuite/soasuite-monitortune.htm)

Oracle Confidential – Internal/Restricted/Highly Restricted 10

Page 46: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Side by Side upgrade do’s and don’ts Don’ts

• Presume that 11g and 12c work the same way – operationally and performance wise (tuning knobs are different) they are different

• Don’t set up 11g and 12c on the same DB (unless the DB machine has a lot of CPU)

• Don’t forget to train the operational team on the benefits of the EM console – introduction of FLOW_ID, new search, new ESS feature – important to learn these new features

Oracle Confidential – Internal/Restricted/Highly Restricted 11

Page 47: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Program Agenda

1

2

3

Code upgrade

Side by Side upgrade do’s and don’ts

Tuning differences in 12c

Oracle Confidential – Internal/Restricted/Highly Restricted 12

Page 48: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Tuning differences in 12c

Oracle Confidential – Internal/Restricted/Highly Restricted 13

Page 49: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |

Tuning differences in 12c

• Note that in 12c both OSB and BPEL use Work Managers now

– https://docs.oracle.com/middleware/1221/core/ASPER/soa_infra.htm#ASPER99940

– Thread pooling and performance tuning more inline with traditional WLS tuning

– This implies that 12c tuning has to be done independently of 11g tuning

– If using the OOTB WM scheme SOADataSource datasource sizing needs to be closely monitored and tweaked (note that this can be tweaked independently as well by playing with the SOAMaxThreadsConfig parameter in EM)

• Tuning process is simplified in 12c

• In most cases, the default settings will work and, if needed, only the size of the SOADatasource or the ratio of the thread pool sizes will need to be adjusted

• JVM, GC, Adapter, OSB and DB tuning stays unchanged

Oracle Confidential – Internal/Restricted/Highly Restricted 14

Page 50: Upgrading to SOA Suite 12c: Tips and Best Practices from ...
Page 51: Upgrading to SOA Suite 12c: Tips and Best Practices from ...

Copyright © 2015, Oracle and/or its affiliates. All rights reserved. |

• Ask questions via chat – send to Everyone

• Please fill out the webinar feedback survey: –www.surveymonkey.com/r/12c-upgrade-webinar-feedback

• Session recording, all slides and useful links will be available within a couple days at: –www.middleworks.com/soa-expert/

• Feel free to follow up with me at: [email protected]

• And thanks!!!

Q&A