Powering the Cloud with Oracle WebLogic
-
Upload
lucas-jellema -
Category
Technology
-
view
5.771 -
download
0
description
Transcript of Powering the Cloud with Oracle WebLogic
POWERING THE CLOUD WITH ORACLE WEBLOGIC
Lucas Jellema - AMIS
Oracle Fusion Middleware Forum – 29th June 2011
POWERING THE CLOUD…
• 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
CASTLE IN THE CLOUDS
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, …)
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
OR NO INCORPORATION
SmallEnterprise
Your Department OneOtherDepartment Snel Flexible Building
THREE BROTHERS…
THE THREE SNEL BROTHERS
Piet Jan Simon
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!
THE CLOUD … AT YOUR SERVICE
Infrastructure
Platform
Software
THE CLOUD PUZZLE
Hardware
VM
O/S
Application Server
Database
Application
Application
Application
BRIEF HISTORY OF THE APPLICATION SERVER
Application Server
BRIEF HISTORY OF THE APPLICATION SERVER
Application ServerCGI
html
1st generation web 1.0
browsers
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
BRIEF HISTORY AND FUTURE OF THE APPLICATION
BRIEF HISTORY AND FUTURE OF THE APPLICATION (2)
BRIEF HISTORY AND FUTURE OF THE APPLICATION (3)
BRIEF HISTORY AND FUTURE OF THE APPLICATION (4)
WEBLOGIC AND FUSION MIDDLEWARE
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, …
WEBLOGIC IS THE CLOUD PLATFORM
• Oracle Database and WebLogic Server (with selected FMW components) provide PaaS in the Cloud
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
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
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
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
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
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
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
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
AVAILABILITY
• Backup Power• Cooling Units• Clustering (and fail-over)
– WebLogic ‘managed servers’ & Database– Hardware– Sites
Unplanned Downtime
PLANNED DOWNTIME
• Application Upgrade
Managed WebLogic ServerSingle Java VM
Existing External Client Connections
New Application Version
Retiring Application Version
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
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
•
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
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
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