Weblogic 12c: Mastering The Cloud Foundation 12c - Mastering The Cloud... · Weblogic 12c:...

Post on 15-Apr-2018

247 views 2 download

Transcript of Weblogic 12c: Mastering The Cloud Foundation 12c - Mastering The Cloud... · Weblogic 12c:...

Weblogic 12c: Mastering The Cloud Foundation Patrick Dewael & Kristof Satory

2

Join the buzz: •  Wifi pass: BANQ •  Twitter –  #oracleopenxperience –  @oopenxperience

3

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)

4

•  Complete •  Open •  Integrated •  Best in Class

User Engagement

Identity Management & Security

Business Process Management

Content Management

Business Intelligence

Service Integration Data Integration

Development Tools

Enterprise Management

Web Social Mobile

Cloud Application Foundation

Oracle Fusion Middleware portfolio Bringing Oracle Fusion Middleware as a Service to the Cloud

5

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

6

•  Complete •  Open •  Integrated •  Best in Class

Oracle Cloud Application Foundation Foundation for Oracle Fusion Middleware in the Cloud

User Engagement

Identity Management & Security

Business Process Management

Content Management

Business Intelligence

Service Integration Data Integration

Development Tools Enterprise

Management

Web Social Mobile

Cloud Application Foundation

Cloud Application Foundation

Cloud Application Foundation

Traffic Director/Web Tier

Oracle Public Cloud

WebLogic Server Coherence Tuxedo

Virtual Assembly Builder

Exalogic Elastic Cloud

7

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

8

WebLogic Server 12c – New Features Java EE 6

•  JSP 2.1, JSF 2.0 •  EJB 3.1, JPA 2.0

•  Context and Dependency Injection

•  Restful Web Services Developer

•  JDeveloper •  Eclipse

•  NetBeans •  Maven Java SE

•  Java SE 6 •  Java SE 7

Database •  GridLink – Session

Affinity •  GridLink – Transaction

Affinity •  GridLink – Fast Connection Failover

Performance •  SPECjEnterprise World

Records– EjOPS Overall, EjOPS/Core,

EjOPS/Processor Traffic Management

•  Software Load Balancer •  Traffic Shaping

•  SSL Termination

Enterprise Scale •  Database Transaction

Logs •  Database Store

Performance Enterprise Manager 12c •  Cloud Management •  Diagnostics Advisor •  Incident and Problem

Management •  Patch Automation Distributed Caching

•  Coherence Transactions

•  Coherence Rest •  Coherence Query

Explain Plan

Cloud •  Optimized WebLogic

Virtual Appliances •  Coherence Exalogic

Exabus •  WebLogic Elastic

Message Overflow •  Coherence Elastic Data •  Exalogic HTTP, JMS and

Web Service Performance

•  TopLink Multi-Tenancy Security Updates

•  New Certification Validation

•  New SPNEGO Update •  New RSA Update

•  New JSSE Support

Over 200 New Features

9

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

10

Java EE 6 Overview

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

l  Enhanced APIs l  EJB 3.1, JPA 2.0, JAX-WS 2.2, …

l  Usable “as is” l  The end of the 100's MB .war

11

Java EE 6 & Developer Productivity

•  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

Lines of Code* Lines of XML* Java Classes*

25% Less

50% Less

80% Less

12

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

13

Weblogic/Coherence JVM Diagnostics

Monitoring Across Weblogic/Coherence

SLAs for Composite Java Applications

Weblogic/Coherence Configuration Management

Provisioning Weblogic/Coherence

Diagnostics Images to MOS

Enterprise Manager 12c for Cloud foundation Weblogic Server Management Pack Enterprise Edition

14

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

15

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

WebLogic Server 12c

WebLogic Server 12c

Traffic Director

Traffic Director

High Performance Backplane

Native AES for SSL Native AES for SSL

16

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

17

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

18

Application Upgrades

Server Upgrades

Configuration Changes PLANNED DOWNTIME Operations & Solutions

Hot redeployment Side By Side Deployment

Dynamic changes

WebLogic High Availability

Rolling cluster upgrade

19

Data Failure Human Error

Hardware Failure

Site Disaster Software Failure

UNPLANNED DOWNTIME

Failures & Solutions

WLS with Oracle RAC

Clusters Service

Migration

WAN Clusters for Disaster Recovery

Clusters Server & Service Migration

Clusterware integration

WebLogic High Availability

20

WebLogic Typical High Availability Topology

WLS Cluster

WLS Cluster

WLS Cluster Oracle DB

Oracle DB Apache Server or OHS

Apache Server or OHS

Node Mgr

Node Mgr Node Mgr

Administration Server

FW-1 LB-1

FW-2

DMZ Intranet Internet

Node Mgr Desktop

X

X

X

X

21

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

WebLogic Cluster

WebLogic Server Node Manager

WLS1 JVM

WLSn JVM

Apache Server HTTP Server

mod_wl

22

Cluster Managed Server 1

Domain

Managed Server 2

HA with WebLogic State Replication Surviving a Failed WebLogic Server

WAN State Replication

MAN State Replication

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

State 1

State 2

Domain State Replication

In Memory or Database Backed Asynch or Synch

In Memory Database Backed Asynch

LB

23

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 D

Object X

A C

Managed WLS A

Object X

A C

Managed WLS B

Object X

A C

Managed WLS C

Object X

A C

IP Unicast

24

HA with WebLogic GridLink for RAC Surviving a Failed Oracle RAC Node

RAC Instance

DS3 Pool for RAC Node 3

Multi Data Source

Oracle WebLogic

Server

Oracle RAC

Server

DS2 Pool for RAC Node 2

DS1 Pool for RAC Node 1

RAC Instance

WebLogic Multi Data

Source

Oracle WebLogic

Server

Oracle RAC

Server

Thin JDBC

Thin JDBC

RAC 1

RAC 2

RAC 3

RAC 1

RAC 2

RAC 3

X RAC Node

Failure Causes

Multi Data or the ExaLogic GridLink to Load

Balance to surviving

Pools

DS3 Pool for RAC Node 3

DS2 Pool for RAC Node 2

DS1 Pool for RAC Node 1 X

25

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

GridLink WebLogic

GridLink WebLogic

80% 20%

RAC Node Load Aware Connection Requests

GridLink WebLogic

GridLink WebLogic

RAC Node Affinity For Transactions

XA

GridLink WebLogic

GridLink WebLogic

Continuous Connections Regardless of RAC Changes

26

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

Domain Machine 3 Machine 2 Machine 1

Administration Server

Managed WLS 2

Resources 2

Managed WLS 3

(Cluster Master)

Resources 3

Database or Consensus Leasing Storage Area Network

Spare Capacity

Managed WLS 2

Resources 2

Detect Failure

Migrate Server

Managed WLS 2

Resources 2

WebLogic Cluster

27

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

Domain Machine 3 Machine 2 Machine 1

Administration Server

Managed WLS 2 Resources 2

Managed WLS 4 Resources 4

Managed WLS 3

(Cluster Master)

Resources 3

Resources 2

Detect Failure

Migrate Service

Managed WLS 2 Resources 2

Storage Area Network

WebLogic Cluster

Database or Consensus Leasing

28

HA with Side by Side Deployment Zero Application Downtime

•  Newer version of application deployed side-by-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

Managed WebLogic Server Single Java VM

Application Version

One

Existing External Client

Connections

New External Client Connections

When Activated

Application Version

Two

Internal Client Connections

Test First in Administrative Mode

29

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

IP Unicast

Node 3

Managed Server

Node Mgr

App 1

Node 4

Managed Server

Node Mgr

App 1

Node 1

Managed Server

Node Mgr Node 3

Managed Server

Node Mgr

App 1

Maint Pack x.y Maint Pack x.y

Maint Pack x.y Maint Pack x.y

App 1

30

Fusion Middleware

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

Backup Storage

LDAP, Policy,

Credential Data

Application Data

Metadata External Files

WebLogic Middle Tiers Oracle Binaries Exploded Archives

Application Data

31

Disaster Recovery Architectures

Web Tier

Middle Tier

Data Tier

Global Load Balancer

Application Data

Web Server

Web Server

Web Tier

Middle Tier

Data Tier

Binaries

Configuration

Transaction Logs

JMS Messages

Application Data

Web Server

Web Server

File Replication Technology

Active Site Standby Site

Datagard or GoldenGate

Binaries

Configuration

Transaction Logs

JMS Messages

Critical data stored, managed, and

replicated together

Non-critical files replicated separately from critical

data.

No need to struggle to synchronize file and data

replication

32

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

WebLogic Cluster

WebLogic Domain Node Manager

Managed Server1

Managed Server2

Database

Cached Data??? Shared State??? Transactions???

33

Weblogic and Coherence*Web

“Standard” Weblogic Server HTTP session

replication

“Optimized” HTTP session replication option with

Weblogic

34

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

WebLogic Server

Sessions HTTP/JSP

WebLogic Server

JDBC EJB

35

Example of Standard Cluster Topology

Web Tier Object Tier

RDBMS

WebLogic Server Sessions HTTP/JSP

WebLogic Server Sessions HTTP/JSP

WebLogic Server Sessions HTTP/JSP

WebLogic Server JDBC EJB

WebLogic Server JDBC EJB

WebLogic Server Sessions HTTP/JSP

36

WebLogic Server HTTP/JSP

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

Coherence*Web Sessions

37

Optimized Web Tier Topology Separate traffic processing, session management

Engine Tier Session Tier

WebLogic Server JDBC EJB

Coherence*Web Sessions

Coherence*Web Sessions

WebLogic Server HTTP/JSP

WebLogic Server HTTP/JSP

RDBMS

“Optimized” Web Tier

Object Tier

WebLogic Server JDBC EJB

38

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

39

Simplified Deployment and Mgmt with Virtualization

Deployment Plan and Software

Private Cloud

Engineered Systems

Conventional Systems

Packaged via Oracle Virtual Assembly Builder

40

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

41

Seamless upgrade

WebLogic Server 11g

JBoss WebSphere

Internet Application Server

Migration Services Automated Tooling

GlassFish

Simple Upgrade Redeployment

42

Cloud Application Foundation Roadmap

43

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

Want to know more? Contact: patrick.dewael@iadvise.be

kristof.satory@iadvise.be