steven g. harris director, java platform group oracle corporation howard cohen vp, dist. systems...
TRANSCRIPT
Steven G. HarrisDirector, Java Platform Group Oracle Corporation
Howard CohenVP, Dist. Systems & Caching Oracle Corporation
Grid Computing for Oracle Application Server 10g
An Overview
Topics
Enterprise Grid Computing Concepts Oracle Application Server 10g Features Developing Applications for the Grid
IT Challenges
Expensive hardware, software, and labor Inflexible architecture limits business
responsiveness
Isolated Applications Deployed on Islands of Infrastructure
Islands of Infrastructure
Isolated Applications
EnterpriseGrid Computing
ResponsiveSoftware Architecture
Oracle Strategy for IT
Enterprise Grid Computing
Add and Reallocate Capacity Quickly and Economically
Coordinated use of many servers acting as one large computer
Database Grid Application Server GridStorage Grid
Grid
Control
GeneralLedger
SalesPortal
Responsive Software Architecture
Respond to Changing Requirements Quickly
Expose business functionality as services to improve flexibility and productivity
J2EEApp
WebStoreE-MailWebStore
Oracle 10g
Implement One from Many; Manage Many as One
Virtualize resources on low-cost hardware
Allocate resources dynamically
Automate provisioning
Centralize monitoring and management
Web Services
B2B Integration
Application Integration
Any Data Source
Business Intelligence
Wireless & Mobile
Enterprise PortalManagement &
Security
Business Services Framework
Rapid ApplicationDevelopment
Clustering &Caching
Oracle Application Server 10g
Integrated Middleware Platform
Enterprise Grid Computing
10g
Virtualize and Pool
Resources
AutomateUser & Resource Provisioning
Manage Application
Service Levels
Ensure High Quality of Service
Group resources and services by application
HTTP Server
Web Cache
J2EE Server
Virtualized Middleware ServicesUse Resources Effectively on Low-Cost HW
Policy ManagerPolicy ManagerStores application-specific policiesStores application-specific policies
Resource ManagerResource ManagerManages resource availability/statusManages resource availability/status
Dispatcher & SchedulerDispatcher & SchedulerDistribute workloads based on Distribute workloads based on
application-specific policiesapplication-specific policies
Workload ManagerWorkload Manager
Policy-Based Workload Ensure High Quality of Service
Transparent Application Failover (TAF) Fast-Start Fault Recovery™ Integrated Backup and Disaster Recovery Multi-tier Failover Notification (FaN)
Grid High AvailabilityEnsure High Quality of Service
> 15 mins> 15 mins
< 12 secs< 12 secs
15 mins15 mins
< 4 secs< 4 secs
Without FaN
With FaN
Without FaN
With FaN
RAC Failover AS Detection Total DowntimeRAC Failover AS Detection Total Downtime
< 8 secs< 8 secs
< 8 secs< 8 secs
Install/Clone
Configure
Deploy
Patch
LiveLink
Oracle.com
Product Updates
Patches
ProductConfiguration
OracleInventory
SoftwareConfigurations
HardwareConfigurations
Discover
GridControl
Repository
Provision
Over 20% of downtime is attributable to human configuration errors
Grid Software ProvisioningView/Search
Compare
Track Changes
ReferenceConfigurations
Analyze
AccountingSales Portal
Directory Support PortalClient
• Consolidate user accountsCentralize ID managementShare authorization and
authentication services
Grid User ProvisioningLower Management Costs
Any
User
New YorkSales Office
TokyoSales Office
Application
Monitor transactions Understand end user experience Identify bottlenecks Accelerate problem resolution
Service Level ManagementEnsure High Quality of Service
Load increase identified --
additional resources required
1
Systems chosen for deployment from
available hardware
2
New Servers
New servers added to application
3
Image/Clone ASAssociate AS with InfrastructureAdd AS to clusterConfigure DB server to get AS requestsConfigure SLB to include new AS
Grid Delivers Capacity-on-DemandUse Resources More Effectively
D E M O N S T R A T I O N
Capacity-On-Demand
10g Features Enabling the Enterprise Grid
Runtime Infrastructure– Availability– Workload Management– Monitoring
Manageability Support– Unified Notification– Central Topology, Distributed Deployment– Backup/Recovery
Server Infrastructure for GridHigh Availability
Web Cache
• Virtualized cache• Surge protection
Oracle HTTPServer
• Metrics-based load balancing• Process monitoring and notification• Auto discovery of OC4Js
OC4J
• Instrumented runtime• Fast failover notification• Distributed config mgmt
RAC
• End-to-end tracing• Scale on commodity hardware• Virtualized database resource
Web CacheA Virtualized Grid Resource
• Make more effective use of low-cost, existing hardware– Enables high hit-rate caching (which improves performance and scalability)
• Maintain quality of service with workload management– Improves system reliability
• Manage the end-user experience– Supports end-user performance monitoring and flexible deployment options
Web Cache
HTTP Server
J2EE ServerDatabase
What is Web Cache?
• Reverse proxy cache and
compression engine
• Deployed between
browser and HTTP server
How Web Cache Works
1. Client sends HTTP request2. Web Cache responds immediately if cached object is available 3. If object is not in cache, Web Cache requests object from Application Server4. Application Server generates response (may include Database queries)5. Application Server responds to Web Cache6. If response is cacheable, Web Cache retains a copy for subsequent requests7. Web Cache compresses page and responds to Client
1
23
45
7
ClientBrowser
Web Cache Web App Server Database
6
Cache Clustering
• Solution: clustering on the Grid– Virtualizes cache instances into a single logical cache – spreads out load
• Automatic content provisioning– partitions content space for increased cache capacity– replicates popular content for performance and high availability
• Benefits: improved scalability, availability and capacity of cache tier
HTTP Server
Web Cache
J2EE Server
Database
Issues: Cache capacity
limited to individual machine resources
Hot content lost if a cache fails or is taken offline
Grid Notification Infrastructure
Web Client
HTTP
Web ServicesApplication
SOAP/HTTP
We
b C
ac
he
We
b C
ac
he
OH
SO
HSHTTP
mod
_oc4j
mod
_oc4j
AJPOC4JOC4J
RACJDBC
Process MonitoringProcess Monitoringand Notification Serviceand Notification Service
• Up/Down• Invalidation
• Up/Down• New• Health• Up/Down• Up/Down
Workload Management
OH
SO
HS
mod
_oc4j
mod
_oc4j
AJP
RAC
Pooledconnections
virtualized viaservice-based
access
Me
trics
Policy
Process MonitoringProcess Monitoringand Notification Serviceand Notification Service
Load Balancing OC4JOC4J
OC4JOC4J OC4JOC4J JDBC
Grid Deployment Infrastructure
J2EE AppService 1
Web ServiceJ2EE AppService 2
J2EE AppService 3
Accounting Application
Deploy
CentralizedTopology
IndividualProvisioning
“How much time is being spent in just the JDBC part of this application?”
“What was the average response time over the past 3, 6, and 9 months?”
Monitor and analyze application performance:
Performance MonitoringImprove Application Performance
Best Performance3 Years Running - 2001
61,863
37,79144,295
0
20,000
40,000
60,000
80,000
Bb
op
s/m
in
Oracle9iAS BEA WebLogic IBM WebSphere Oracle9
$5
$7
$11
$0
$2
$4
$6
$8
$10
$12
$/B
Bop
/min
Oracle9iAS BEA WebLogic IBM WebSphereOracle9
Best Performance Best Price-Performance
Source: ECperf Benchmark: http://ECperf.theserverside.com
Best Performance3 Years Running - 2002
Best Performance Best Price-Performance
Source: SpecJ2001 http://www.spec.org
1,477
804
0
500
1000
1500
BO
PS
Oracle9iAS BEA WebLogic IBM WebSphere
$325
$4,847
$0
$1,000
$2,000
$3,000
$4,000
$5,000
$/B
OP
Oracle9iAS BEA WebLogic IBM WebSphere Oracle9
Best Performance3 Years Running - 2003
1165.06
1037.02
0
200
400
600
800
1000
1200
TO
PS
Oracle AS 10g BEA Weblogic IBM WebSphere
$150.67$200.24
$647.52
$0
$100
$200
$300
$400
$500
$600
$700
$/T
OP
Oracle AS 10g BEA Weblogic IBM WebSphere
Source: SpecJ2002 http://www.spec.org. (* Identical Linux configurations)
Best Performance* Best Price-Performance
Grid-Related Standards Activity
Oracle commitment to open standards process
– WS-I, OASIS, W3C, GGF Grid standards build on web services
standards– WSDL emerging issues– OGSI– Grid standards are relatively immature
Goal: Commercialization of grid technology– Standards play a central role
Developing for the Grid
Existing Applications Just Run– Expose existing apps as grid-enabled services
New Applications– Develop web services
Use JDeveloper ADF– Web services are grid-enabled in iAS, built on the
J2EE platform
Leverage a Framework and Visual Tools
Oracle Application Development Framework
– Standards based patterns– Service oriented architecture
Business ServicesBusiness Services
Web and Wireless Clients
Web and Wireless ClientsRich ClientsRich Clients
ModelModel
ControllerController
Oracle JDeveloper 10g– Visual– Declarative– Synchronized
The flexibility of J2EE, open source. The productivity of traditional RAD.
ADF UIX
ADF Controller
ADF Bindings
ADF Data Control
ADF Business Components
Service Object
ADF Business ComponentsQuery Object
ADF Business ComponentsEntity Object
Swing / JClient
AD
F M
eta
da
ta S
erv
ice
s
View
Controller
Model
BusinessServices
Swing / JClient JSP ADF UIX JSF
Rich Client Web / Wireless
Struts ADF Controller
ADF Bindings
ADF Data Control
JavaClasses
EJBSessionBeans
WebServices
ADF Business Components
Service Object
JDBCEJB
FindersTopLinkQueries
ADF Business ComponentsQuery Object
DataAccess
ADF Business ComponentsEntity Object
Java Classes EJB Entity Beans
TopLink Mapping
PersistentBusinessObjects
AD
F M
eta
da
ta S
erv
ice
s JSR 227
Choice: Standard and open source technologies.
Simplifying Choice
““My JDeveloper”My JDeveloper”
UML HTML JSP Apache Struts EJB Toplink AntJUnit CVS Profiling Audit/Metrics
JSP Struts
UI Project
Toplink
Model Project
Technology S
copes Visual & Visual & DeclarativeDeclarative
UML Swing HTML XML JSP ADF UIX Apache Struts ADF BC EJB Toplink Ant JUnit CVS Clearcase Oracle SCM Profiling Audit/Metrics
Extension M
anager
CHOICES
Productivity with choice.
Summary
Enabling technologies for enterprise grid computing are here today in Oracle Application Server 10g
– Implement one solution from many resources– Manage many resources as one
Existing applications can benefit now from grid computing.
– You do not need to sacrifice choice or openness to achieve productivity and performance
Next Steps….
Recommended sessions– 40284 - J2EE and .NET: An Objective Comparison
Wed Sept 10 11:00 AM Moscone Room 134– 40024 - BPEL: Building Standards-Based Business
Processes with Web Services Wed Sept 10 4:30 PM Moscone Room 252
Hands-On Labs– 40377 - Oracle Application Server 10g Hands On Lab
Marriott Hotel, Golden Gate B2 Relevant web sites to visit for more information
– Products: http://otn.oracle.com/products– Standards: http://otn.oracle.com/standards
AQ&Q U E S T I O N SQ U E S T I O N S
A N S W E R SA N S W E R S
Reminder – please complete the OracleWorld online session survey
Thank you.- Session 40059