Weitere ähnliche Inhalte Kürzlich hochgeladen (20) What's stopping you from upgrading to Oracle SOA Suite 12c?1. © OPITZ CONSULTING GmbH 2015 Slide 1What's Stopping You from Upgrading to Oracle SOA Suite 12c?
Birmingham, 08/12/2015
What's stopping you from upgrading
Danilo Schmiedel
Solution Architect | Oracle ACE Director
OPITZ CONSULTING Deutschland GmbH
to Oracle SOA Suite 12c?
2. © OPITZ CONSULTING GmbH 2015 Slide 2What's Stopping You from Upgrading to Oracle SOA Suite 12c?
About OPITZ CONSULTING
Oracle Platinum Partner, founded in 1990, located in Germany and Poland
Business IT Alignment, BPM, SOA and system integration, Application development, IT Infrastructure Management
2 Oracle ACE Directors and 2 Oracle ACEs
Recognized as one of the leading Oracle Fusion Middleware Partners
Specialized in SOA, BPM, ADF & Application Grid, Exadata,
Business Intelligence Foundation, Oracle Database,
Oracle Enterprise Linux, Real Application Cluster, Oracle VM,
Data Warehousing, DB11g Performance Tuning
2015 & 2014: Oracle BPM Partner Community Award
2010: Oracle Fusion Middleware Award
2008 – 2010: Oracle EMEA SOA Community Award
3. © OPITZ CONSULTING GmbH 2015 Slide 3What's Stopping You from Upgrading to Oracle SOA Suite 12c?
Agenda
1. SOA / BPM Evolution
2. Reasons for Upgrading to 12c
3. Upgrade Strategies
4. Results
5. Upgrade to 12.2.1
4. © OPITZ CONSULTING GmbH 2015 Slide 4What's Stopping You from Upgrading to Oracle SOA Suite 12c?
1 SOA / BPM Evolution
5. © OPITZ CONSULTING GmbH 2015 Slide 5What's Stopping You from Upgrading to Oracle SOA Suite 12c?
Important Milestones for SOA / BPM
6. © OPITZ CONSULTING GmbH 2015 Slide 6What's Stopping You from Upgrading to Oracle SOA Suite 12c?
From 10g to 11g - Why not just an „upgrade“?
Product foundation changed to
Weblogic Server
Introduction of Service
Component Architecture (SCA)
Oracle Service Bus & Mediator
instead of OESB
7. © OPITZ CONSULTING GmbH 2015 Slide 7What's Stopping You from Upgrading to Oracle SOA Suite 12c?
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
8. © OPITZ CONSULTING GmbH 2015 Slide 8What's Stopping You from Upgrading to Oracle SOA Suite 12c?
2 Reasons for Upgrading to 12c
9. © OPITZ CONSULTING GmbH 2015 Slide 9What's Stopping You from Upgrading to Oracle SOA Suite 12c?
Top3 Benefits | 1. Error Hospital
Ability to aggregate
instances based on
various criteria
Bulk recovery and
bulk abort on
aggregated instance
Extensive filter and
search panel similar
to instance tracking
10. © OPITZ CONSULTING GmbH 2015 Slide 10What's Stopping You from Upgrading to Oracle SOA Suite 12c?
Top3 Benefits | 2. Business Activity Monitoring
11. © OPITZ CONSULTING GmbH 2015 Slide 11What's Stopping You from Upgrading to Oracle SOA Suite 12c?
Top3 Benefits | 2. Business Activity Monitoring
Drill-Down
12. © OPITZ CONSULTING GmbH 2015 Slide 12What's Stopping You from Upgrading to Oracle SOA Suite 12c?
Top3 Benefits | 3. Sensor Actions
(already available in 11g but great in combination with BAM)
13. © OPITZ CONSULTING GmbH 2015 Slide 13What's Stopping You from Upgrading to Oracle SOA Suite 12c?
Top3 Benefits | 3. Sensor Actions
(already available in 11g but great in combination with BAM)
14. © OPITZ CONSULTING GmbH 2015 Slide 14What's Stopping You from Upgrading to Oracle SOA Suite 12c?
Additional Benefits of SOA 12c
Developer Productivity
One IDE for SOA and OSB
Pipeline Templates
Activity Templates
Embedded SOA Suite in JDeveloper
REST / JSON Support
Free choice between XSLT / XQuery
Maven Support
Integrated Testsuites
Share artifacts within and across applications (MDS)
12.2.1 is based on Java 8
15. © OPITZ CONSULTING GmbH 2015 Slide 15What's Stopping You from Upgrading to Oracle SOA Suite 12c?
3 Upgrade Strategies
16. © OPITZ CONSULTING GmbH 2015 Slide 16What's Stopping You from Upgrading to Oracle SOA Suite 12c?
Upgrade Strategies
17. © OPITZ CONSULTING GmbH 2015 Slide 17What's Stopping You from Upgrading to Oracle SOA Suite 12c?
SOA / BPM 11g to 12c | Overview
18. © OPITZ CONSULTING GmbH 2015 Slide 18What's Stopping You from Upgrading to Oracle SOA Suite 12c?
3.1 Pre-Upgrade Steps
19. © OPITZ CONSULTING GmbH 2015 Slide 19What's Stopping You from Upgrading to Oracle SOA Suite 12c?
Side-by-Side Upgrade (Migration)
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
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
Long running instances resume
after upgrade
Defining an upgrade strategy
20. © OPITZ CONSULTING GmbH 2015 Slide 20What's Stopping You from Upgrading to Oracle SOA Suite 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
More details: Upgrade Planning Guide and Interoperability and Compatibility Guide
21. © OPITZ CONSULTING GmbH 2015 Slide 21What's Stopping You from Upgrading to Oracle SOA Suite 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
22. © OPITZ CONSULTING GmbH 2015 Slide 22What's Stopping You from Upgrading to Oracle SOA Suite 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
23. © OPITZ CONSULTING GmbH 2015 Slide 23What's Stopping You from Upgrading to Oracle SOA Suite 12c?
3.2 In-Place Upgrade Steps
24. © OPITZ CONSULTING GmbH 2015 Slide 24What's Stopping You from Upgrading to Oracle SOA Suite 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
25. © OPITZ CONSULTING GmbH 2015 Slide 25What's Stopping You from Upgrading to Oracle SOA Suite 12c?
3.3 Post-Upgrade Steps
26. © OPITZ CONSULTING GmbH 2015 Slide 26What's Stopping You from Upgrading to Oracle SOA Suite 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
27. © OPITZ CONSULTING GmbH 2015 Slide 27What's Stopping You from Upgrading to Oracle SOA Suite 12c?
4 Upgrade Results
28. © OPITZ CONSULTING GmbH 2015 Slide 28What's Stopping You from Upgrading to Oracle SOA Suite 12c?
4.1 In-Place Upgrade Results
29. © OPITZ CONSULTING GmbH 2015 Slide 29What's Stopping You from Upgrading to Oracle SOA Suite 12c?
Small Installation - Components in use
As part of the 10g to 11g migration we already replaced all long-
running processes 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)
30. © OPITZ CONSULTING GmbH 2015 Slide 30What's Stopping You from Upgrading to Oracle SOA Suite 12c?
Small Installation – Composite Tests
Testcases successfully
completed and without
any manual rework
Database Adapter for
stored procedure calls
performed well
31. © OPITZ CONSULTING GmbH 2015 Slide 31What's Stopping You from Upgrading to Oracle SOA Suite 12c?
Upgrade Results | Configuration Changes
Successfully transferred
the following config
changes
JTA Transaction Timeout
Transaction Timeout of
BPELDeliveryBean
SyncMaxWaitTime
32. © OPITZ CONSULTING GmbH 2015 Slide 32What's Stopping You from Upgrading to Oracle SOA Suite 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
33. © OPITZ CONSULTING GmbH 2015 Slide 33What's Stopping You from Upgrading to Oracle SOA Suite 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
34. © OPITZ CONSULTING GmbH 2015 Slide 34What's Stopping You from Upgrading to Oracle SOA Suite 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
Patches / Workarounds
If the EDN topic does not happen to be provisioned, automatically
after upgrade, you can manually provision it (fixed in 12.2.1)
35. © OPITZ CONSULTING GmbH 2015 Slide 35What's Stopping You from Upgrading to Oracle SOA Suite 12c?
Upgrade Results | setCompositeInstanceTitle
In 12c the EM no longer displays what setComposite-
InstanceTitle sets
Patches / Workarounds
EM 12c displays the newly added Flow Instance Title which is set
using the setFlowInstanceTitle(...) method (logged in
18310693)
36. © OPITZ CONSULTING GmbH 2015 Slide 36What's Stopping You from Upgrading to Oracle SOA Suite 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.
37. © OPITZ CONSULTING GmbH 2015 Slide 37What's Stopping You from Upgrading to Oracle SOA Suite 12c?
Upgrade Results | Composites in EM
Composite Definition in EM not available (not critical – new feature)
38. © OPITZ CONSULTING GmbH 2015 Slide 38What's Stopping You from Upgrading to Oracle SOA Suite 12c?
Upgrade Results | Composites in EM
Composite Definition in EM not available (not critical – new feature)
39. © OPITZ CONSULTING GmbH 2015 Slide 39What's Stopping You from Upgrading to Oracle SOA Suite 12c?
4.2 Installation / Enterprise Deployment Guide
40. © OPITZ CONSULTING GmbH 2015 Slide 40What's Stopping You from Upgrading to Oracle SOA Suite 12c?
Installation / Setup Topics
Whole Server Migration
Set CrashRecoveryEnabled=TRUE in nodemanager.properties
EDG: ignore the comments in WLS EDG and follow the SOA EDG (differences in pack /
unpack vs. nmenroll and nodemanager.properties)
EDG: the interface/netmask syntax is being deprecated but still can be used
.out files of soa_servers show “Stopping Derby server... Derby server
stopped.”
You can work it around by setting DERBY_FLAG=false in setDomainEnv.sh
Method 'getMiddlewareHome' cannot be invoked without
administrator access.
Apply Patch 18559995
41. © OPITZ CONSULTING GmbH 2015 Slide 41What's Stopping You from Upgrading to Oracle SOA Suite 12c?
4.3 Design Time
42. © OPITZ CONSULTING GmbH 2015 Slide 42What's Stopping You from Upgrading to Oracle SOA Suite 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)
43. © OPITZ CONSULTING GmbH 2015 Slide 43What's Stopping You from Upgrading to Oracle SOA Suite 12c?
Design Time | Ant Scripts
oracle.home variable set differently in 12c then in 11g. This caused
problems using AntScripts and MDS
Logged under 21190183
Patches / Workarounds
Fixed in version 12.2.2
44. © OPITZ CONSULTING GmbH 2015 Slide 44What's Stopping You from Upgrading to Oracle SOA Suite 12c?
Design Time | Opening 11g project in JDev 12c
Migration Assistent starts to
migrate the project
45. © OPITZ CONSULTING GmbH 2015 Slide 45What's Stopping You from Upgrading to Oracle SOA Suite 12c?
Design Time | Project Structure
Project folder structure has slightly
changed
*.componentType files have been removed
(content is now part of composite.xml)
46. © OPITZ CONSULTING GmbH 2015 Slide 46What's Stopping You from Upgrading to Oracle SOA Suite 12c?
Design Time | Migrating large Composites
“Composite fails to migrate in JDev 12c with:
java.lang.RuntimeException:
SOA component <process_name> does not have a
<componentType> element.”
Patches / Workarounds
Fixed in version 12.1.3.0.1 (Doc ID 2021736.1)
47. © OPITZ CONSULTING GmbH 2015 Slide 47What's Stopping You from Upgrading to Oracle SOA Suite 12c?
Design Time | Namespaces of Ext. Functions
„The XPath expression failed to execute; the reason was:
javax.xml.transform.TransformerException …
XML-22015: (Error) Function
'http://schemas.oracle.com/xpath/extension:node-set‘ not
found”
Patches / Workarounds
Replace prefix “ora” with “oraxslt”
11g => xmlns:ora=“http://schemas.oracle.com/xpath/extension“
12c => xmlns:oraxslt=“http://www.oracle.com/XSL/Transform/java“
48. © OPITZ CONSULTING GmbH 2015 Slide 48What's Stopping You from Upgrading to Oracle SOA Suite 12c?
Business Activity Monitoring
Has been completely re-implemented in 12c
Consumed a lot of CPU and Memory under 12.1.3.0.1
Patches / Workarounds
Either run BAM on 12.1.3 BP1 with all mandatory patches installed
Mandatory Patches to Install on BAM 12c (Doc ID 1682371.1)
BUT: those mandatory patches are not available for BP2+
Or run BAM on 12.2.1 (recommended)
49. © OPITZ CONSULTING GmbH 2015 Slide 49What's Stopping You from Upgrading to Oracle SOA Suite 12c?
5 Upgrade to 12.2.1
50. © OPITZ CONSULTING GmbH 2015 Slide 50What's Stopping You from Upgrading to Oracle SOA Suite 12c?
Oracle SOA / BPM Suite 12.2.1
The following schemas will be updated
UMS, OPSS, WLS, MDS, ESS, STB, IAU,
IAU_APPEND, IAU_VIEWER, SOAINFRA
Pre-Upgrade Steps
Create a Backup
Install JDK 8
Install Weblogic 12.2.1
Install SOA / OSB / BPM 12.2.1
Purge previous installation
SOAINFRA and IAS_TEMP need a minimum
of 1GB free space
Shutdown all managed server
51. © OPITZ CONSULTING GmbH 2015 Slide 51What's Stopping You from Upgrading to Oracle SOA Suite 12c?
Oracle SOA / BPM Suite 12.2.1
Run Check-Script (AdminServer online)
cd /oracle/products/fmw1221/oracle_common/upgrade/bin ./ua –readiness
Upgrade
Database Schemas
Domain Configuration
Adjust startup scripts
and setDomainEnv.sh
52. © OPITZ CONSULTING GmbH 2015 Slide 52What's Stopping You from Upgrading to Oracle SOA Suite 12c?
Oracle SOA / BPM Suite 12.2.1
53. © OPITZ CONSULTING GmbH 2015 Slide 53What's Stopping You from Upgrading to Oracle SOA Suite 12c?
Conclusion
The collection of challenges shown on the previous slides
summarizes our experience from various upgrade projects (based on 12.1.3)
we found patches / workarounds for each of the issues
most of the things we found are fixed in 12.2.1
Pre-upgrade steps are the key point of success
Documentation about changed config parameters as well as a proper
testing concept are 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
54. © OPITZ CONSULTING GmbH 2015 Slide 54What's Stopping You from Upgrading to Oracle SOA Suite 12c?
Contact
Danilo Schmiedel
Solution Architect
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