Powering the Cloud with Oracle WebLogic

38
POWERING THE CLOUD WITH ORACLE WEBLOGIC Lucas Jellema - AMIS Oracle Fusion Middleware Forum – 29th June 2011

description

This presentation discusses the concept of the Cloud, Platform as a Service, the Application Server and the Application. It then moves on to explain what WebLogic has to offer to provide the platform in the cloud to implement the PaaS. It mentions a few of the most important features in WLS that help to power the cloud.

Transcript of Powering the Cloud with Oracle WebLogic

Page 1: Powering the Cloud with Oracle WebLogic

POWERING THE CLOUD WITH ORACLE WEBLOGIC

Lucas Jellema - AMIS

Oracle Fusion Middleware Forum – 29th June 2011

Page 2: Powering the Cloud with Oracle WebLogic

POWERING THE CLOUD…

Page 3: Powering the Cloud with Oracle WebLogic

• Lucas Jellema– CTO with AMIS Services

• Solution architect, developer, trainer– Oracle ACE Director

Fusion Middleware

– Author of Oracle SOA Suite 11g Handbook (Oracle Press, 2010)

– Frequent presenter JavaOne, Oracle Open World, ODTUG Kaleidoscope, Devoxx & OBUG

– Working with Oracle products since 1994

Page 4: Powering the Cloud with Oracle WebLogic

CASTLE IN THE CLOUDS

Page 5: Powering the Cloud with Oracle WebLogic

JAN SNEL – FLEXIBLE BUILDING

• No up-front investment• Scale Up – quickly expand into new units• Scale Down – have units removed when no

longer required• Offices can quickly be relocated to a different

site• Building maintenance is taken care of• Day to day monitoring and security

surveillance• Standardize on office layout and interior• Additional office units are available in case of

emergencies (fire, flooding, …)

Page 6: Powering the Cloud with Oracle WebLogic

INCORPORATION

BigEnterprise

Production

Your Department

Some Other Department

And other departments

Group A Group B Group C

Sales

Location 1 Location 2

Facilities

Snel Flexible Building

Page 7: Powering the Cloud with Oracle WebLogic

OR NO INCORPORATION

SmallEnterprise

Your Department OneOtherDepartment Snel Flexible Building

Page 8: Powering the Cloud with Oracle WebLogic

THREE BROTHERS…

Page 9: Powering the Cloud with Oracle WebLogic

THE THREE SNEL BROTHERS

Piet Jan Simon

Page 10: Powering the Cloud with Oracle WebLogic

THE SNEL BROTHERS

• Piet Snel – provides the plot on which to build (including electricity, water, sewerage,…)– So you can build your own units if you want to

• Jan Snel – provides turn-key office space from flexible building units and office furniture– On his brother’s plot or on your own plot

• Simon Sneller – provides the services that your staff would have provided from the new office– You do not have to hire & train (& fire) people– Perhaps they sit in Jan’s building, possibly on

Piet’s plot. Or in some unknown location somewhere.

• You do not have to care!

Page 11: Powering the Cloud with Oracle WebLogic

THE CLOUD … AT YOUR SERVICE

Infrastructure

Platform

Software

Page 12: Powering the Cloud with Oracle WebLogic

THE CLOUD PUZZLE

Hardware

VM

O/S

Application Server

Database

Application

Application

Application

Page 13: Powering the Cloud with Oracle WebLogic

BRIEF HISTORY OF THE APPLICATION SERVER

Application Server

Page 14: Powering the Cloud with Oracle WebLogic

BRIEF HISTORY OF THE APPLICATION SERVER

Application ServerCGI

html

1st generation web 1.0

browsers

Page 15: Powering the Cloud with Oracle WebLogic

mes

sagi

ngBRIEF HISTORY OF THE APPLICATION SERVER

Application Server

html

2nd & 3rd generation

web 2.0 & 3.0 browsers

XML JSON

Mail Server

Database Web Services Legacy Systems Apps Unlimited

B2B Partners

mes

sagi

ng

Page 16: Powering the Cloud with Oracle WebLogic

BRIEF HISTORY AND FUTURE OF THE APPLICATION

Page 17: Powering the Cloud with Oracle WebLogic

BRIEF HISTORY AND FUTURE OF THE APPLICATION (2)

Page 18: Powering the Cloud with Oracle WebLogic

BRIEF HISTORY AND FUTURE OF THE APPLICATION (3)

Page 19: Powering the Cloud with Oracle WebLogic

BRIEF HISTORY AND FUTURE OF THE APPLICATION (4)

Page 20: Powering the Cloud with Oracle WebLogic

WEBLOGIC AND FUSION MIDDLEWARE

Page 21: Powering the Cloud with Oracle WebLogic

SUPER CONTAINER

WebLogic Server

SOA Suite & BPM FormServerWC Portlets

OBI EEOSB

SOA Composite

WS*, Java/JEE & ADF apps

Forms App

Fusion Applications

UCM & FatWire? WC Spaces

Space

OSB project

AdaptersJEE services++

Cache, Messaging, Timers, Work Managers, …

Page 22: Powering the Cloud with Oracle WebLogic

WEBLOGIC IS THE CLOUD PLATFORM

• Oracle Database and WebLogic Server (with selected FMW components) provide PaaS in the Cloud

Page 23: Powering the Cloud with Oracle WebLogic

CLOUD PROMISES AND CHALLENGES• Quick start up• Flexible (agile) scalability• Performance and Availability• Low(er) TCO• Small initial investment• Consolidation and Standardization• Professional, centralized administration

services • Security and Compliance

Page 24: Powering the Cloud with Oracle WebLogic

SCALABILITY WEBLOGIC: SCALE OUT WITH CLUSTERING• Scale out by

• Adding server instances to cluster on existing machine

• Adding machines to cluster to host incremental server instances

• Without interruption of service• Scale Down works in same way (except for

licenses)WebLogic

DomainCluster 1

Administration Server

Node Mgr

Cluster 2

Managed Server

Node Mgr

Cluster 3

Managed Server

Node Mgr

App 1 App 2

Managed Server

App 1

Managed Server

App 3

24

Page 25: Powering the Cloud with Oracle WebLogic

WEBLOGIC SCALABILITY WITH ORACLE REAL APPLICATION CLUSTERS• Oracle RAC installation = Standard Oracle database

• RAC coordinates access to shared data for consistency, integrity

• Add nodes to RAC cluster easily

• No need to partition data

• Horizontally scale database tier as usage grows

• By adding RAC nodes, storage, or both

• Scale WebLogic by adding data source that maps to new RAC node

GridLink

WebLogic

GridLink

WebLogic

RAC Node 1

RAC Node 2

Shared Storage

Interconnect

Page 26: Powering the Cloud with Oracle WebLogic

DO NOT DO IT…MORE OFTEN THAN REQUIRED

• If it has been produced before…– Reuse before re-produce!

• If it has been shipped before…– Reuse instead of re-ship

• … provided it is still freshWeb Browser

RDBMS

JEE Application Server

Page 27: Powering the Cloud with Oracle WebLogic

DO NOT DO IT…MORE OFTEN THAN REQUIRED

• Save on network trips, context switches and tiers to cross

• Save on ‘reproducing’ same results

Web Browser

RDBMS

JEE Application Server

- JS data (memory)- Cookies

- HTML 5 db

Edge CacheCache

Cluster Fail-Over(Session State)Result StoreWrite Behind Client Result

Cache

Result Cache

Materialized View

Page 28: Powering the Cloud with Oracle WebLogic

ACTIVE CACHING IN WEBLOGIC WITH ORACLE COHERENCE MEMORY GRID• Add/remove nodes dynamically• Scale linearly to hundreds of nodes• Get extreme reliability through redundancy• Achieve high performance

• Data resides closer to application

• Parallelization• Write behind• Reuse instead of

reproduce• Get continuous availability

• Seamless session fail-over - all nodesshare session state through the cache

28

OS

JVM

WebLogic Server

OS

JVM

Coherence

WebLogic

Server

Page 29: Powering the Cloud with Oracle WebLogic

WEBLOGIC/COHERENCE INTEGRATION ENHANCES SCALABILITY

Session State Data Grid

Weblogic Server Cluster

WLS

Coherence*Web

WLS

Coherence*Web

WebLogic Server

Coherence*Web

CoherenceCoherence

CoherenceCoherence

Coherence

WebLogic Server with Coherence

Page 30: Powering the Cloud with Oracle WebLogic

NEAR-NATIVE PERFORMANCE WITH VIRTUALIZATION OPTION • WebLogic Suite Virtualization Option: 32%

increased performance compared to WLS on OS in VM– Take out the GuestOS in the VM – run WLS

directly on the hypervisor

0

50

100

150

200

250

300

225ops/sec

298ops/sec

300 ops/sec

WebLogic withJRockit VE

WebLogic onGuest OS

WebLogic onPhysical OS

Oracle VM

Bare Metal Hardware

Optimized Java Execution Stack

JRockit Virtual Edition

Guest OS

WebLogic Server

Page 31: Powering the Cloud with Oracle WebLogic

AVAILABILITY

• Backup Power• Cooling Units• Clustering (and fail-over)

– WebLogic ‘managed servers’ & Database– Hardware– Sites

Unplanned Downtime

Page 32: Powering the Cloud with Oracle WebLogic

PLANNED DOWNTIME

• Application Upgrade

Managed WebLogic ServerSingle Java VM

Existing External Client Connections

New Application Version

Retiring Application Version

Page 33: Powering the Cloud with Oracle WebLogic

AVAILABILITY: ZERO DOWN TIME APPLICATION (RE-) DEPLOYMENT

Managed WebLogic ServerSingle Java VM

Existing External Client Connections

New External Client Connections

New Application Version

Retiring Application Version

Administrative Test Client Connections

Test First inAdministrative

Mode

• Newer version of application deployed side-by-side with older version in same JVM

• Clients already connected continue 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• Very similar to Edition Based

Redefinition in Database 11g R2

Page 34: Powering the Cloud with Oracle WebLogic

AMIS SERVICES - NIEUWEGEIN

• Specializations SOA & Database (and BPM in progress)

• http://technology.amis.nl/blog/ 4.000 unique visitors per day 1500+ articles since 2004

• Four Oracle ACEs and ACE Directors

• More information: www.amis.nl

Edisonbaan 15, NieuwegeinTel: 030- 601 6000

Page 35: Powering the Cloud with Oracle WebLogic

AMIS AND ORACLE FUSION MIDDLEWARE• Enabler for Cloud, Web, SaaS, SOA, Mobile,

Real Time, BPM and Community Driven & E2.0– For example: AMIS Mobile Service Bus

• 15 FMW customer cases in past 12 months• Oracle Press book: Oracle SOA Suite 11g

Handbook• Master Classes, workshops and classroom

training around Fusion Middleware– WebLogic, SOA Suite & BPM, ADF & WebCenter– Also: the AMIS Doorscholingsprogramma for the

next step for classical Oracle specialists• White papers, presentations, articles on

Cloud Computing, Application Modernization, Mobile Computing and Business Process Management– Powred by Oracle Fusion Middleware

Page 36: Powering the Cloud with Oracle WebLogic

WEBLOGIC SUITE: THE #1 CLOUD PLATFORM

Realize High SLAs• Highest Performance over many years

• Near linear data and process scalability

• Guaranteed Reliability, Highest Availability

Elasticity gives close alignment with business volume• Dynamic, Instantaneous deployment/removal of nodes

• All tiers grow/shrink to support capacity needs

• Tiers grow/shrink independently

Lower TCO/Higher Productivity: Reduced Complexity• Productive development, leveraging rich platform services

• Agile deployment and ‘design time @ run time’ facilities

• Integrated, Automated Security and Administration

Future Proof

• Support for process oriented IT and task drive UI

• Facilities for real-time interaction with many devices

Page 37: Powering the Cloud with Oracle WebLogic
Page 38: Powering the Cloud with Oracle WebLogic

HELPFUL RESOURCES

Datasheets, Whitepapers, … www.oracle.com/weblogic

www.oracle.com/goto/coherence

www.oracle.com/virtualization Follow Oracle WebLogic

http://twitter.com/oracleweblogic

http://facebook.com/oracleweblogic

http://www.youtube.com/oracleweblogic

Customer References http://www.oracle.com/customers

Oracle.comAMIS.nl

Datasheets, Whitepapers, Customer References, Technical How To’s, …

www.amis.nl

technology.amis.nl/blog

Follow AMIS on Twitter @AMIS_Services