oracle real application clusters one...

Post on 15-Mar-2020

5 Views

Category:

Documents

0 Downloads

Preview:

Click to see full reader

TRANSCRIPT

<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

DB1 DB2

Server A

Common Shared Storage

Single Cluster

DB3 DB4 DB5

Server B Server C

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

DB1 DB2

Common Shared Storage

Single Cluster

DB4 DB5DB3

Client Connections

Server A Server B Server C

Omotion

DB1 DB2

Common Shared Storage

Single Cluster

DB2 DB4 DB5DB3

Client Connections

Server A Server B Server C

Omotion

DB1 DB2

Common Shared Storage

Single Cluster

DB2 DB4 DB5DB3

Client Connections

Server A Server B Server C

Omotion

DB1 DB2

Common Shared Storage

Single Cluster

DB2 DB4 DB5DB3

Client Connections

Server A Server B Server C

Omotion

DB1

Common Shared Storage

Single Cluster

DB2 DB4 DB5DB3

Client Connections

Server A Server B Server C

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

DB1 DB2

Server A

Common Shared Storage

Single Cluster

DB3 DB4

Server B Server C

Cluster Failover

DB1 DB2

Server A

Common Shared Storage

Single Cluster

DB3 DB4

Server B Server C

Cluster Failover

DB1 DB2

Server A

Common Shared Storage

Single Cluster

DB4

Server B Server C

DB3

RAC One Node Provides VM-like Benefits on

Physical ServerBenefit Feature VMWare RAC One Node

Consolidation Server consolidation Yes. Each Guest OS

consumes cpu+memory

Yes. No additional cpu

or memory required

OS management

economies-of-scale

No. Must also manage

VM hypervisors

Yes

Storage virtualization

and consolidation

No Yes

High Availability Failover protection Server Failure only Database and Server

Failure

Online OS rolling

upgrade/patch

No Yes

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)

DB deployment model

No Yes

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

OVM OVM

Application RAC One Node

Instance

RAC One Node

Instance

ON-DEMAND

RAC One Node

Instance

RAC One Node Plus OVM – A Powerful

CombinationBenefit Feature VMWare RAC One Node

Consolidation Server consolidation Yes Yes

OS management

economies-of-scale

No No

Storage virtualization

and consolidation

No Yes

High Availability Failover protection Server Failure only Database and Server

Failure

OS rolling

upgrade/patch

No Yes

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

Platform support Linux, Window Linux, Windows, Solaris

Standard (single+multi-node)

DB deployment model

No Yes

RAC One Node compares favorably vs.

3rd party clustering solutionsBenefit Feature 3rd Party Clustering RAC One Node

Consolidation Server consolidation Yes Yes

OS management

economies-of-scale

Yes Yes

Storage virtualization

and consolidation

No Yes

High Availability Failover protection Yes Yes. Faster failover than

some 3rd party clusters

Online OS rolling

upgrade/patch

No Yes

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

Support for all platforms Vendor dependent Yes

Standard (single+multi-node)

DB deployment model

No Yes

RAC One NodePricing

• 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 3rd-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-3rd-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…

ORCL

Server rac1

Common Shared ASM Storage

Single Cluster

Server rac2

Free

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

top related