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
Introduction of NEC
Introduction of NEC From the seafloor to outer space, NEC is supporting social infrastructure and systems )))))) )))))) ))) Airports ))) Seafloor Ports Factories Rail Banks Companies Roads Broadcasting towers Broadcasters Important facilities Post offices Hospital Government Distribution centers Dams/Water supply Communications ))) ))) Fire departments Retail stores Energy Next-generation network technologies High-performance, high-reliability core IT technologies Diverse sensor and human interface technologies Page 3
History of NEC and Oracle Partnership The alliance of NEC and Oracle is developing continually during a quarter of a century 2014 Release high-availability platform 2013 The integration solution of Oracle Exadata 2013 Joint testing of Active GridLink and RAC 2012 The reinforcement about integration system management solution. 2006 The alliance center named Grid Center was established with Oracle Japan. 2005 STA ( Strategic Technology Alliance ) started 1997 2000 The cooperation was started for mission critical systems The cooperation was started with BEA 1987 The first OEM contract in Japan Page 4
Our Activities for NEC s Solutions for Society NEC have provided advanced solutions and high quality supports by having alliance projects with Oracle Advanced solutions High availability system High quality supports Over 4000 specialists of Oracle products Over 5000 customer cases every year Technical initiative Development alliance Support alliance Page 5
NEC s WebLogic/RAC Integration Test Yuuki Makita, Senior Software Engineer NEC Corporation
Purpose of Our Test Customer's request to NEC NEC s expectation to new functions High Availability No service down in failure No service stop for maintenance Easy to Use No code change No additional cost Page 7
Test Items and Environment Test items 1. Unplanned Outages 2. Planned Outages Node maintenance RAC maintenance 3. Measuring Application Continuity Overhead Various http workload Application Server Oracle WebLogic Server 12c Active GridLink and Application Continuity Database Servers Data Guard Oracle Database RAC 12c Data Guard 12c Page 8
WebLogic/RAC Integration Test TEST RESULTS
Test Items 1. Unplanned Outages 2. Planned Outages 3. Measuring Application Continuity Overhead Page 10
The Expectation of Unplanned Outages Test Current technology: RAC 11gR2 + Generic Datasource Long wait for Timeout Error returns New technology: RAC 12c + Active GridLink Prompt failure detection No error and SQL replay SQL SQL : : Replay FAN (Fast Application measured measured Notification) : Page 11
Result of Unplanned Outages Test RAC 11gR2 + Generic Datasource Application receives errors. 900sec (timeout) 30 sec 1 sec WebLogic Case: 1 2 3 4 1 Oracle RAC 2 3,4 Public network failure Interconnect network failure Process down Process hang-up RAC 12c + Active GridLink No error and SQL replay. 1 sec 30 sec 1 sec can't detect in some situation. Page 12
Solution for Process Hang-up Detection Application Continuity replays with no error by NEC EXPRESSCLUSTER WebLogic failure RAC server SQL Oracle RAC hang-up EXPRESSCLUSTER Detect hang-up and force OS shutdown Replay FAN available RAC server Detect node down and send FAN Oracle RAC EXPRESSCLUSTER 4 Process hang-up RAC 12c + Active GridLink with EXPRESSCLUSTER No error and SQL replay. 118 sec Page 13
Test Items 1. Unplanned Outages 2. Planned Outages 3. Measuring Application Continuity Overhead Page 14
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. Node shutdown Applying Patch Set Update Configuration change Hardware maintenance RAC shutdown Grid Infrastructure maintenance Storage maintenance Active Maintenance Active Multi-RAC (Data Guard) Maintenance Standby Data Guard Primary Page 15
Results of Planned Outages Test Node shutdown Both case of maintenance are free from application stop and error RAC shutdown RAC sends FAN when service stops. FAN FAN < 1sec 120sec Data Guard Connection retry to upgraded cluster Upgraded Page 16
Details of Node Shutdown Case No need to stop application by Active GridLink Both Nodes <1sec Only Node#2 <1sec Both Nodes WebLogic Node#1 Node#2 FAN 2 Drain Session Maintenance FAN : request and response 1 Stop 3 Stop 4 Restart Service Instance Instance 5 Restart Service Page 17
Details of RAC Shutdown Case No need to stop application by Active GridLink and DataGuard : request and response WebLogic Maintenance Updated FAN Connection retry by JDBC (RAC 12.1.0.2 new function) 120 sec FAN Page 18 RAC#1 RAC#2 Standby Primary 1 2 Drain Session Stop Service 3 Primary Swichover Standby 4 Start 5 Start Instance Service Maintenance
Test Items 1. Unplanned Outages 2. Planned Outages 3. Measuring Application Continuity Overhead Page 19
Measuring Application Continuity Overhead We expected that Application Continuity overhead is small. Client WebLogic Oracle RAC 25 threads 10 min Select and Update Compared Test Cases: Application Continuity ON OFF Measured items: Response time, Throughput CPU, Memory, Network I/O, Disk I/O Application: Medrec (sample application of WebLogic) Page 20
Result of Application Continuity Overhead Test Application continuity overhead is very small. 20 15 10 5 0 Response time (ms) select & update CPU per one transaction(%) 0.12 0.08 0.04 0.00 3% AP server CPU DB server CPU Throughput (tx/s) 5% 5% 8% 600 400 200 0 Memory per one transaction 0.25 0.20 0.15 0.10 0.05 0.00 select & update 2% Memory (number of GC) AC OFF AC ON Page 21
WebLogic/RAC Integration Test SUMMARY
Summary of the Test High Availability 1. Unplanned Outages 2. Planned Outages Easy to Use 3. Measuring Application Continuity Overhead No service down in failure No service stop for maintenance NEC EXPRESSCLUSTER is necessary in some hang-up cases. No code change No additional cost NEC believes that high availability system will be easily built by WebLogic 12c and Database 12c. Page 23
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. Page 24