Professional Documents
Culture Documents
Upgrading To SOA Suite 12c:: Tips and Best Practices From Engineering, Customer Projects & A-Team
Upgrading To SOA Suite 12c:: Tips and Best Practices From Engineering, Customer Projects & A-Team
Upgrading To SOA Suite 12c:: Tips and Best Practices From Engineering, Customer Projects & A-Team
David Shaffer
Managing Partner, Middleworks
dave@middleworks.com
2
12c Base Upgrade Docs and Presos
• Upgrade videos:
http://docs.oracle.com/middleware/1221/cross/upgrade_videos.htm
ӷ ᑀ
• 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
Less
Less Work Keeps History Lower Risk
Downtime
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 5
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 穀Ӱ
– 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
#SOA12c 獰δ
12 Copyright © 2014, Oracle and/or its affiliates. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
12c Upgrade Experience
Lessons Learned and Best Practices
Danilo Schmiedel
Solution Architect | Oracle ACE Director
OPITZ CONSULTING Deutschland GmbH
Mail: danilo.schmiedel@opitz-consulting.com
Twitter: @dschmied
Blog: http://inside-bpm-and-soa.blogspot.com
April 2016
12c Upgrade Experience © OPITZ CONSULTING GmbH 2016 Slide 1
About OPITZ CONSULTING
Oracle Platinum Partner, founded in 1990, Oracle SOA 12c @ Opitz
located in Germany and Poland
First Oracle SOA / BPEL project in 2006
Specialized in many products across the Oracle
Implemented multiple 10g to 11g projects
portfolio
Wide knowledge with Side-by-Side
2 Oracle ACE Directors and 2 Oracle ACEs upgrades based on Enterprise
Deployment Guide
Recognized as one of the leading Oracle
Fusion Middleware Partners Experienced with In-Place Upgrades
long running / stateful processes with
2015 & 2014: BPM Partner Community Award minimal downtime
Increased developer productivity with one unified IDE for OSB & SOA
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
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
For a development or evaluation distribution, see "Downloading Oracle Fusion Middleware 12c (12.2.1)
Development Distributions“
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
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)
Install BAM on a separate WLS domain to decouple runtime and monitoring cmponents from
patching cycles (reduce downtimes)
Oracle® Fusion Middleware Upgrading SOA Suite and Business Process Management
https://docs.oracle.com/middleware/1221/core/FUPSS/toc.htm
Danilo Schmiedel
Solution Architect | Oracle ACE Director
@dschmied
Deepak Arora
Director
Cloud Solution Architects Team, “The A-Team”
April 2016
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted
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.
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 2
Program Agenda
1 Code upgrade
2 Side by Side upgrade do’s and don’ts
3 Tuning differences in 12c
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 3
Program Agenda
1 Code upgrade
2 Side by Side upgrade do’s and don’ts
3 Tuning differences in 12c
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 4
Code upgrade
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 5
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
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 6
Program Agenda
1 Code upgrade
2 Side by Side upgrade do’s and don’ts
3 Tuning differences in 12c
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 7
Side by Side upgrade do’s and don’ts
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 8
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)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 9
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)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 10
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
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 11
Program Agenda
1 Code upgrade
2 Side by Side upgrade do’s and don’ts
3 Tuning differences in 12c
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 12
Tuning differences in 12c
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 13
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
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 14
Q&A
• 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: dave@middleworks.com
• And thanks!!!