grid computing with oracle database 11 g -...
TRANSCRIPT
Grid Computing with Oracle Database 11g R2
IT Priorities for Challenging and Changing Times
• Examine and cut capital expenditures
• Become more efficient to reduce operating costs
• Deliver even better service, system availability and • Deliver even better service, system availability and
performance
Current IT Infrastructures Impede Cost Reduction and Efficiency
• Dedicated silos are inefficient
• Sized for peak load
• Constrained performance
Middleware
• Constrained performance
• Difficult to scale
• Expensive to manage
Database
Storage
Dedicated Stacks
Grid Computing Virtualizes and Pools IT Resources
•Sized for peak load
•Difficult to Scale
•Expensive to Manage
•Pools of shared resources
•Re-distribute resources as needed
•Cost efficient
Elements of Grid: Oracle Clusterware
• Major part of the Oracle Grid
Infrastructure
• Basis for Oracle Real Application
Clusters (RAC)
• Integrated with Oracle Automatic
Storage Management (ASM) and
is the basis for the Oracle ASM Oracle Clusterware is the basis for the Oracle ASM
Cluster File System (ACFS)
• Provides a cluster infrastructure
for all kind of applications (e.g.
App A & B)
Oracle Clusterware
Oracle Clusterware 11g R2Oracle Clusterware 11g R2Oracle Clusterware 11g R2Oracle Clusterware 11g R2---- Database Server PoolsDatabase Server PoolsDatabase Server PoolsDatabase Server Pools
AR ServiceAR ServiceAR ServiceAR ServiceAR ServiceAR ServiceAR ServiceAR Service
AP ServiceAP ServiceAP ServiceAP ServiceAP ServiceAP ServiceAP ServiceAP Service
ERP SPERP SPERP SPERP SP
SALES ServiceSALES ServiceSALES ServiceSALES ServiceSALES ServiceSALES ServiceSALES ServiceSALES Service
Sales SPSales SPSales SPSales SP HR SPHR SPHR SPHR SP Free SPFree SPFree SPFree SP
OS ServiceOS ServiceOS ServiceOS ServiceOS ServiceOS ServiceOS ServiceOS Service
HR ServiceHR ServiceHR ServiceHR ServiceHR ServiceHR ServiceHR ServiceHR Service
New with
11.2
Oracle Confidential
Oracle Clusterware 11gR2Oracle Clusterware 11gR2Oracle Clusterware 11gR2Oracle Clusterware 11gR2Oracle Clusterware 11gR2Oracle Clusterware 11gR2Oracle Clusterware 11gR2Oracle Clusterware 11gR2
ERP SPERP SPERP SPERP SPSales SPSales SPSales SPSales SP HR SPHR SPHR SPHR SP Free SPFree SPFree SPFree SP
Oracle Database 11gR2Oracle Database 11gR2Oracle Database 11gR2Oracle Database 11gR2Oracle Database 11gR2Oracle Database 11gR2Oracle Database 11gR2Oracle Database 11gR2 Oracle Database 11gR2Oracle Database 11gR2Oracle Database 11gR2Oracle Database 11gR2Oracle Database 11gR2Oracle Database 11gR2Oracle Database 11gR2Oracle Database 11gR2
• Dynamically manage DB resources for services by Policy• Control availability with Min, Max, & Importance attributes• Easily Manage large clusters hosting multiple databases
Elements of Grid: Real Application Clusters
• Scale workloads across multiple low cost servers
• Consolidate into fewer servers and databases
• Runs all Oracle database applicationsOracle Clusterware
Real Application Clusters
applications
• Built-in HA to support mission critical workloads
• World record performance
Oracle Clusterware
RAC is Mainstream – Gartner Group
0
3,000
6,000
9,000
12,000
15,000
FY02 FY03 FY04 FY05 FY06 FY07 FY08 FY09
(Q2)
# o
f C
usto
mers
Elements of Grid: RAC One Node
• New single-instance RAC configuration :
• OMotion – migrate database to other server, supports:
• Different processor generation,
• Different OS and DB levels.
• Rolling patches for single instance and OSOracle Clusterware
RAC OneNode
RAC OneNode
RAC OneNode
and OS
• Built-in high availability
• Online upgrade to RAC
• Allows customer to standardize on one database deployment and management model
• Supported in both physical and virtual environments
Oracle Clusterware
Elements of Grid: Automatic Storage Mgt
• Easier to manage than
file systems
• Reduces storage costs
• Provides best
performanceOracle Clusterware
Real Application Clusters
New with • Stores all data
Oracle Clusterware
Automatic Storage Management
New with
11.2
Grid Infrastructure: Automatic Storage
Management (ASM)
The foundation for Grid Storage
• Easier to manage than file systems
• Reduces storage costs
• Provides best performance
• Stores all data
ASM DiskASM Disk
ASM DiskASM Disk
ASM Disk
ASMDisk Group
New with • Stores all data New with
11.2
Grid Infrastructure: Automatic Storage Management (ASM)
• File system and Volume Manager for database files
• Standard database feature with Oracle 10g - SE, EE, RAC
• Stripes data across all disks to ensure balanced I/O
• Performance of raw volumes• Performance of raw volumes
• Replaces the need for 3rd party• VM/FS
• CVM/CFS
• Online addition and migration of storage
• De-facto standard for RAC and grid deployments
• Foundation for Storage Grid
Grid Infrastructure: ASM Cluster File System (ACFS)
• General purpose scalable file system
• Single node and cluster
• POSIX, X/OPEN file system solution for UNIX/Linux
• Read-only snapshots
• Leverages ASM technology for volume mgt
New with
11.2
• Leverages ASM technology for volume mgt
• Integrated with Oracle Clusterware for cluster support
• Multi OS platform (Linux and Windows at initial
release)
• Integrated with Oracle system mgt tools, OUI, OEM
Grid Infrastructure: ASM Cluster File System (ACFS)
Automatic Storage Management (ASM)
File SystemsApplicationsDatabases
• ASM supports ALL data
• Database files
• File systems: ACFS, 3rd-party file systems
• Shared Clusterware files: OCR and Voting disk now stored in ASM
DB Datafiles OCR and Voting Files Oracle Binaries 3rd Party File Systems
Elements of Grid: Oracle Enterprise Manager
• Reduce operational costs• With intelligent diagnostics and automation
• Reduce database management costs by 40%
• Reduce configuration management effort by 90%
• Reduce patching and provisioning effort by up to 98%
• Manage applications top-down• From business and end-user perspective
• Avoid online revenue losses up to 25%
• Maximize staff productivity by 10 times or Oracle Clusterware
Real Application Clusters
Ora
cle
En
terp
rise
Ma
na
ge
r
• Maximize staff productivity by 10 times or more
• Manage entire application lifecycle• With Application Quality Mgmt and
Compliance Solutions
• Reduce testing effort by up to 80%
• Increase test coverage by 95%
Oracle Clusterware
Automatic Storage ManagementO
racle
En
terp
rise
Ma
na
ge
r
Consolidate with RAC and Oracle VM
• Oracle VM enables easy server consolidation
• RAC and RAC-One are the perfect complement to Oracle VM
• Cluster failover extends high
OVM OVM
RAC
Instance
RAC
Instance
Fusion
Middleware
Oracle
Application
• Cluster failover extends high
availability to virtualized
databases
• RAC/RAC-One fully supported
on Oracle VM
• Deploy VMs on demand to
create additional servers for
rolling patches and load
balancing
Tactics for Achieving SuccessGrid’s Strong Suit
• Consolidation
• Standardization
• Pay-as-you-grow Scale Out• Pay-as-you-grow Scale Out
• Administrative Streamlining
• Setting, Tracking and Exceeding Service Level
Objectives
Tactics for Achieving SuccessGrid’s Strong Suit
• Consolidation
• Standardization
• Pay-as-you-grow Scale Out• Pay-as-you-grow Scale Out
• Administrative Streamlining
• Setting, Tracking and Exceeding Service Level
Objectives
Server 1 Server 2 Server 3 Server 4 Server 5
Consolidation: Silo’d Environment is Expensive and Inefficient
WorkloadAvg Utilization
<20%
• Silo’d architecture results in much unused capacity
• Higher CapEx & OpEx
App A App B App C App D App E
Server 6 Server 7 Server 8 Server 9
• Not Green - Requires more power, cooling, floor space
Server 10
DB A DB B DB C DB D DB E
Database Avg Utilization<20%
Storage
Server 1 Server 2 Server 3 Server 4 Server 5
Consolidation with Grid Computing
Workload
• Take advantage of complementary workload peaks
• Higher utilization rates and efficiency
Freed ServersConsolidated Apps A-E
Avg Utilization70%
Server 6 Server 7 Server 8 Server 9
• Lower CapEx & OpEx
• Green footprintServer 10
Database
Storage
Freed ServersCluster Database
ABCDE
Avg Utilization70%
Shared, Consolidated Storage Freed Storage
Increasing Benefits of Consolidation
OS
DB
Storage
OS
DB
Storage
OS
DB
Storage
OS
DB
Storage
OSDB DB
OSDB DB
OSDB
Storage
OS
DB ConsolidationBefore Consolidation
Storage
Storage
Storage
Storage
OS
DB DB
OS
DB DB
Storage
OS
DB
OS
DB
Storage
Storage
Storage
Storage
OS
DB
OS
DB
Server Consolidation
OS Consolidation
Storage Consolidation
• Supplier to Business & Home retail space
• MegaGrid Concept• Many Servers in One Grid
• Many Cluster Databases
• Drives Consolidation, Scalability & Flexibility at Dell IT
• Add Capacity on Demand to individual Cluster Databases
• Software • Software
• Oracle Real Application Clusters
• Oracle Clusterware
• Oracle Automatic Storage Management (ASM)
• Oracle Enterprise Manager – Grid Control
• RH3, SLES10
• Hardware
• Dell 2850 & 2950 (2 CPU, dual core, 16GB RAM, 4 NICs, 2 HBAs)
• EMC DMX, Clarion, NAS
• Drivers for the implementation of RAC
• Consolidation - eliminate silo’d infrastructure across business units
• Improved supportability
• Strategic agility
• Improved infrastructure ROI
• Low system resource utilization across business units• Low system resource utilization across business units
• 5-10% utilization
• RAC Implementation Benefits• 3 to 5-fold improvement in system resource utilization
• Further improvements easily attainable
• Time-to-wire reduced from 8 weeks to 2 days
• Flat head counts
• Doing more with less
European Order
Management System• Oracle 11i EBS
• 10,000 TPS, 3 TB
• Already scaled up to meet additional demand
11i PCP11i Web/Forms/PCPMidtier
DBOLTP/Batch Concurrent Processing DW
10 node Dell Power Edge 6650 (4 way IA32)
11i PCP11i Web/Forms/PCPMidtier
12 node Dell Power Edge 6650 (2 way IA32)
Tactics for Achieving SuccessGrid’s Strong Suit
• Consolidation
• Standardization
• Pay-as-you-grow Scale Out• Pay-as-you-grow Scale Out
• Administrative Streamlining
• Setting, Tracking and Exceeding Service Level
Objectives
Standardization: Vendor Consolidation one vendor, single solution
• Oracle’s Grid consists of a full, feature-rich stack
• Functionality and robustness matured, tested and proven over last nine years
• Simplifies environment and management
• Oracle single vendor, OEM single
Clusterware
File System
Database
Multi-vendor Stack
Oracle Consolidated Stack
Oracle Clusterware
File System - ACFS
RAC – 11gR2
Oracle Consolidated Stack
• Oracle single vendor, OEM single mgt console
• Upgrades and Patching simplified, streamlined
• Fewer contracts, renewals, vendor interdependencies
• Eliminates obstacles to timely upgrades - can only upgrade as fast as the last piece in the stack is certified with all the others
File System
Volume Mgt
O/S
Hardware
File System - ACFS
Volume Manager ASM
O/S – OracleEnterprise Linux
Hardware
Standardization: Single Stack Value
• Reduced complexity
• Simplified solution stack reduces finger pointing, accelerates problem resolution
• Increases utilization and database and application uptime• No down-time for storage provisioning or migration
• Managing storage pool vs. islands• Managing storage pool vs. islands
• Single vendor cross-platform integrated solution• Bundled and tested as one solution
• Same cross platform tools to install, configure and manage
• Avoids delays of upgrading any single element because of multi-vendor certifications
� Allstate is the US’s largest publicly held personal lines insurer of homes and autos, 70,000 professionals with technology operations ww
� Savings – Oracle Clusterware is free
� Manageability – easier management with 1 cluster solution
� Storage Manageability
� ASM eliminated the storage headaches of a fast growing data warehouse
� Use autoextend without fear of filling up limited mount points
Allstate: 100% Oracle Stack
� Use autoextend without fear of filling up limited mount points
� Balanced and tuned I/O--New data spread across all disks rather than recently added storage
Instances
Oracle Clusterware
Instance Instance Instance Instance Instance
Automatic Storage Management
Hardware / Operating System Kernel
Oracle Clusterware
Instance Instance Instance Instance Instance
Third Party Clusterware
Third Party Storage Managment
Hardware / Operating System Kernel
Tactics for Achieving SuccessGrid’s Strong Suit
• Consolidation
• Standardization
• Pay-as-you-grow Scale Out• Pay-as-you-grow Scale Out
• Administrative Streamlining
• Setting, Tracking and Exceeding Service Level
Objectives
Grid lets you scale as you need toBeats SMP Premium, Pay as you Grow
Year 1 Year 2 Year 3 Year 4 Year 5
Large SMP
High Upfront Cost Diminishing ReturnsHigh Ongoing Maintenance Costs
RAC Cluster
High Upfront Cost
Low Cost Building Blocks Greener and More Powerful
+ +
Lowest TCO
Diminishing ReturnsHigh Ongoing Maintenance Costs
Scale Out as you Grow on Low Cost Hardware
Applications A, B, C, D, E
NetWorkload
If utilization too high,increase capacity
• Pay-as-you-grow scale-out
• Lower upfront CapEx and ongoing OpEx
• Green footprint
• Right-sized capacity planning
Oracle Shared Instance
• Right-sized capacity planning
• Smaller, standard machines running at higher utilization
• Defer equipment procurement
• Take advantage of advances in hardware price-performance and energy efficiency
Server A Server B Server C Server D
• World-class clustering at all levels: database, middleware, storage
• Scale out as workload increases
• Add/Remove nodes on-demand
Scale-out on-demand
New with
11.2
2004Add 8-way server
2 16-way servers
Oracle9i RAC (5 nodes) RAC8CPU
RAC8CPU
RAC8CPU
RAC8CPU
RAC8CPU
LPAR
Active16CPU
Standby16CPU
2002
Oracle9i Database Active-Standby
(2 (2 servers, 16 “active” cpu’s)servers, 16 “active” cpu’s)
8CPU
Oracle RAC 10g (7 nodes) Add 16-way server
8CPU 8CPU2006
Summer
Oracle RAC Pay as you grow: Rakuten Travel
8CPU8CPU 8CPU 8CPU
Summer
8CPU
8CPU
8CPU
8CPU 8CPU
2006Fall
Oracle RAC 10g (7 nodes)
8CPU
8CPUNew Services Deployed on Cluster
8CPU
8CPU
Add new Services
4CPU
8CPU
4CPU
4CPU
2008
Winter
8CPU
8CPU
8CPU
8CPU
Oracle RAC 11g (10 nodes)
100% Oracle Stack
Adopted ASM for better manageability
8CPU
8CPU
Tactics for Achieving SuccessGrid’s Strong Suit
• Consolidation
• Standardization
• Pay-as-you-grow Scale Out• Pay-as-you-grow Scale Out
• Administrative Streamlining
• Setting, Tracking and Exceeding Service Level
Objectives
Administrative Streamlining
• Easy Installation
• Standard infrastructure
• Fewer elements – especially hetergeneous, multiple vendor combinations
over 40% time savings
with 11gr2
combinations
• Automation – manage by exception when things go wrong or policies violated
• Role-based tools and division of responsibilities – less reliance on cross-role dependencies
Cluster Health ManagerRoot Cause Analysis at Cluster and System Level
• Proactively analyze cluster state and health
• Root cause
analysis
• Predict • Predict
failures
• Prevent
failures
• Future: Automatically and proactively repair issues
EM Grid Management
• EM is able to manage the full stack, including Oracle Clusterware
• Manage and monitor
clusterware components
• Manage and monitor • Manage and monitor
application resources
• Automatic discovery of
targets as they join the
cluster
• Support for ACFS
• Role-based Configuration Assistant for ASM and ACFS
Tactics for Achieving SuccessGrid’s Strong Suit
• Consolidation
• Standardization
• Pay-as-you-grow Scale Out• Pay-as-you-grow Scale Out
• Administrative Streamlining
• Setting, Tracking and Exceeding Service Level
Objectives
Setting, Tracking and Exceeding SLOs
• Oracle Enterprise Manager is the comprehensive
framework for establishing and tracking service goals
Highest Quality of Service with Grid Computing
Applications A, B, C, D, E
NetWorkload
• Reliability through redundancy
• High availability – every application gets HA
• Predictable performance at any scale
Oracle Shared Instance
• Easy to allocate more or less resource to various workloads to manage SLA compliance
• Rolling upgrades/patches cascade through grid – no planned user downtime –
Server A Server B Server C Server D
• Load balancing
• Failover
• Active-Active operation
• Rolling upgrades
High performance and availability
Server E
Oracle’s Maximum Availability Architecture
Server Failures
Data Failures
UnplannedDowntime
Ora
cle
MA
A B
es
t Pra
ctic
es
Oracle Grid Architecture
RAC , ASM and Clusterware
FlashbackASM
Recovery Manager
Secure Backup
Service Migration
Metro- and Wide-
Database & Middle Tier
System Changes
Data Changes
PlannedDowntime
Ora
cle
MA
A B
es
t Pra
ctic
es
Online Redefinition
Active Data Guard
Recovery Manager Metro- and Wide-area Clusters
Oracle Grid Architecture
Rolling Upgrades/pathces
Oracle’s Grid Architecture Enables IT to Excel in these Endeavors
• Consolidation
• Standardization
• Pay-as-you-grow Scale Out• Pay-as-you-grow Scale Out
• Administrative Streamlining
• Setting, Tracking and Exceeding Service Level
Objectives