Top Banner
Delivered by: Matthew Zito, Chief Scientist 156 5th Avenue Penthouse New York, NY 10010 P: 646.452.4100 www.gridapp.com You Probably DO Need RAC You Probably DO Need RAC
26

You Probably DO Need RAC - New York Oracle User …nyoug.org/Presentations/2006/September_NYC_Metro_Meeting...Oracle RAC • Oracle RAC is a “shared-something” cluster • RAC

May 20, 2018

Download

Documents

buiminh
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: You Probably DO Need RAC - New York Oracle User …nyoug.org/Presentations/2006/September_NYC_Metro_Meeting...Oracle RAC • Oracle RAC is a “shared-something” cluster • RAC

Delivered by:Matthew Zito, Chief Scientist

156 5th AvenuePenthouse

New York, NY 10010P: 646.452.4100

www.gridapp.com

You Probably DO Need RACYou Probably DO Need RAC

Page 2: You Probably DO Need RAC - New York Oracle User …nyoug.org/Presentations/2006/September_NYC_Metro_Meeting...Oracle RAC • Oracle RAC is a “shared-something” cluster • RAC

Introduction

• Who I Am

• Basics of Clustering and RAC

• The Value of RAC

• RAC Objections

• Q & A

Page 3: You Probably DO Need RAC - New York Oracle User …nyoug.org/Presentations/2006/September_NYC_Metro_Meeting...Oracle RAC • Oracle RAC is a “shared-something” cluster • RAC

Setting the Stage

• What is a Cluster

• Clustering Technologies

• Oracle RAC

• What RAC Looks Like

Page 4: You Probably DO Need RAC - New York Oracle User …nyoug.org/Presentations/2006/September_NYC_Metro_Meeting...Oracle RAC • Oracle RAC is a “shared-something” cluster • RAC

What is a Cluster?

A cluster is a group of servers that act in concert to provide some combination of:

• Improved reliability

• Improved scalability

• Reduced processing costs

Page 5: You Probably DO Need RAC - New York Oracle User …nyoug.org/Presentations/2006/September_NYC_Metro_Meeting...Oracle RAC • Oracle RAC is a “shared-something” cluster • RAC

Clustering Technologies

• Shared-nothing – Each cluster node has no common resource with any other node

• Shared-everything – Each cluster node shares a universal pool of common resources

• Shared-something – Each cluster node shares some resources, but not others

• Active-Passive – Only one cluster node at a time is providing any given service

Page 6: You Probably DO Need RAC - New York Oracle User …nyoug.org/Presentations/2006/September_NYC_Metro_Meeting...Oracle RAC • Oracle RAC is a “shared-something” cluster • RAC

Oracle RAC

• Oracle RAC is a “shared-something”cluster

• RAC nodes share:– Application state awareness (Cache Fusion)– A single set of on-disk data (ASM, OCFS,

etc.)

• RAC provides– Enhanced reliability– Enhanced scalability– Reduced processing cost

Page 7: You Probably DO Need RAC - New York Oracle User …nyoug.org/Presentations/2006/September_NYC_Metro_Meeting...Oracle RAC • Oracle RAC is a “shared-something” cluster • RAC

What RAC Looks Like

Page 8: You Probably DO Need RAC - New York Oracle User …nyoug.org/Presentations/2006/September_NYC_Metro_Meeting...Oracle RAC • Oracle RAC is a “shared-something” cluster • RAC

RAC Objections

• RAC is too complicated

• RAC is too expensive

• Commodity hardware isn’t reliable enough

• RAC doesn’t scale

Page 9: You Probably DO Need RAC - New York Oracle User …nyoug.org/Presentations/2006/September_NYC_Metro_Meeting...Oracle RAC • Oracle RAC is a “shared-something” cluster • RAC

“RAC is too complicated”

• Older versions of RAC required third-party clusterware except on Linux– In 10g, the CRS provides a unified clusterware– Users can still choose third-party clusterware based

on their particular requirements

• RAC is fairly complicated– Adds moving parts– Applications can behave differently under RAC– Adds skillset requirements

• Automation & standardization can help– Make adding and removing nodes seamless– Transparently move processing capacity around

between clusters– Create standardized builds that are easily deployable

Page 10: You Probably DO Need RAC - New York Oracle User …nyoug.org/Presentations/2006/September_NYC_Metro_Meeting...Oracle RAC • Oracle RAC is a “shared-something” cluster • RAC

“Commodity hardware is not as good as high-end servers”

• RAC mitigates most, if not all, of the downsides of using less reliable hardware

• Small commodity hardware is less likely to suffer from resource contention than a large server

• High-end servers were never that reliable to begin with

Page 11: You Probably DO Need RAC - New York Oracle User …nyoug.org/Presentations/2006/September_NYC_Metro_Meeting...Oracle RAC • Oracle RAC is a “shared-something” cluster • RAC

“RAC doesn’t scale”

• 10gR2 RAC on Linux has been demonstrated in a lab to scale linearly to more than 10 nodes

• One of GridApp’s customers using 10gR1 RAC has scaled linearly with a production transactional system up to 9 nodes

• Primarily a leftover objection from Oracle 9i RAC

Page 12: You Probably DO Need RAC - New York Oracle User …nyoug.org/Presentations/2006/September_NYC_Metro_Meeting...Oracle RAC • Oracle RAC is a “shared-something” cluster • RAC

Other RAC Objections & Downsides

• Oracle sometimes claims that RAC is a seamless migration – it is not– Sometimes RAC requires application tuning,

or even rewrites of certain functions to optimally take advantage of its features

– Some applications simply don’t run well with RAC

• RAC requires additional training and education– This is comparable to that required for

Veritas and other active/passive clustering solutions

Page 13: You Probably DO Need RAC - New York Oracle User …nyoug.org/Presentations/2006/September_NYC_Metro_Meeting...Oracle RAC • Oracle RAC is a “shared-something” cluster • RAC

So Why Do I Probably Need RAC?

You probably need RAC because:

• Commodity processing is cheap

• Downtime is expensive

• Incremental scalability is a huge win

• This is where the world is heading

Page 14: You Probably DO Need RAC - New York Oracle User …nyoug.org/Presentations/2006/September_NYC_Metro_Meeting...Oracle RAC • Oracle RAC is a “shared-something” cluster • RAC

Processing is Getting Cheaper…

0

10

20

30

40

50

60

3/15/2000 7/28/2001 12/10/2002 4/23/2004 9/5/2005 1/18/2007

Date

US$

per

TPC

Run

Page 15: You Probably DO Need RAC - New York Oracle User …nyoug.org/Presentations/2006/September_NYC_Metro_Meeting...Oracle RAC • Oracle RAC is a “shared-something” cluster • RAC

…and Servers are Getting Smaller

• 8/23/06 – IDC Server Shipments– Enterprise Servers (>$500k) – down 6.9%– Midrange Servers ($25k-$499k) – down 3.5%– Volume Servers (<$25k) – up 6.2%

• Organizations are dramatically downsizing their average deployed server, while dramatically increasing the total number of servers

Page 16: You Probably DO Need RAC - New York Oracle User …nyoug.org/Presentations/2006/September_NYC_Metro_Meeting...Oracle RAC • Oracle RAC is a “shared-something” cluster • RAC

Server Comparison

1 Sun 690032 cores, 128GB RAM

$1,135,000

5 Dell 685040 cores, 160GB RAM

$139,875

Page 17: You Probably DO Need RAC - New York Oracle User …nyoug.org/Presentations/2006/September_NYC_Metro_Meeting...Oracle RAC • Oracle RAC is a “shared-something” cluster • RAC

Oracle Licensing Comparison

32 cores UltraSparc IVEnterprise Edition

$1,280,000

40 cores XeonEE + RAC

$1,200,000

Page 18: You Probably DO Need RAC - New York Oracle User …nyoug.org/Presentations/2006/September_NYC_Metro_Meeting...Oracle RAC • Oracle RAC is a “shared-something” cluster • RAC

Total Cost

Hardware: $1,135,000 Oracle: $1,280,000Total: $2,415,000

Hardware: $139,875Oracle: $1,200,000Total: $1,339,875

Page 19: You Probably DO Need RAC - New York Oracle User …nyoug.org/Presentations/2006/September_NYC_Metro_Meeting...Oracle RAC • Oracle RAC is a “shared-something” cluster • RAC

Is This a Fair Comparison?

• Aren’t Xeon cores slower than Sun cores?

• What about a backup server for the non-redundant Sun

• What about power, cooling, rack space?

• What about forklift upgrades?

Page 20: You Probably DO Need RAC - New York Oracle User …nyoug.org/Presentations/2006/September_NYC_Metro_Meeting...Oracle RAC • Oracle RAC is a “shared-something” cluster • RAC

Reduction of Downtime

• When a node fails in an Oracle RAC cluster, the other nodes continue processing

• Oracle clients can be configured to seamlessly fail over to surviving nodes

• Active/Passive clusters add additional cost to the cluster, require 2x hardware, increase complexity, and create downtimes on failures

• Forrester- 42% of companies found that one hour of downtime costs them ~$100k

Page 21: You Probably DO Need RAC - New York Oracle User …nyoug.org/Presentations/2006/September_NYC_Metro_Meeting...Oracle RAC • Oracle RAC is a “shared-something” cluster • RAC

Incremental Scalability

• Buy only what you need today– No need to purchase 2x headroom– If original configuration isn’t fast enough,

add more nodes

• Take advantage of the latest technology– Moore’s law works for you, since you can

buy faster servers as released and add them to the cluster

– Incrementally swap out older, slower hardware for faster hardware

Page 22: You Probably DO Need RAC - New York Oracle User …nyoug.org/Presentations/2006/September_NYC_Metro_Meeting...Oracle RAC • Oracle RAC is a “shared-something” cluster • RAC

Where the world is headed

• Commodity processing is the way of the future

• Grid Computing (the real kind), is helping organizations create seamless pools of processing power out of servers

• Increasing complexity in the datacenter is driving companies to release products geared to help organizations standardize, simplify, and automate the management of these complex systems

Page 23: You Probably DO Need RAC - New York Oracle User …nyoug.org/Presentations/2006/September_NYC_Metro_Meeting...Oracle RAC • Oracle RAC is a “shared-something” cluster • RAC

Some Tips for Deploying RAC

• Define a few standard architectures as “certified” RAC builds internally (i.e., 2-node cluster with ASM, 4-node with NFS, etc.)

• Expect to need to invest effort in application tuning to take advantage of RAC

• Get the sytems and storage teams involved and educated on RAC

• Test, test, test

Page 24: You Probably DO Need RAC - New York Oracle User …nyoug.org/Presentations/2006/September_NYC_Metro_Meeting...Oracle RAC • Oracle RAC is a “shared-something” cluster • RAC

GridApp Systems

• Leader in Oracle RAC management and database automation

• Offers the world’s first Oracle RAC appliance – the D2500– Proven reference architecture– Automation to simplify RAC deployment– One-click scalability of RAC clusters– Free RAC licenses– Over 100 deployments

• Headquartered right here in NYC

Page 25: You Probably DO Need RAC - New York Oracle User …nyoug.org/Presentations/2006/September_NYC_Metro_Meeting...Oracle RAC • Oracle RAC is a “shared-something” cluster • RAC

Summary

• RAC offers huge advantages over traditional single-instance environments

• However, RAC is not the seamless transition Oracle sometimes claims

• Plan, document, test, and reap the rewards

Page 26: You Probably DO Need RAC - New York Oracle User …nyoug.org/Presentations/2006/September_NYC_Metro_Meeting...Oracle RAC • Oracle RAC is a “shared-something” cluster • RAC

Q&A