Вы находитесь на странице: 1из 37

Road to SOA Suite 12c

Upgrading SOA Suite from 11g to 12c

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

Upgrading SOA Suite from 11g to 12c

Danilo Schmiedel
Solution Architect | Oracle ACE Director
OPITZ CONSULTING Deutschland GmbH

DOAG Conference + Exhibition | November 2014


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

2. Upgrade Strategy

3. Upgrade Results

4. Oracle‘s Strategic Implementation Program

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

Service Registry SOA Governance 11g


BPM Suite 12c

Weblogic
BPEL Process Manager Aqualogic BPM SOA Suite PS5
Aqualogic SB

2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014

BPM Suite 11g


Web Services Manager & OSB 11g
BAM

SOA Suite 11g


BPA Suite 11g SOA Suite 12c

SOA Suite 10gR3


BPA Suite 10g

Upgrading SOA / BPM Suite from 11g to 12c © OPITZ CONSULTING GmbH 2014 Seite 4
From 10g to 11g
Why it was not just an „upgrade“?

 Product foundation changed to


Weblogic Server
 Introduction of Service
Component Architecture (SCA)
 Oracle Service Bus & Mediator
instead of OESB

10g 11g
Metadata MDS

ORABPEL

Runtime SOAINFRA

Upgrading SOA / BPM Suite from 11g to 12c © OPITZ CONSULTING GmbH 2014 Seite 5
From 11g to 12c
Evolution instead of revolution

 No fundamental changes
in the underlying
platform
 Same architecture (SCA)
and same container
 Evolution of existing
products & components

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

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

BPM 10g to 12c


• 1) Migration tool with manual re-work, or
• 2) Redesign and deploy to 12c

SOA 10g to 12c


• 1) Migration to 11g and in-place upgrade to 12c, or
• 2) Redesign and migrate to 12c

SOA / BPM 11g to 12c


• 1) In-place upgrade, or
• 2) Migration

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

• Defining an upgrade strategy


Pre-Upgrade • Performing pre-upgrade tasks
• Installing 12c software

• Create / Upgrade Schemas


Upgrade • Domain (Re-) Configuration

• Post-Upgrade Tasks
(such as reappling customizations, copying custom XPath
Post-Upgrade classes, reapplying EDNTopic, delete tmp-folders)
• Verify success

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

Upgrading SOA / BPM Suite from 11g to 12c © OPITZ CONSULTING GmbH 2014 Seite 10
Defining an upgrade strategy
In-Place Upgrade Migration
 Schemas and domain directory  New installation of schemas
upgrades are performed "in and domains
place" (updates existing 11g
files)  New deployment &
configuration of the existing
 Oracle Home binaries are
upgraded "out of place" 11g projects
(binaries are installed in a new  Suitable in stateless & short-
directory) running scenarios
 No need to redeploy  Adequate if the targeted sytem
composites after upgrade
architecture should be diferent
 Long running instances than with 11g or if the current
resume after upgrade topology is not supported

Upgrading SOA / BPM Suite from 11g to 12c © OPITZ CONSULTING GmbH 2014 Seite 11
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

Upgrading SOA / BPM Suite from 11g to 12c © OPITZ CONSULTING GmbH 2014 Seite 12
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

Upgrading SOA / BPM Suite from 11g to 12c © OPITZ CONSULTING GmbH 2014 Seite 13
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

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

Upgrading SOA / BPM Suite from 11g to 12c © OPITZ CONSULTING GmbH 2014 Seite 15
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

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

Upgrading SOA / BPM Suite from 11g to 12c © OPITZ CONSULTING GmbH 2014 Seite 17
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

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

Upgrading SOA / BPM Suite from 11g to 12c © OPITZ CONSULTING GmbH 2014 Seite 19
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

Upgrading SOA / BPM Suite from 11g to 12c © OPITZ CONSULTING GmbH 2014 Seite 20
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

Upgrading SOA / BPM Suite from 11g to 12c © OPITZ CONSULTING GmbH 2014 Seite 21
Upgrade Results | Configuration Changes
 Successfully transferred the following config changes
 JTA Transaction Timeout
 Transaction Timeout of BPELDeliveryBean
 SyncMaxWaitTime

Upgrading SOA / BPM Suite from 11g to 12c © OPITZ CONSULTING GmbH 2014 Seite 22
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

Upgrading SOA / BPM Suite from 11g to 12c © OPITZ CONSULTING GmbH 2014 Seite 23
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

Upgrading SOA / BPM Suite from 11g to 12c © OPITZ CONSULTING GmbH 2014 Seite 24
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)

Upgrading SOA / BPM Suite from 11g to 12c © OPITZ CONSULTING GmbH 2014 Seite 25
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)

Upgrading SOA / BPM Suite from 11g to 12c © OPITZ CONSULTING GmbH 2014 Seite 26
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.

Upgrading SOA / BPM Suite from 11g to 12c © OPITZ CONSULTING GmbH 2014 Seite 27
Upgrade Results | Composites in EM
Composite Definition in EM not available (not critical – new feature)

Upgrading SOA / BPM Suite from 11g to 12c © OPITZ CONSULTING GmbH 2014 Seite 28
Upgrade Results | Composites in EM
Composite Definition in EM not available (not critical – new feature)

Upgrading SOA / BPM Suite from 11g to 12c © OPITZ CONSULTING GmbH 2014 Seite 29
Design Time | Opening 11g project in JDev 12c
 Migration Assistent
starts to migrate the
project

Upgrading SOA / BPM Suite from 11g to 12c © OPITZ CONSULTING GmbH 2014 Seite 30
Design Time | Project Structure

 Project folder structure has


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

Upgrading SOA / BPM Suite from 11g to 12c © OPITZ CONSULTING GmbH 2014 Seite 31
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)

Upgrading SOA / BPM Suite from 11g to 12c © OPITZ CONSULTING GmbH 2014 Seite 32
4 Oracle‘s Strategic Implementation Program

Upgrading SOA / BPM Suite from 11g to 12c © OPITZ CONSULTING GmbH 2014 Seite 33
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

Upgrading SOA / BPM Suite from 11g to 12c © OPITZ CONSULTING GmbH 2014 Seite 34
Customer Reference Commitment
 Use of Company name and  Technical case study
logo
 publishable on OTN
 Supporting quote
 Testimonial video
 Reference calls with
 Pod cast
prospects
 Reference forums
 Press activities
 press release or interview  Advertising campaign
 Analyst interviews for  Oracle Open World panel or
research presentation
 Customer success  Feature story
snapshot/profile

Upgrading SOA / BPM Suite from 11g to 12c © OPITZ CONSULTING GmbH 2014 Seite 35
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

Upgrading SOA / BPM Suite from 11g to 12c © OPITZ CONSULTING GmbH 2014 Seite 36
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

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

Вам также может понравиться