Copyright 2014 Oracle and/or its affiliates. All rights
reserved. | 2 Oracle WebLogic Server 12c: Seamless Oracle Database
Integration Yuki Moriyama - Senior Manager, NEC Corporation Monica
Riccelli - Oracle WebLogic Product Management Yuuki Makita - Senior
Software Engineer, NEC Corporation
Slide 3
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 Oracles products remains at the sole
discretion of Oracle. Oracle Confidential
Internal/Restricted/Highly Restricted3
Slide 4
Copyright 2014 Oracle and/or its affiliates. All rights
reserved. | Program Agenda Introduction WebLogic 12c integration to
DB12c features Planned and Unplanned outages WLS and AC NEC tests
and results NEC Japan What is coming in WebLogic 12.2.1 Q&A 1 2
3 4 5 6
Slide 5
Copyright 2014 Oracle and/or its affiliates. All rights
reserved. | Introduction of NEC
Slide 6
NEC Corporation 2014 Page 6 Introduction of NEC Japan based
Information technology and Network company Established: 1899
Employee: 24,237 Employee including Consolidated
Subsidiaries:100,914 Capital: 397.2 billion Consolidated Net Sales:
3,043.1 billion * As of Mar. 31, 2014
Slide 7
NEC Corporation 2014 Page 7 From the seafloor to outer space,
NEC is providing solutions for society NEC focus on solutions for
society Seafloor Airports Ports Factories Rail Roads Banks
Companies Broadcasting towers Broadcasters Important facilities
Hospital Government Communications Retail stores Energy Dams/Water
supply Fire departments Distribution centers Post offices
Next-generation network technologies High-performance,
high-reliability core IT technologies Diverse sensor and human
interface technologies
Slide 8
NEC Corporation 2014 Page 8 Oracle and NEC Partnership 2005 STA
( Strategic Technology Alliance ) started 2006 The alliance center
named Grid Center was established with Oracle Japan. The first OEM
contract in Japan 1987 2000 The cooperation was started for mission
critical systems 2012 The reinforcement about integration system
management solution. The cooperation was started with BEA 1997 2013
The integration solution of Oracle Exadata 2014 Release
high-availability platform 2013 Joint testing of Active GridLink
and RAC NEC won Global Excellence Awards for the two consecutive
years Specialized Partner of the Year Global Database &
Middleware Partner of the Year (2012-2013)
Slide 9
NEC Corporation 2014 Page 9 Cloud & Big Data system NEC
Activities with Oracle Support alliance Development alliance
Development alliance Technical initiative Advanced solutions High
quality support High availability system Over 4000 specialists of
Oracle products Over 5000 customer cases every year NEC solution
for society demo at Moscone South Booth #1121
Slide 10
NEC Corporation 2014 Page 10 NEC solution for society demo at
Moscone South Page 10 NEC NEC Booth #1121
Slide 11
Copyright 2014 Oracle and/or its affiliates. All rights
reserved. | WebLogic 12c integration to Oracle DB12c features
Oracle Confidential Internal/Restricted/Highly Restricted
Slide 12
Copyright 2014 Oracle and/or its affiliates. All rights
reserved. | High Availability with Application Continuity
Scalability with Mutitenancy at the Database Tier Scalability with
Database Resident Connection Pooling HA and DR with Global Data
Services Integration Oracle WebLogic Server Integration with Oracle
Database 12c Application Continuity Database Resident Connection
Pool Global Data Services Multitenant Database
Slide 13
Copyright 2014 Oracle and/or its affiliates. All rights
reserved. | Replays WebLogic Application work on recoverable errors
Masks many hardware, software, network, storage errors and outages
Oracle RAC, RAC One, & Active Data Guard Improves end-user
experience High Availability Application Continuity
Slide 14
Copyright 2014 Oracle and/or its affiliates. All rights
reserved. | PDB1 PDB 2PDB 3 PDB 4PDB 5 Container Database
Consolidate all Databases into one container Database. Pluggable
databases appear as regular databases to WebLogic Database Data
isolation Better use of resources at the database tier. Scalability
and Better Resource Utilization WebLogic Integration with
Multitenant Database Data- Source 1 WebLogic Domain Data- Source 2
Data- Source 3 Data- Source 4 WebLogic Domain Data- Source 5 Data-
Source 6 Container Database PDB 6
Slide 15
Copyright 2014 Oracle and/or its affiliates. All rights
reserved. | DRCPDRCP WebLogicWebLogic Busy Idle Database 12c
WebLogicWebLogic WebLogicWebLogic WebLogicWebLogic Better sharing
and more efficient use of Database resources DRCP pools Database
Sessions/Connections Added WebLogic deployments use the same number
of Database Sessions/Connections Improved DB Resource Utilization
Database Resident Connection Pooling
Slide 16
Copyright 2014 Oracle and/or its affiliates. All rights
reserved. | Database Resident Connection Pooling DRCP pools
database server processes and sessions The Connection Broker
chooses the connection and hands it off to WLS. When the pooled
servers are in use, they are equivalent to dedicated sessions.
Releasing resources leaves the server processes intact, but no
longer associated with a connection WebLogic DRCP Pooled Servers
Connection Broker Handoff After Handoff Before Handoff
Slide 17
Copyright 2014 Oracle and/or its affiliates. All rights
reserved. | Australia Service WebLogic Applications South America
WebLogic Applications Australia SA Service Australia Service
Runtime load balancing of Global Services WebLogic reconnects
transparently to the available services providing business
continuity. Failover across the Data Centers Global Data Services
High Availability of Global Services
Slide 18
Copyright 2014 Oracle and/or its affiliates. All rights
reserved. | Feature WLS 10.3.6/12.1.1/12.1.2 WLS 10.3.6/12.1. 1 WLS
12.1.2WLS 10.3.6/12.1.1WLS 12.1.2 11g drivers 11gR2 DB 11g drivers
12c DB 12c drivers 11gR2 DB 12c drivers 11gR2 DB 12c drivers 12c DB
12c drivers 12c DB Application ContinuityNo Yes (Active GridLink
only, no XA) Yes (Active GridLink and Generic, no XA) Multitenant
Database SupportNoYesNo Yes Multitenant Database w/Dynamic
Switching No Yes (No XA) Database Resident Connection poolingNo
YesNoYes Global Database Services (GDS)No Yes (Active GridLink) No
Yes (Active GridLink) Most Complete DB 12c Support in WebLogic
12.1.2
Slide 19
Copyright 2014 Oracle and/or its affiliates. All rights
reserved. | Fault Handling At database outages 5 problems confront
users and applications 1.Fault detection 2.Recovery within response
time targets 3.Error Handling 4.Outcome of in-flight work
5.Continuation of in-flight work Maximum Application
Availability
Slide 20
Copyright 2014 Oracle and/or its affiliates. All rights
reserved. | Fast Application Notification Down received in low ms
to invoke failover Planned Down drains sessions for planned
maintenance with no user interruption whatsoever Up Re-allocates
sessions when services resume Load % - Advice to balance sessions
for RAC locally and GDS globally Affinity - Advice when to keep
conversation locality Proven since 10g 12c: Auto-Configuration +
Global Data Services
Slide 21
Copyright 2014 Oracle and/or its affiliates. All rights
reserved. | Unplanned Down Events
Slide 22
Copyright 2014 Oracle and/or its affiliates. All rights
reserved. | Phases in Application Continuity 1 Runtime Operation
Demarcates database requests Tracks database operations and results
Decides if an operation can or can not be replayed 2 Reconnect
Checks request has replay enabled (and not disabled by operations)
Reserves a new session 3 Replay Replays tracked operations
Continues replay, if user visible results match, based on
validations Continues request Oracle Confidential
Internal/Restricted/Highly Restricted22
Slide 23
Copyright 2014 Oracle and/or its affiliates. All rights
reserved. | WebLogic Server Integration to Application Continuity
WebLogic DataSource marks request boundaries Database calls are
remembered through commit On failure, the invalid DB session is
replaced If it is safe and same results are returned to the
application, operations are replayed Transparent to application!
RAC Node 2 Listener Listener ONSONS RAC Node 3 Listener Listener
ONSONS RAC Cluster Generic, Active GridLink Data Source WebLogic
Server Application RAC Node 1 Listener Listener ONSONS 1. Request
2. Request RAC Node 1 Listener Listener ONSONS 3. Node 1 Down RAC
Node 1 Listener Listener ONSONS 4. Init Callback 5. Replay 6.
Response 7. Response
Slide 24
Copyright 2014 Oracle and/or its affiliates. All rights
reserved. | Planned Down Events
Slide 25
Copyright 2014 Oracle and/or its affiliates. All rights
reserved. | Transparent Planned Outages with Active GridLink When
WLS receives FAN events indicating Planned Down it will Redirect
new work to other RAC instances Clean all idle connections in the
pool Connections borrowed by applications are marked for cleanup
Wait for work to complete ( drain work) After work is complete
clean up connections 25 Get connection Application Instance2
Instance2 RAC DB Instance1 Instance1 Instance3 Instance3 WebLogic
Server Instance Down Get new connection Drain Work
Slide 26
Copyright 2014 Oracle and/or its affiliates. All rights
reserved. | Oracle Confidential internal only, Restricted | 26
Transparent Planned Outages Across Data Centers WebLogic Server
Webogic Domain Active GridLink RAC Node 1RAC Node 2RAC Node 3 RAC
Node 1 RAC Node 2 RAC Node 3 Transaction Data JMS Store Data
Application Data Transaction Data JMS Store Data Application Data
DataGuard SCAN RAC Cluster Do a graceful shutdown of the entire RAC
cluster. A FAN event is sent to Active GridLink. Active GridLink
will allow work to drain. With no configuration changes required to
WLS and no interruption to applications failover to secondary DB.
Upgrade primary DB In the same fashion failback.
PrimarySecondary
Slide 27
Copyright 2014 Oracle and/or its affiliates. All rights
reserved. | NECs WebLogic/RAC Integration Test Yuuki Makita, Senior
Software Engineer NEC Corporation
Slide 28
NEC Corporation 2014 Page 28 Purpose of Our Test High
Availability No service down in failure No service stop for
maintenance No service down in failure No service stop for
maintenance NECs expectation to new functions Easy to Use No code
change No additional cost No code change No additional cost
Customer's request to NEC
Slide 29
NEC Corporation 2014 Page 29 Oracle WebLogic Server 12c Test
items 1.Unplanned Outages 2.Planned Outages Node maintenance RAC
maintenance 3.Measuring Application Continuity Overhead Various
http workload Oracle Database RAC 12c Data Guard 12c Active
GridLink and Application Continuity Data Guard Test Items and
Environment Application Server Database Servers
Slide 30
TEST RESULTS WebLogic/RAC Integration Test
Slide 31
NEC Corporation 2014 Page 31 Test Items 1.Unplanned Outages
2.Planned Outages 3.Measuring Application Continuity Overhead
Slide 32
NEC Corporation 2014 Page 32 The Expectation of Unplanned
Outages Test New technology: RAC 12c + Active GridLink Current
technology: RAC 11gR2 + Generic Datasource SQL Replay SQL Long wait
for Timeout Error returns Long wait for Timeout Error returns
Prompt failure detection No error and SQL replay Prompt failure
detection No error and SQL replay :::: FAN (Fast Application
Notification) : measured
Slide 33
NEC Corporation 2014 Page 33 Result of Unplanned Outages Test 1
2 WebLogic 3,4 Oracle RAC Application receives errors. No error and
SQL replay. Public network failure 1 Interconnect network failure 2
Process down 3 Process hang-up 4 RAC 12c + Active GridLink RAC
11gR2 + Generic Datasource can't detect in some situation. 30 sec 1
sec 30 sec 1 sec 900sec (timeout) Case:
Slide 34
NEC Corporation 2014 Page 34 Solution for Process Hang-up
Detection Oracle RAC WebLogic FAN EXPRESSCLUSTER Process hang-up 4
No error and SQL replay. 118 sec EXPRESSCLUSTER Application
Continuity replays with no error by NEC EXPRESSCLUSTER Application
Continuity replays with no error by NEC EXPRESSCLUSTER Replay SQL
Detect hang-up and force OS shutdown Detect node down and send FAN
hang-up failure RAC server available RAC server RAC 12c + Active
GridLink with EXPRESSCLUSTER
Slide 35
NEC Corporation 2014 Page 35 Test Items 1.Unplanned Outages
2.Planned Outages 3.Measuring Application Continuity Overhead
Slide 36
NEC Corporation 2014 Page 36 The Expectation of Planned Outages
Test Following two type of maintenance are tested. We expect both
case of maintenance are free from application stop and error. RAC
shutdown Grid Infrastructure maintenance Storage maintenance
Primary Standby Active Multi-RAC (Data Guard) Node shutdown
Applying Patch Set Update Configuration change Hardware maintenance
Maintenance Data Guard
Slide 37
NEC Corporation 2014 Page 37 Results of Planned Outages Test
Both case of maintenance are free from application stop and error
120sec < 1sec FAN Connection retry to upgraded cluster FAN RAC
sends FAN when service stops. Data Guard Upgraded Node shutdown RAC
shutdown
Slide 38
NEC Corporation 2014 Page 38 Details of Node Shutdown Case
Node#1 WebLogic Only Node#2Both Nodes FAN Node#2 Both Nodes Stop
Service 1 Stop Instance 3 Restart Instance 4 : request and response
No need to stop application by Active GridLink Maintenance Restart
Service 5 Drain Session 2