35

ukoug-soa-sig-june-2016 v0.5

Embed Size (px)

Citation preview

Page 1: ukoug-soa-sig-june-2016 v0.5
Page 2: ukoug-soa-sig-june-2016 v0.5

Copyright © 2014, eProseed and/or its affiliates. All rights reserved. | Confidential

UPGRADING TO SOA 12.1 & 12.2Practical Steps and Project Experiences

Bruno Neves AlveseProseed UKJune - 2015

2

Page 3: ukoug-soa-sig-june-2016 v0.5

Copyright © 2014, eProseed and/or its affiliates. All rights reserved. | Confidential

INTRODUCTION

• Provide insight in the migration and upgrade possibilities for SOA from 11g to 12c (if you still have SOA 10g we can discuss later )

• Provide arguments to decide what is the best way for your organization to upgrade to 12c given your starting point

• Discuss migration strategies

• NOT: complete step-by-step tutorial for all upgrade and migration paths

• NOT: upgrade for other Oracle products

3

Goal today

Page 4: ukoug-soa-sig-june-2016 v0.5

Copyright © 2014, eProseed and/or its affiliates. All rights reserved. | Confidential

PROGRAM AGENDA

Why Upgrade? 12.1.3 or 12.2.1?

Upgrade Strategies

Customer Cases

Lessons Learnt

1

2

3

4

4

Page 5: ukoug-soa-sig-june-2016 v0.5

Copyright © 2014, eProseed and/or its affiliates. All rights reserved. | Confidential

Bruno Neves Alves

Technical Director & Partner at eProseed UK

Specialised in SOA, BPM, B2B, Healthcare

Oracle Middleware Consultant

5

ABOUT BRUNO

Page 6: ukoug-soa-sig-june-2016 v0.5

Copyright © 2014, eProseed and/or its affiliates. All rights reserved. | Confidential

TIMELINE OF SOA AND BPM

6

2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014

SOA Suite 12cR1BPM Suite 12cR1

BPEL Process Manager

BAMWeb Services Manager

Service Registry

Oracle Data Integrator

SOA Suite 11g PS6SOA Suite 12c BetaBPM Suite 12c Beta

SOA Suite 11g PS5

SOA Suite 11g

AmberPoint

OSB 11g

SOA Governance 11g

BPM Suite 11g

BEA

Sun

BPA Suite 11g

WebLogicALBPM

ALSB

BPA Suite

SOA Suite 10gR3

SOA Suite 11g PS3

Collaxa

2015 2016

SOA Suite 12cR2BPM Suite 12cR2

Page 7: ukoug-soa-sig-june-2016 v0.5

Copyright © 2014, eProseed and/or its affiliates. All rights reserved. | Confidential

PROGRAM AGENDA WITH HIGHLIGHT

Why Upgrade? 12.1.3 or 12.2.1?

Upgrade Strategies

Customer Cases

Lessons Learnt

1

2

3

4

7

Page 8: ukoug-soa-sig-june-2016 v0.5

Copyright © 2014, eProseed and/or its affiliates. All rights reserved. | Confidential

WHY UPGRADE? …and 12.1.3 or 12.2.1?

8

Page 9: ukoug-soa-sig-june-2016 v0.5

Copyright © 2014, eProseed and/or its affiliates. All rights reserved. | Confidential9

Page 10: ukoug-soa-sig-june-2016 v0.5

Copyright © 2014, eProseed and/or its affiliates. All rights reserved. | Confidential

Cloud Integration

• Cloud Adapters

• Cloud Adapter SDK

Internet of Things (IoT)

• Event-processing enhancements

• Insight in events

Developer Productivity

• Integrated Server

• Unified IDE and Console

• Debugging

WHAT’S NEW IN 12C R1?

Mobile Enablement

• Native support for REST and JSON

• API Management

• REST APIs

New Functionality

• Managed File Transfer

• ACM Enhancements

• Scheduler

Business-User Friendliness

• User-friendly Rule editing

• BAM improvements

• Integration Cloud Service

Page 11: ukoug-soa-sig-june-2016 v0.5

Copyright © 2014, eProseed and/or its affiliates. All rights reserved. | Confidential

• Native REST/SOAP Easy conversion

• Richer XSLT Design Editor

• JavaScript Support

• +Cloud Adapters (+ SDK)

• SOA Debugger

• XSLT Debugger

• Consoles with enhanced UI

• Continuous Availability

– Composite Instance Patching

– Automatic Service Migration

• In-Memory SOA

• Integration Workload Statistics (AWR for SOA)

• Resilience – Circuit Breaker

• SOA OPS

– Auto Purge

– Lazy Loading

– Simplified Tuning – WL WM

– Simplified Troubleshooting11

WHAT’S NEW IN 12C R2?

Page 12: ukoug-soa-sig-june-2016 v0.5

Copyright © 2014, eProseed and/or its affiliates. All rights reserved. | Confidential

WHY ELSE UPGRADE?

• New version of Java (12.1.3 = JDK 7, 12.2.1 = JDK 8)

– New features for developers

– Security enhancements

• Support Dates (see next slide)

• Often get best support on latest version

– E.g. don’t have to request back-ports for fixes etc

12

Page 13: ukoug-soa-sig-june-2016 v0.5

Copyright © 2014, eProseed and/or its affiliates. All rights reserved. | Confidential

MAYBE NOT TOO MUCH RUSH

13

Page 14: ukoug-soa-sig-june-2016 v0.5

Copyright © 2014, eProseed and/or its affiliates. All rights reserved. | Confidential

12.1.3 OR 12.2.1 ?

• You may prefer more bundle patches of 12.1.3 (none yet for 12.2)

• Need for new 12.2 features (e.g. IWS Reports, Insight)

• We prefer to go for the latest usually but YMMV

14

Page 15: ukoug-soa-sig-june-2016 v0.5

Copyright © 2014, eProseed and/or its affiliates. All rights reserved. | Confidential

UPGRADE STRATEGIES

15

To reach your goals

Page 16: ukoug-soa-sig-june-2016 v0.5

Copyright © 2014, eProseed and/or its affiliates. All rights reserved. | Confidential

REVOLUTION VERSUS EVOLUTION

10g to 11g: Lots of new features, but also disruptive change

• New architecture by introducing SCA standard

• WebLogic Server instead of OC4J

• Service Bus instead of OESB

• SOA and BPM both new products

11g to 12cR1 to 12cR2: Evolution instead of revolution

• Same architecture (SCA), same container

• Evolution of existing products

16

“a bit painful”

Much easier than a 10g upgrade!

Page 17: ukoug-soa-sig-june-2016 v0.5

Copyright © 2014, eProseed and/or its affiliates. All rights reserved. | Confidential

UPGRADE STRATEGIES

SOA / BPM 11g to 12c

• In-place upgrade

or

• New env & Redeployment Key questions:

Long running transactions?

Can they be ‘drained down’?

Parallel Run or Big Bang?

Page 18: ukoug-soa-sig-june-2016 v0.5

Copyright © 2014, eProseed and/or its affiliates. All rights reserved. | Confidential

SOA AND BPM SUITE 11G TO 12C

Runtime

• In place domain upgrade and reconfiguration

• No need to redeploy composites after upgrade

• Long running instances resume after upgrade

Design time

• Open 11g projects in JDeveloper 12c

• Import/export Service Bus projects from Eclipse to JDeveloper 12c

In-placeUpgrade

Side-by-Side

Page 19: ukoug-soa-sig-june-2016 v0.5

Copyright © 2014, eProseed and/or its affiliates. All rights reserved. | Confidential

SOA AND BPM 11G TO 12C | PREREQUISITES

• SOA/BPM Suite 11.1.1.6 (PS5) or 11.1.1.7 (PS6)

• 64 bit JVM

• OPSS to use DB or LDAP based policy store

• Infrastructure Database must be supported Oracle 11g or 12c Database

• 11g and 12c Oracle Homes located on same host but different directories

• OWSM Policy Manager for Service Bus upgrade

19

Page 20: ukoug-soa-sig-june-2016 v0.5

Copyright © 2014, eProseed and/or its affiliates. All rights reserved. | Confidential

SOA AND BPM 11G TO 12C | UNSUPPORTED

• Domain integrated with non-12c products

–Registry (OSR)

–Repository (OER)

–WebCenter including SOA/BPM task UI exposed as Portlets

• Developer deployments

–Admin Server only Domain

–XE database

• SOA/BPM not running on WebLogic Server

• In-place upgrade of BAM

Oracle Confidential –Internal/Restricted/Highly

20

Page 21: ukoug-soa-sig-june-2016 v0.5

Copyright © 2014, eProseed and/or its affiliates. All rights reserved. | Confidential

RUNTIME UPGRADE STEPS

21

11g to 12c (1 of 3)

Read upgrade documentation and create upgrade plan

Create full backup

Create test set (recommended)

Purge instances – partly or totally (if possible)

Shut down environment

Update JDK to 64 bit JVM (if needed)

In-placeUpgrade

Page 22: ukoug-soa-sig-june-2016 v0.5

Copyright © 2014, eProseed and/or its affiliates. All rights reserved. | Confidential

RUNTIME UPGRADE STEPS

22

11g to 12c (2 of 3)

Update SOA Suite to 11.1.1.7 (if needed)

Migrate OPSS from file-based to DB-based (if needed)

Update SOA Infra Database to supported version (if needed)

Install WebLogic Server 12c

Install SOA Suite 12c and other components such as OHS and OSB

Execute RCU 12c to create 12c schemas

In-placeUpgrade

Page 23: ukoug-soa-sig-june-2016 v0.5

Copyright © 2014, eProseed and/or its affiliates. All rights reserved. | Confidential

RUNTIME UPGRADE STEPS

23

11g to 12c (3 of 3)

Execute Upgrade Assistant to upgrade 11g Database Schemas

Reconfigure Domain using Reconfiguration Wizard

Execute Upgrade Assistant to upgrade SOA Suite 11g

Check start and environment scripts

Start up environment

Run the test set to verify

In-placeUpgrade

Page 24: ukoug-soa-sig-june-2016 v0.5

Copyright © 2014, eProseed and/or its affiliates. All rights reserved. | Confidential

ADDITIONAL EXTRA CONSIDERATIONS

• You can upgrade Complete Instances for post upgrade

– Scheduled Upgrade

• Service Bus

–Export project before performing the upgrade

• delete the OSB Metadata at 11g

–Migration from eclipse to jDeveloper (import/export)

Oracle Confidential –Internal/Restricted/Highly

24

Page 25: ukoug-soa-sig-june-2016 v0.5

Copyright © 2014, eProseed and/or its affiliates. All rights reserved. | Confidential

3 MAIN STRATEGIES

25

Rollback

In-placeUpgrade

bigbang

Side-by-Sidebig

bang

Side-by-Sideparallel

run

1

2

3

Cut-over

Restore

Switch-back

Switch-off 12c

Page 26: ukoug-soa-sig-june-2016 v0.5

Copyright © 2014, eProseed and/or its affiliates. All rights reserved. | Confidential

LESSONS LEARNTfrom customer cases

26

Page 27: ukoug-soa-sig-june-2016 v0.5

Copyright © 2014, eProseed and/or its affiliates. All rights reserved. | Confidential

LOTS OF SOA 12C UPGRADE EXAMPLES

• Large Dutch bank

• Dutch gas utility

• UK water utility

• Public Transport company

• Healthcare provider

• Vehicle leasing company

• Large City local government

27

Page 28: ukoug-soa-sig-june-2016 v0.5

Copyright © 2014, eProseed and/or its affiliates. All rights reserved. | Confidential

LESSONS LEARNT (1)

• Be very careful of pre-reqs

• BAM is a non-starter (& can't do an in place upgrade if installed in the 11g domain)

• Design of long running processes is very important

– e.g. if you have some intermediate JMS queues that can give more options

• If possible don’t use an in-place upgrade

– More to go wrong

– Rollback is more difficult

• Carefully weigh risks of in-place vs extra effort (& maybe licence cost) of side-by-side

– Most cases favour side-by-side in our experience

• Tuning between 11g & 12c is very different - much easier in 12 (primarily SOA_INFRA connection pool sizing)

30

Page 29: ukoug-soa-sig-june-2016 v0.5

Copyright © 2014, eProseed and/or its affiliates. All rights reserved. | Confidential

LESSONS LEARNT (2)

• Test strategy very important

• Training: e.g. consoles have changed, auto purge, error hospital, new features like that thingy that needs ESS (fault notification hospital), flow ID

• WLST diff in 12.2 - e.g. deployment scripts => don't focus on design time alone, make sure look at runtime

• Deployment if using Maven has changed a lot

• Leverage automation scripts to re-create wls configurations (DS, JMS, etc) on side-by-side

• Eclipse->JDev for OSB - DVMs in OSB, templates (do new analysis) - reason to do side-by-side (might as well improve prov).

• Assume you will have to open projects in 12c & redeploy (also cleaner)

• Don't wait! probably go to 12.2 but depends on testing31

Page 30: ukoug-soa-sig-june-2016 v0.5

Copyright © 2014, eProseed and/or its affiliates. All rights reserved. | Confidential

SUMMARY

32

Page 31: ukoug-soa-sig-june-2016 v0.5

Copyright © 2014, eProseed and/or its affiliates. All rights reserved. | Confidential

SUMMARY

• Going from SOA and BPM 11g to 12c is upgrade instead of migration

• Consider going straight from 11g to 12cR2

• Carefully consider your upgrade approach

• As ever careful testing is very important – especially if doing in-place upgrade

• Training to use 12c enhancements

• Don’t put it off – benefit from the new features you’ve already paid for

33

Page 32: ukoug-soa-sig-june-2016 v0.5

Copyright © 2014, eProseed and/or its affiliates. All rights reserved. | Confidential

USEFUL LINKS

34

Best Practices for SOA Suite 11g to 12c Upgrade (blog)https://blogs.oracle.com/SOA/entry/best_practices_for_soa_11g

Upgrade Videos for SOA and BPM (video)http://docs.oracle.com/middleware/1221/cross/upgrade_videos.htm

Install, Patch, and Upgrade (documentation) http://docs.oracle.com/middleware/1221/cross/installtasks.htm

Oracle Fusion Middleware Supported System Configurations (certification for 12.1.3 & 12.2.1) http://www.oracle.com/technetwork/middleware/ias/downloads/fusion-certification-100350.html

Page 33: ukoug-soa-sig-june-2016 v0.5

Copyright © 2014, eProseed and/or its affiliates. All rights reserved. | Confidential35

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

Page 34: ukoug-soa-sig-june-2016 v0.5

Copyright © 2014, eProseed and/or its affiliates. All rights reserved. | Confidential

ABOUT EPROSEED

36

22 Oracle Specializations… and counting.

Page 35: ukoug-soa-sig-june-2016 v0.5