Se ha denunciado esta presentación.
Utilizamos tu perfil de LinkedIn y tus datos de actividad para personalizar los anuncios y mostrarte publicidad más relevante. Puedes cambiar tus preferencias de publicidad en cualquier momento.

Oracle WebLogic Server 12c: Seamless Oracle Database Integration (with NEC, OpenWorld, 2014)

4.314 visualizaciones

Publicado el

Oracle WebLogic Server is the application server that offers the best integration with Oracle Database, including strong integration with Oracle Database advanced features. This session covers integration in areas such as Oracle Database’s Application Continuity feature and Oracle WebLogic Server’s Active GridLink for RAC feature, which provide mission-critical applications with high availability despite database outages. It reviews test results demonstrating these benefits and discusses how the integration of Oracle WebLogic Server data sources with database-resident connection pooling allows for better sharing and more-efficient use of Oracle Database resources. As always, this presentation and forward-looking statements are protected by the included Safe Harbor slide.

Publicado en: Software

Oracle WebLogic Server 12c: Seamless Oracle Database Integration (with NEC, OpenWorld, 2014)

  1. 1. Oracle WebLogic Server 12c: Seamless Oracle Database Integration Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle WebLogic Product Management NEC Corporation
  2. 2. 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 3
  3. 3. 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 What is coming in WebLogic 12.2.1 Q&A 1 2 3 4 5 6
  4. 4. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Introduction to NEC Yuki Moriyama, Senior Manager NEC Corporation
  5. 5. WebLogic 12c integration to Oracle DB12c features Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted
  6. 6. Oracle WebLogic Server Integration with Oracle Database 12c Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Integration • 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 Application Continuity Database Resident Connection Pool Global Data Services Multitenant Database
  7. 7. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Application Continuity High Availability • 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
  8. 8. WebLogic Integration with Multitenant Database WebLogic Domain PDB1 PDB 2 PDB 3 PDB 4 PDB 5 Container Database Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Scalability and Better Resource Utilization • 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. Data- Source 1 Data- Source 2 Data- Source 3 Data- Source 4 WebLogic Domain Data- Source 5 Data- Source 6 Container Database PDB 6
  9. 9. Database Resident Connection Pooling WebLogic WebLogic WebLogic WebLogic DRCP Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Busy Idle Database 12c Improved DB Resource Utilization • 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
  10. 10. 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 WebLogic WebLogic WebLogic Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | DRCP Pooled Servers Connection Broker Handoff Handoff After Before Handoff Handoff
  11. 11. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Australia Service WebLogic Applications South America WebLogic Applications Australia SA Service Australia Service Global Data Services High Availability of Global Services • Runtime load balancing of Global Services • WebLogic reconnects transparently to the available services providing business continuity. • Failover across the Data Centers
  12. 12. Most Complete DB 12c Support in WebLogic 12.1.2 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.2 WLS 10.3.6/12.1.1 WLS 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 Continuity No No No No Yes (Active GridLink only, no XA) Yes (Active GridLink and Generic, no XA) Multitenant Database Support No Yes No No Yes Yes Multitenant Database w/Dynamic Switching No No No No No Yes (No XA) Database Resident Connection pooling No No No Yes No Yes Global Database Services (GDS) No Yes (Active GridLink) No No Yes (Active GridLink) Yes (Active GridLink)
  13. 13. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Fault Handling Maximum Application Availability 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
  14. 14. Proven since 10g 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 12c: Auto-Configuration + Global Data Services
  15. 15. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Unplanned Down Events
  16. 16. Phases in Application Continuity Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 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 Restricted 17
  17. 17. WebLogic Server Integration to Application Continuity Application WebLogic Server 1. Request 7. Response Generic, Active GridLink Data Source 2. Request Listener Listener ONS ONS RAC Node 1 Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | • 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! Listener ONS RAC Node 2 6. Response Listener ONS RAC Node 3 RAC Cluster RAC Node 1 3. Node 1 Down 4. Init Callback 5. Replay
  18. 18. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Planned Down Events
  19. 19. Transparent Planned Outages with Active GridLink • When WLS receives FAN events indicating Planned Down it will – Redirect new work to other RAC instances Drain Work Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | – 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 RAC DB Instance1 20 Get connection Application Instance2 Instance3 WebLogic Server Instance Down Get new connection
  20. 20. Transparent Planned Outages Across Data Centers WebLogic Server Webogic Domain Active GridLink SCAN Transaction JMSD aSttaore Data Application Data Transaction JMS StoDraet aData Application Data •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. RAC Node 1 RAC Node 2 RAC Node 3 RAC Node 1 RAC Node 2 RAC Node 3 DataGuard RAC Cluster RAC Cluster Primary Secondary Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – internal only, Restricted | 21
  21. 21. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | NEC’s WebLogic/RAC Integration Test Yuuki Makita, Senior Software Engineer NEC Corporation
  22. 22. Purpose of Our Test High Availability Page 23 © NEC Corporation 2014  NEC’s expectation to new functions □ No service down in failure □ No service stop for maintenance Easy to Use □ No code change □ No additional cost  Customer's request to NEC
  23. 23. Page 24 © NEC Corporation 2014 … Active GridLink Application Continuity Oracle WebLogic Server 12c Test items 1. Unplanned Outages 2. Planned Outages  Node maintenance  RAC maintenance 3.Measuring Application Continuity Overhead Various http workload and Data Guard Oracle Database RAC 12c Data Guard 12c Test Items and Environment Application Server Database Servers
  24. 24. WebLogic/RAC Integration Test TEST RESULTS
  25. 25. Test Items 1. Unplanned Outages 2. Planned Outages 3. Measuring Application Continuity Overhead Page 26 © NEC Corporation 2014
  26. 26. The Expectation of Unplanned Outages Test Page 27 © NEC Corporation 2014 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
  27. 27. Result of Unplanned Outages Test 900sec (timeout) Page 28 © NEC Corporation 2014 1 Oracle RAC 2 WebLogic 3,4 Application receives errors. No error and SQL replay. 1 Public network failure 2 Interconnect network failure 3 Process down 4 Process hang-up RAC 12c + Active GridLink RAC 11gR2 + Generic Datasource 1 sec 30 sec 1 sec …can't detect in some situation. 30 sec 1 sec Case:
  28. 28. Solution for Process Hang-up Detection Application Continuity replays with no error failure RAC server SQL Page 29 © NEC Corporation 2014 by NEC EXPRESSCLUSTER Oracle RAC Oracle RAC WebLogic FAN hang-up EXPRESSCLUSTER 4 Process hang-up No error and SQL replay. 118 sec EXPRESSCLUSTER Replay Detect hang-up and force OS shutdown Detect node down and send FAN available RAC server RAC 12c + Active GridLink with EXPRESSCLUSTER
  29. 29. Test Items 1. Unplanned Outages 2. Planned Outages 3. Measuring Application Continuity Overhead Page 30 © NEC Corporation 2014
  30. 30. 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. Page 31 © NEC Corporation 2014  RAC shutdown  Grid Infrastructure maintenance  Storage maintenance Standby Primary Active Active Multi-RAC (Data Guard)  Node shutdown  Applying Patch Set Update  Configuration change  Hardware maintenance Maintenance Maintenance Data Guard
  31. 31. Results of Planned Outages Test Both case of maintenance are free from application stop and error RAC sends FAN when service stops. Page 32 © NEC Corporation 2014 FAN < 1sec 120sec Connection retry to upgraded cluster FAN Data Guard Upgraded  Node shutdown  RAC shutdown
  32. 32. Details of Node Shutdown Case No need to stop application by Active GridLink Both Nodes WebLogic Node#1 <1sec <1sec 2 : request and 4 response Page 33 © NEC Corporation 2014 Only Node#2 Both Nodes FAN FAN Node#2 1 Stop Stop Service 3 Restart Instance Instance Maintenance Restart Service 5 Drain Session
  33. 33. Details of RAC Shutdown Case No need to stop application by Active GridLink and DataGuard Standby Primary Page 34 © NEC Corporation 2014 FAN WebLogic Stop Service 1 FAN 4 Start Start Instance 120 sec Maintenance Connection retry by JDBC (RAC 12.1.0.2 new function) Primary Swichover Standby RAC#1 RAC#2 Updated Maintenance Service 5 2 3 : request and response Drain Session
  34. 34. Test Items 1. Unplanned Outages 2. Planned Outages 3. Measuring Application Continuity Overhead Page 35 © NEC Corporation 2014
  35. 35. Measuring Application Continuity Overhead ▌We expected that Application Continuity overhead is small. Client 25 threads 10 min Page 36 © NEC Corporation 2014 WebLogic Oracle RAC Select and Update Application: Medrec (sample application of WebLogic) Compared Test Cases: • Application Continuity ON OFF Measured items: Response time, Throughput CPU, Memory, Network I/O, Disk I/O
  36. 36. Result of Application Continuity Overhead Test Application continuity overhead is very small. Response time (ms) 20 15 10 5 5% 5% CPU per one transaction(%) 0.12 0.08 0.04 Page 37 © NEC Corporation 2014 ■ AC OFF ■ AC ON 0 select & update 0.00 AP server CPU DB server CPU Throughput (tx/s) 600 400 200 Memory per one transaction 0.25 0.20 0.15 0.10 0.05 0.00 Memory (number of GC) 0 select & update 8% 3% 2%
  37. 37. WebLogic/RAC Integration Test SUMMARY
  38. 38. Summary of the Test 1.Unplanned Outages Page 39 © NEC Corporation 2014  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 3. Measuring Application Continuity Overhead NEC believes that high availability system will be easily built by WebLogic 12c and Database 12c.
  39. 39. 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 40 © NEC Corporation 2014
  40. 40. What is coming in WebLogic 12.2.1 Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted
  41. 41. WebLogic 12cR2 (12.2.1) – CY2015  FMW 12c Platform  WLS Multitenancy ONS thread and socket optimizations  Exalogic, HA and MAA  XATransaction without Tlog feature with multiple participant TMs  JDK 8 2009-2010 2011 2012 2013 2014 2015 Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | WebLogic Server Roadmap Oracle Confidential – Internal/Restricted/Highly Restricted 44 WebLogic 11gR1 (10.3.1-6)  Oracle FMW 11g & Apps  Manageability, Active GridLink, Messaging, Coherence, OVAB  Engineered Systems, Cloud  JDK 6 and JDK 7 (WLS 10.3.6) WebLogic 12c (12.1.2)  FMW 12c Infrastructure  Mission Critical Cloud Platform  Native Cloud Management  Modern Development Platform  JDK 7 WebLogic 12c (12.1.1)  Java EE 6  Developer Productivity, Oracle Traffic Director, Disaster Recovery  JDK 6 and JDK 7 WebLogic 12c (12.1.3) – June 2014  FMW 12c Infra, SOA, BPM, ODI  XATransaction without Tlog feature with one participant TM  Mission Critical Cloud Platform  Native Cloud Management  JDK 7 (post-GA JDK 8)
  42. 42. WebLogic Server 12.2.1 Multitenancy Concepts • Introduce domain partition into WebLogic domains • Apps and resources deployed for each partition (tenant) • No application changes required • Appropriate levels of end to end partition isolation: • WebLogic infrastructure is shared among partitions Virtual Host Web Tier Partition 1 Partition 2 App App JMS Datasource Managed Server/Cluster PDB1 PDB2 Container Database JNDI Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Virtual Host App App JMS Datasource JNDI
  43. 43. WebLogic 12.2.1 – JTA and Database Integration Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | • JTA and High Availability – Support “XATransactions without TLOG” option for multi-TM participants – Expand support for DR configurations • Density for GridLink deployments – ONS is reducing the number of sockets and threads needed to manage FAN events. • Application Continuity – Optimize connection harvesting on down events Determiner RM 1 RM 2 TLog WLS Server Coordinator (TM) No Transaction entry WLS Server SubCoordinator (TM)
  44. 44. WebLogic 12.2.1 MAA - Active-Active Use Case Site 1 Site 2 WebLogic Domain WLS Cluster 1 WLS Cluster 2 MS1 MS2 MS3 Active GridLink and SCAN Transaction Data JMS Store Data Application Data Transaction Data JMS Store Data Application Data Session Replication Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – internal only, Restricted | 47 LLB/OTD WebLogic Domain WLS Cluster 1 WLS Cluster 2 MS1 MS2 MS3 MS1 MS2 MS3 WLS Admin Coherence C C C File Store (Site Local Binaries, Config Data) OHS Web Tier Management Console Global Load Balancer LLB/OTD MS1 MS2 MS3 WLS Admin Coherence C C C File Store (Site Local Binaries, Config Data) OHS Web Tier File Replication Technology RAC Node 1 RAC Node 2 RAC Node 3 RAC Node 1 RAC Node 2 RAC Node 3 Golden Gate or DataGuard RAC Cluster RAC Cluster
  45. 45. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Confidential – Internal/Restricted/Highly Restricted 48

×