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
© NEC Corporation 2014Page 3
From the seafloor to outer space,
NEC is supporting social infrastructure and systems
Introduction of NEC
))))))
))))))
))) )))
)))
)))
Seafloor
Airports
Ports Factories Rail
Roads
Banks
Companies
Broadcasting
towers
Broadcasters
Important
facilities
Hospital
Government
CommunicationsRetail
stores
Energy
Dams/Water
supply
Fire
departments
Distribution
centersPost
offices
Next-generation network technologies
High-performance, high-reliability core IT technologies
Diverse sensor and human interface technologies
© NEC Corporation 2014Page 4
History of NEC and Oracle Partnership
▌ The alliance of NEC and
Oracle is developing
continually during a quarter of
a century
2005 STA ( Strategic Technology Alliance ) started
2006 The alliance center named Grid Center was
established with Oracle Japan.
The first OEM contract in Japan1987
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 Corporation 2014Page 5
Our Activities for NEC’s Solutions for Society
▌NEC have provided advanced solutions and high quality
supports by having alliance projects with Oracle
Support allianceDevelopment
allianceTechnical initiative
Advanced
solutions
High quality
supports
High availability
system
Over 4000
specialists of
Oracle products
Over 5000
customer cases
every year
© NEC Corporation 2014Page 7
Purpose of Our Test
High Availability□ No service down in failure
□ No service stop for
maintenance
NEC’s expectation to new
functions
Easy to Use□ No code change
□ No additional cost
Customer's request to NEC
© NEC Corporation 2014Page 8
…
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
© NEC Corporation 2014Page 10
Test Items
1. Unplanned Outages
2. Planned Outages
3. Measuring Application Continuity Overhead
© NEC Corporation 2014Page 11
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
• Prompt failure detection
• No error and SQL replay
:: FAN
(Fast Application
Notification)
:
measured measured
© NEC Corporation 2014Page 12
Result of Unplanned Outages Test
1
2
WebLogic3,4
Oracle RAC
Application
receives errors.
No error and
SQL replay.
Public network failure1
Interconnect network failure2
Process down3
Process hang-up4
RAC 12c +
Active GridLinkRAC 11gR2 +
Generic Datasource
…can't detect in some situation.
30 sec
1 sec
1 sec
30 sec
1 sec
900sec (timeout)
Case:
© NEC Corporation 2014Page 13
Solution for Process Hang-up Detection
Oracle RAC
Oracle RAC
WebLogic
FAN
EXPRESSCLUSTER
Process hang-up4
No error and
SQL replay.
118 sec
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
© NEC Corporation 2014Page 14
Test Items
1. Unplanned Outages
2. Planned Outages
3. Measuring Application Continuity Overhead
© NEC Corporation 2014Page 15
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
Active
Multi-RAC
(Data Guard)
Node shutdown
Applying Patch Set Update
Configuration change
Hardware maintenance
MaintenanceMaintenance Data
Guard
© NEC Corporation 2014Page 16
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
© NEC Corporation 2014Page 17
Details of Node Shutdown Case
Node#1
WebLogic
Only Node#2 Both Nodes
FANFAN
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
<1sec <1sec
© NEC Corporation 2014Page 18
Details of RAC Shutdown Case
FAN
WebLogic
Stop Service1
FAN
Start
Instance
120 secMaintenance
No need to stop application by Active GridLink and DataGuard
Connection retry by JDBC
(RAC 12.1.0.2 new function)
Primary
Standby Primary
Standby
Swichover
RAC#1
RAC#2
Updated
Maintenance
4 Start
Service
5
2
3
: request and
response
Drain
Session
© NEC Corporation 2014Page 19
1. Unplanned Outages
2. Planned Outages
3. Measuring Application Continuity Overhead
Test Items
© NEC Corporation 2014Page 20
Measuring Application Continuity Overhead
▌We expected that Application Continuity overhead is small.
WebLogicOracle RAC
Application: Medrec
(sample application of WebLogic)
Select and
Update
Compared Test Cases:• Application Continuity ON OFF
Measured items:Response time, Throughput
CPU, Memory, Network I/O, Disk I/O
Client
25 threads
10 min
© NEC Corporation 2014Page 21
Result of Application Continuity Overhead Test
■ AC OFF
■ AC ON
0
5
10
15
20
select & update
Response time (ms)
0.00
0.04
0.08
0.12
AP server CPU DB server CPU
CPU per one transaction(%)
0.00
0.05
0.10
0.15
0.20
0.25
Memory (number of GC)
Memory per one transaction
0
200
400
600
select & update
Throughput (tx/s)
Application continuity overhead is very small.
5% 5%
8%
3%
2%
© NEC Corporation 2014Page 23
Summary of the Test
No service down in failure
No service stop for
maintenance
No code change
No additional cost
High Availability
Easy to Use
NEC EXPRESSCLUSTER is
necessary in some hang-up cases.
2. Planned Outages
1. Unplanned Outages
3. Measuring Application
Continuity Overhead
NEC believes that high availability system
will be easily built by WebLogic 12c and Database 12c.
© NEC Corporation 2014Page 24
Future Plans
▌Making best practice
Detailed test
• Workload characteristics suitable for Application Continuity
• Assessment, Sizing
Actual customer case
▌Test in future
Active GridLink and RAC with clustering of WebLogic
for system availability.