Weblogic 12c: Mastering The Cloud Foundation Patrick Dewael & Kristof Satory
Join the buzz: Wifi pass: BANQ Twitter #oracleopenxperience @oopenxperience 2
The Cloud: a new era of utility computing All types of computing are available as a service via global network Applications: Business Applications Software as a Service (SaaS) Platform: Databases and Middleware as a Service (PaaS) Infrastructure: VM, OS, Servers and Storage as a Service (IaaS) 3
Oracle Fusion Middleware portfolio Bringing Oracle Fusion Middleware as a Service to the Cloud Social Mobile Web Business Process Management Service Integration User Engagement Content Management Identity Management & Security Business Intelligence Data Integration Complete Open Integrated Best in Class Development Tools Cloud Application Foundation Enterprise Management 4
Oracle Cloud Application Foundation What is needed for such a middleware PaaS service? What is the minimal set of components needed to host SAAS-oriented applications effectively? a lightweight and standards-based Java server a Java framework, specifically designed for building cloud applications an in-memory data grid for caching and clustering elasticity to adjust to workload variations integrated traffic management to route traffic throughout this elastic infrastructure virtualization for optimal use of server resources simple provisioning typically via self-service interfaces 5
Oracle Cloud Application Foundation Foundation for Oracle Fusion Middleware in the Cloud Social Mobile Web Business Process Management Service Integration User Engagement Content Management Identity Management & Security Business Intelligence Data Integration Complete Oracle Public Cloud Open Traffic Director/Web Tier WebLogic Integrated Coherence Server Best Virtual Assembly in Class Builder Cloud Application Foundation Tuxedo Development Tools Cloud Application Foundation Enterprise Management Exalogic Elastic Cloud 6
Oracle WebLogic Server 12c Key New Capabilities Java EE 6 and Developer Productivity in the Cloud Simplified Cloud Management with Enterprise Manager 12c Integrated traffic management Enhanced High Availability and Disaster Recovery Simplified Deployment and Mgmt with Virtualization Seamless Upgrade 7
WebLogic Server 12c New Features Java EE 6 JSP 2.1, JSF 2.0 EJB 3.1, JPA 2.0 Database GridLink Session Affinity Enterprise Scale Database Transaction Logs Cloud Optimized WebLogic Virtual Appliances Coherence Exalogic Exabus WebLogic Elastic Message Overflow Coherence Elastic Data Exalogic HTTP, JMS and GridLink Transaction Database Store Context and Affinity Performance Dependency Injection Enterprise Manager 12c GridLink Fast Restful Web Services Connection Failover Cloud Management Developer Over 200 New Features Performance Diagnostics Advisor JDeveloper Incident and Problem Web Service SPECjEnterprise World Management Performance Eclipse Records EjOPS Overall, EjOPS/Core, Patch Automation TopLink Multi-Tenancy NetBeans EjOPS/Processor Distributed Caching Security Updates Maven Traffic Management New Certification Coherence Validation Java SE Software Load Balancer Transactions New SPNEGO Update Java SE 6 Coherence Rest Traffic Shaping New RSA Update Java SE 7 Coherence Query SSL Termination New JSSE Support Explain Plan 8
Oracle WebLogic Server 12c Key New Capabilities Java EE 6 and Developer Productivity in the Cloud Simplified Cloud Management with Enterprise Manager 12c Integrated traffic management Enhanced High Availability and Disaster Recovery Simplified Deployment and Mgmt with Virtualization Seamless Upgrade 9
Java EE 6 Overview l l l New features l Web Profile - JSR-316 with enhanced Servlet 3.0, JSP 2.2, JSF 2.0,... l REST JAX-RS 1.1 l managed beans - managed beans 1.0 l standard dependency injection DI 1.0 and CDI 1.0 l bean validation bean validation 1.0 Enhanced APIs l EJB 3.1, JPA 2.0, JAX-WS 2.2, Usable as is l The end of the 100's MB.war 10
Java EE 6 & Developer Productivity Java Classes* 25% Lines of Code* 50% Lines of XML* 80% Less Less Less Certified Java EE 6 and SE 7 makes development faster Fewer Java Classes, Less Code, Less XML configuration simpler packaging and extensibility Combined with modern programming techniques Dependency Injection, Annotations, POJO, REST Using popular industry tool chains Maven, Hudson, Eclipse, JDeveloper, NetBeans 11
Oracle WebLogic Server 12c Key New Capabilities Java EE 6 and Developer Productivity in the Cloud Simplified Cloud Management with Enterprise Manager 12c Integrated traffic management Enhanced High Availability and Disaster Recovery Simplified Deployment and Mgmt with Virtualization Seamless Upgrade 12
Enterprise Manager 12c for Cloud foundation Weblogic Server Management Pack Enterprise Edition Weblogic/Coherence JVM Diagnostics Monitoring Across Weblogic/Coherence SLAs for Composite Java Applications Weblogic/Coherence Configuration Management Provisioning Weblogic/Coherence Diagnostics Images to MOS 13
Oracle WebLogic Server 12c Key New Capabilities Java EE 6 and Developer Productivity in the Cloud Simplified Cloud Management with Enterprise Manager 12c Integrated traffic management Enhanced High Availability and Disaster Recovery Simplified Deployment and Mgmt with Virtualization Seamless Upgrade 14
Integrated traffic management Integrated with Oracle Traffic Director Routing, Load Balancing, Traffic Shaping Fast, highly-configurable request routing and caching SSL Crypto acceleration using Intel Advanced Encryption Set Up to 3.5x more throughput and 28% lower CPU than Apache Traffic Director Native AES for SSL WebLogic Server 12c Traffic Director Native AES for SSL High Performance Backplane WebLogic Server 12c 15
Oracle Traffic Director - Highlights Multi-core scaling (0.5m+ simultaneous connections per processor) Reverse-proxy routing/load-balancing Request rate limiting/throttling In-memory HTTP 1.1 caching Built-in cluster management VRRP HA Failover Groups OAM SSO Integration Infiniband/SDP support Hardware-assisted crypto/compression OVM/OVAB support Integrated with Weblogic 16
Oracle WebLogic Server 12c Key New Capabilities Java EE 6 and Developer Productivity in the Cloud Simplified Cloud Management with Enterprise Manager 12c Integrated traffic management Enhanced High Availability and Disaster Recovery Simplified Deployment and Mgmt with Virtualization Seamless Upgrade 17
WebLogic High Availability Application Upgrades Hot redeployment Side By Side Deployment PLANNED DOWNTIME Configuration Changes Server Upgrades Operations & Solutions Dynamic changes Rolling cluster upgrade 18
WebLogic High Availability Data Failure Human Error WLS with Oracle RAC Site Disaster Software Failure WAN Clusters for Disaster Recovery UNPLANNED DOWNTIME Failures & Solutions Clusters Service Migration Hardware Failure Clusters Server & Service Migration Clusterware integration 19
WebLogic Typical High Availability Topology Desktop X Apache Node Mgr WLS Cluster Node Mgr X Administration Server Oracle DB Internet FW-1 LB-1 Server or OHS Apache Server or OHS DMZ Node Mgr X WLS Cluster FW-2 Intranet Node Mgr WLS Cluster X Oracle DB 20
HA with Web Tier Load Balancing Surviving a Failed HTTP Server Load balancing Round robin Supported Web servers IIS, SunOne, Apache Multi-machine cluster aware Uses HTTP piggy backing Failure aware Failed WLSs removed from cluster Restarted WLSs added to cluster Routing Static routing Lightweight solution HTTPClusterServlet hosted on a WebLogic instance WLS1 HTTP Server Apache Server mod_wl JVM JVM WebLogic Cluster Node Manager WebLogic Server WLSn 21
HA with WebLogic State Replication Surviving a Failed WebLogic Server Domain State MAN State WAN State Replication Replication Replication LB Domain Cluster Managed Server 1 State 1 Managed Server 2 State 2 Global LB Local LB Local LB Cluster 1 State 1 State 2 Cluster 2 State 3 State 4 Global LB Local LB Local LB Cluster 1 State 1 State 2 Cluster 2 State 3 State 4 In Memory or Database Backed In Memory Database Backed Asynch Asynch or Synch 22
HA with WebLogic Clustered JNDI Surviving a Failed WebLogic Server Clusterable objects include EJB, JDBC, JMS, Custom Objects Each server creates and maintains a local copy of cluster wide JNDI tree Managed WLS A Object X A C Managed WLS B Object X A C IP Unicast Managed WLS D Object X A C Managed WLS C Object X A C 23
HA with WebLogic GridLink for RAC Surviving a Failed Oracle RAC Node Oracle WebLogic Server DS1 Pool for RAC Node 1 DS2 Pool for RAC Node 2 DS3 Pool for RAC Node 3 Multi Data Source Thin JDBC Oracle RAC Server RAC 1 RAC 2 RAC 3 RAC Instance RAC Node Failure Causes Multi Data or the ExaLogic GridLink to Load Balance to surviving Pools Oracle WebLogic Server X DS1 Pool for RAC Node 1 DS2 Pool for RAC Node 2 DS3 Pool for WebLogic RAC Node 3 Multi Data Source Thin JDBC Oracle RAC Server X RAC 1 RAC 2 RAC 3 RAC Instance 24
WebLogic Integration with Oracle RAC Up to 3X Better Performance with Active Gridlink Integrated WebLogic and Database RAC clusters Dynamic load balancing of requests to RAC nodes RAC node transaction affinity for data locality Continuous connection availability regardless of RAC changes WebLogic GridLink WebLogic GridLink WebLogic GridLink WebLogic GridLink WebLogic GridLink WebLogic GridLink XA 80% 20% RAC Node Load Aware Connection Requests RAC Node Affinity For Transactions Continuous Connections Regardless of RAC Changes 25
HA with Whole Server Migration Application and Resource Recovery with Continuous Capacity Automatic migration of failed servers within a cluster Effectively a server restart and recovery on another machine WebLogic Cluster Administration Server Machine 1 Managed WLS 22 Resources 2 2 Machine 2 Detect Failure Migrate Server Managed WLS 3 Resources 3 (Cluster Master) Machine 3 Managed WLS 2 Resources Spare 2 Capacity Domain Database or Consensus Leasing Storage Area Network 26
HA with Service Migration Resource Recovery with Fast Recovery HA for singleton services: JMS-related services (e.g.jms server, SAF, etc), JTA Tx recovery service and custom singleton services Restart and recover services on another running server in cluster Administration Server Machine 1 Managed WLS 22 Resources Resources 2 2 Machine 2 WebLogic Cluster Detect Managed WLS 3 Managed WLS 4 Failure Resources 3 Resources 4 Migrate Resources 2 (Cluster Master) Service Machine 3 Domain Database or Consensus Leasing Storage Area Network 27
HA with Side by Side Deployment Zero Application Downtime Newer version of application deployed sideby-side with older version in same JVM Clients already connected continued to be served by older version New clients connect to newer version Test versions before opening up to users Rollback to previous versions Automatic retirement graceful or timeout Existing External Client Connections Application Version One Managed WebLogic Server Single Java VM Internal Client Connections New External Client Connections When Activated Application Version Two Test First in Administrative Mode 28
HA with Rolling Upgrade Zero Server Infrastructure Downtime Upgrade a running cluster with a patch, maintenance pack or minor release without shutting down the entire cluster During the rolling upgrade of a cluster, each server in the cluster is individually upgraded and restarted while the other servers in the cluster continue to host your application You can also roll back the patch, maintenance pack, or minor release in a similar fashion Node 1 Node Mgr Managed Server App 1 Maint Pack x.y Node 3 Node Mgr Managed Server App 1 Maint Pack x.y IP Unicast Node 3 Node Mgr Managed Server App 1 Maint Pack x.y Node 4 Node Mgr Managed Server App 1 Maint Pack x.y 29
Backup and Recovery Certified Solution Based on Disk Replication Simple solution based on file system copy for middle-tier components Use RMAN for Oracle Database Support for online backups Can integrate with existing Backup/Recovery tools Can be scheduled through Enterprise Manager or cron jobs LDAP, Policy, Credential Data Fusion Middleware WebLogic Middle Tiers Application Data Application Data Oracle Binaries Exploded Archives Metadata External Files Backup Storage 30
Disaster Recovery Architectures Web Tier Active Site Web Server Web Server Global Load Balancer Web Server Standby Site Web Server Web Tier Middle Tier Binaries Configuration Non-critical files replicated separately File Replication from critical Technology data. Binaries Configuration Middle Tier Data Tier Transaction Logs JMS Messages Application Data No need to struggle to synchronize file and data replication Critical Datagard data stored, managed, GoldenGate and replicated together Transaction Logs JMS Messages Application Data Data Tier 31
Application Server Scale Out Issues Scaling cached data Difficult to scale clustered cached data reliably Consistency, expiry, location Scaling state State is heavy and expensive Difficult to manage state independent of application server Scaling database transactions Difficult to buffer database from spiky application layers yet maintain transactional integrity Managed Server1 WebLogic Domain Node Manager WebLogic Cluster Cached Data??? Shared State??? Transactions??? Database Managed Server2 32
Weblogic and Coherence*Web Standard Weblogic Server HTTP session replication Optimized HTTP session replication option with Weblogic 33
Standard Two-Tier Weblogic Cluster Typical Two-tier WebLogic HA Cluster Architecture Web Tier Servlet engines handle HTTP requests Sessions are replicated between Servlet engines according to defined replication groups Servlets use replica-aware stubs to look up EJBs in the Object Tier Primary/Replica pair are distributed according to defined replication groups and order of precedence rules Object Tier Object Tier provides EJB container services, JCA adapters, JDBC, LDAP or other connectivity HTTP/JSP Sessions WebLogic Server EJB JDBC WebLogic Server 34
Example of Standard Cluster Topology HTTP/JSP Sessions WebLogic Server HTTP/JSP Sessions WebLogic Server EJB JDBC WebLogic Server RDBMS HTTP/JSP Sessions WebLogic Server EJB JDBC WebLogic Server HTTP/JSP Sessions WebLogic Server Web Tier Object Tier 35
Optimized Web Tier Dedicated session grid & session-less traffic processors Engine Tier Engine Tier is stateless Optimized for request processing Engine Tier nodes may be added/removed with no impact on ongoing sessions Session Tier Stand-alone (POJO) Coherence nodes Zero code change for applications that use standard WebLogic session replication or a plug-in solution from another vendor Sessions are shared between all Web-tier instances, even different applications Low memory/cpu overhead, fast startup Easily handles large sessions (10MB+) Optimized networking, serialization HTTP/JSP WebLogic Server Sessions Coherence*Web 36
Optimized Web Tier Topology Separate traffic processing, session management HTTP/JSP WebLogic Server Sessions Coherence*Web EJB JDBC WebLogic Server RDBMS HTTP/JSP WebLogic Server Sessions Coherence*Web EJB JDBC WebLogic Server Engine Tier Session Tier Object Tier Optimized Web Tier 37
Oracle WebLogic Server 12c Key New Capabilities Java EE 6 and Developer Productivity in the Cloud Simplified Cloud Management with Enterprise Manager 12c Integrated traffic management Enhanced High Availability and Disaster Recovery Simplified Deployment and Mgmt with Virtualization Seamless Upgrade 38
Simplified Deployment and Mgmt with Virtualization Private Cloud Engineered Systems Deployment Plan and Software Packaged via Oracle Virtual Assembly Builder Conventional Systems 39
Oracle WebLogic Server 12c Key New Capabilities Java EE 6 and Developer Productivity in the Cloud Simplified Cloud Management with Enterprise Manager 12c Integrated traffic management Enhanced High Availability and Disaster Recovery Simplified Deployment and Mgmt with Virtualization Seamless Upgrade 40
Seamless upgrade Automated Tooling Simple Upgrade Redeployment Migration Services Internet Application Server WebLogic Server 11g GlassFish JBoss WebSphere 41
Cloud Application Foundation Roadmap 42
Oracle Fusion Middleware @ iadvise Our offering? Oracle Fusion Middleware Cloud Foundation expert knowledge Focus on Oracle Application Server, Weblogic and Glassfish Oracle Identity & Access Management integration Oracle Database and Oracle Cloud Control 12c integration Ready to provide an architectural roadmap to move to, integrate with or upgrade to your future-prove OFM platform Managed Services and hosted solutions New 43
Want to know more? Contact: patrick.dewael@iadvise.be kristof.satory@iadvise.be