<Insert Picture Here> Oracle Real Application Clusters One Node Better Virtualization for Databases Bob Thome, Oracle Grid Development
Agenda Overview Comparison with VMs and other failover solutions Pricing Positioning vs. other Oracle products Installation Management Demo
Virtualization Value Propositions Ubiquitous interest in virtualization : Directly reduce costs by consolidating servers Reduce server costs, maintenance, floor space, power, cooling Increase flexibility by enabling reshuffling of work on servers (live migration) Claims to provide universal HA Claims to reduce maintenance outages
RAC One Node Better Virtualization for Databases A virtualized single instance database Delivers value of server virtualization to databases on physical servers Live migration of instances across servers Rolling patches for single instance databases Built-in cluster failover for high availability Online upgrade to RAC Standardized deployment across all Oracle databases
RAC One Node Deployment Server A Server B Server C DB1 DB2 DB3 DB4 DB5 Common Shared Storage Single Cluster
Isolation via Instance Caging Instance caging enables administrators to limit cpu cores by instance Protects service levels by preventing runaway cpu consumption Can be adjusted dynamically, while databases are online. Controlled by cpu_count parameter Supports partitioning and overprovisioning cpu Works with Resource Manager RAC One Node D cpu_count=1 RAC One Node C cpu_count=1 RAC One Node B cpu_count=2 RAC One Node A cpu_count=4 8 core server
Omotion Client Connections Server A Server B Server C DB1 DB2 DB3 DB4 DB5 Common Shared Storage Single Cluster
Omotion Client Connections Server A Server B Server C DB1 DB2 DB2 DB3 DB4 DB5 Common Shared Storage Single Cluster
Omotion Client Connections Server A Server B Server C DB1 DB2 DB2 DB3 DB4 DB5 Common Shared Storage Single Cluster
Omotion Client Connections Server A Server B Server C DB1 DB2 DB2 DB3 DB4 DB5 Common Shared Storage Single Cluster
Omotion Client Connections Server A Server B Server C DB1 DB2 DB3 DB4 DB5 Common Shared Storage Single Cluster
Omotion Omotion moves a RAC One Node instance from one server to another without any downtime Use Cases Load balancing Database + OS patching and maintenance Oracle supplied tools control migration Services are not accepting connections on both nodes at the same time Migrated instance shutdown transactional once services moved A maximum of 30 minutes allowed for connections to migrate (then shutdown abort)
Rolling Online Patching Rolling upgradeable RAC patches are also rolling upgradeable with RAC One Node Omotion migration followed by patching When patching complete, the primary instance is brought back online and the secondary instance is shutdown (reverse Omotion)
Cluster Failover Server A Server B Server C DB1 DB2 DB3 DB4 Common Shared Storage Single Cluster
Cluster Failover Server A Server B Server C DB1 DB2 DB3 DB4 Common Shared Storage Single Cluster
Cluster Failover Server A Server B Server C DB1 DB2 DB3 DB4 Common Shared Storage Single Cluster
RAC One Node Provides VM-like Benefits on Physical Server Benefit Feature VMWare RAC One Node Consolidation Server consolidation Yes. Each Guest OS Yes. No additional cpu OS management economies-of-scale Storage virtualization consumes cpu+memory No. Must also manage VM hypervisors No or memory required Yes and consolidation High Availability Failover protection Server Failure only Database and Server Online OS rolling Yes Failure Yes upgrade/patch Online DB rolling patches No Yes Performance VM overhead Yes. 10% - 20% No Server scalability 8 core limit per VM No limit Online scale-up No Yes Online upgrade to RAC No Yes Operational Flexibility Online load balancing Yes Yes Support for all platforms No Yes Standard (single+multi-node) No Yes DB deployment model No
Provides benefit to Virtual Servers RAC-One Node also complements virtual servers Fully supported on Oracle VM Protects against database failures in addition to OS/node failures. Rolling database and OS patching via on-demand VM deployment Enables consolidation of both databases and applications on the same physical server RAC One Node Application Instance OVM RAC One Node ON-DEMAND Instance RAC One Node Instance OVM
RAC One Node Plus OVM A Powerful Combination Benefit Feature VMWare RAC One Node Consolidation Server consolidation Yes Yes OS management economies-of-scale Storage virtualization and consolidation High Availability Failover protection Server Failure only Database and Server OS rolling No No No Yes Failure Yes upgrade/patch DB rolling patches No Yes Performance VM overhead Yes Yes Server scalability 8 core limit per VM 64 core limit per VM Online scale-up No Yes Online upgrade to RAC No Yes Operational Flexibility Online load balancing Yes Yes No Platform support Linux, Window Linux, Windows, Solaris Standard (single+multi-node) No Yes DB deployment model
RAC One Node compares favorably vs. 3 rd party clustering solutions Benefit Feature 3 rd Party Clustering RAC One Node Consolidation Server consolidation Yes Yes OS management economies-of-scale Storage virtualization and consolidation High Availability Failover protection Yes Yes. Faster failover than Online OS rolling upgrade/patch Online DB rolling patches No Yes Performance VM overhead No No Server scalability Yes Yes Online scale-up Yes Yes Online upgrade to RAC No Yes Operational Flexibility Online load balancing No Yes Yes No No Yes Yes Support for all platforms Vendor dependent Yes Standard (single+multi-node) No Yes DB deployment model some 3 rd party clusters Yes
RAC One Node Pricing Oracle RAC One Node is a separately priced option to Oracle Database 11g Release 2 Enterprise Edition $10,000 per processor Eligible for list-to-list upgrade credit when upgrading to full RAC All nodes (except ONE spare node) on which RAC One is installed must be licensed for RAC One Node One node may be specified to be a spare node for cold failover/omotion and need not be licensed under the 10-day use rule Pricing policy mirrors 3 rd -party cold failover policy
When To Use What? Oracle RAC Business critical applications almost zero downtime Performance intensive applications requiring horizontal scalability Database consolidation Oracle RAC One Node Better-than-3 rd -party-clustering HA (Symantec/Veritas, IBM, HP) Failover + Omotion Fits within a single server Online scale-out to multi-node RAC OS and Cluster consolidation Oracle Enterprise Edition Minimal HA requirements tolerate unplanned and planned outages Fits within a single server Minimal growth expected Dedicated hardware
When to Use Data Guard RAC and RAC One Node Designed to protect from local failures Server or instance failure Connect to same database Run on metro cluster for DR Single logical copy of DB provides less protection EE + RAC One Node can be licensed on ONE server Eligible for 10-day rule Data Guard Designed to protect from datacenter failures Disaster, power failure,fire Connect to standby database Can be used to provide HA Failover is potentially more disruptive All Oracle software needs to be licensed on both nodes For best protection, use RAC or RAC One Node with Data Guard
Installing RAC One Node Install Grid Infrastructure on all nodes
Installing RAC One Node Install RAC Install on all nodes where RAC One Node will run
Create a RAC One Node with DBCA Choose RAC Database
Create a RAC One Node with DBCA Choose Admin- Managed Select only one node
Management Tools Command Line tools raconeinit Identifies to the cluster that this is a RAC One Node database and specifies servers for failover raconestatus displays status of RAC One Node databases running in the cluster raconefix fixes metadata after a failure or failover Omotion orchestrates live migration from one node to another Operate with flags (for customer scripting), or in an interactive mode Install RAC One Node via patch on top of 11.2.0.1 RAC installation. Patch includes documentation.
RAC One Node Demo Server rac1 Server rac2 ORCL Free Common Shared ASM Storage Single Cluster
Summary RAC One Node Benefits: Better virtualization for databases Consolidation, workload management, Better HA Plus, online maintenance, and DB failover Better cluster failover Additional value (online migration, online maintenance) Single-vendor solution Ready to scale Online upgrade to multi-node RAC Standardized Environment Common toolset for both single-node and multi-node Oracle database deployments
Q U E S T I O N S A N S W E R S http://otn.oracle.com/rac