Beruflich Dokumente
Kultur Dokumente
Agenda
What is RAC? RAC for Scalability RAC for High Availability Consolidation with Oracle Clusterware and RAC RAC as the Grid Infrastructure
<Insert Picture Here>
Benefits Highest Availability On-demand flexible scalability Lower computing costs World record performance
Database
Storage
Users
No Single Point Of Failure
VIP1
VIP2
VIP3
Node1
ASM instance 1 Database instance 1 CRS Operating System
cluster interconnect
Node 2
ASM instance 2 Database instance 2 CRS Operating System
cluster interconnect
Node3
ASM instance 3 Database instance 3 CRS Operating System
...
shared storage
Managed by ASM
Application Server
Application Server
DW
RAC ONE A RAC ONE B RAC ONE C RAC ONE D RAC ONE E RAC ONE F RAC ONE G RAC ONE H RAC ONE I RAC ONE J RAC ONE K RAC ONE L
mycluster.myco.com
Used by clients to connect to any database in the cluster Removes the requirement to change the client connection if cluster changes Load balances across the instances providing a service Provides failover between moved instances
Free
Each cluster will have 3 scan listeners, each having a scanvip defined as cluster resources A SCAN VIP/LISTENER will failover to another node in cluster
Cluster Resources -------------------------------------------ora.LISTENER_SCAN1.lsnr 1 ora.LISTENER_SCAN2.lsnr 1 ora.LISTENER_SCAN3.lsnr 1 ONLINE ONLINE ONLINE ONLINE ONLINE ONLINE node1 node2 node3
jdbc:oracle:thin:@sales1-scan:1521/oltp
Database services
tnsnames.ora GL=(DESCRIPTION= (ADDRESS= (PROT=TCP) (HOST=BLEU) PORT=1521) ) (CONNECT_DATA= (SERVICE_NAME=GL) ) ) tnsnames.ora CRM=(DESCRIPTION= (ADDRESS= (PROT=TCP) (HOST=BLEU) PORT=1521) ) (CONNECT_DATA= (SERVICE_NAME=CRM) ) )
GL
CRM
PROD GL CRM
GL
PROD
CRM
Instance parameter :
SERVICE_NAMES=PROD,GL,CRM
Published services
Application scalability by load balancing work across cluster As workload increases, easily add new node(s) to the cluster Cache Fusion performance improvements with 11g
Batch
Order Entry
Supply Chain
RAC Provisioning
Simple, Accurate, Reliable Capacity on Demand
Gold image based initial RAC and Clusterware provisioning Flexible and Adaptable to your IT environment
New in 11g
Performance expert in a box Identify the most Globally Significant performance problems for the entire Oracle RAC database Database-wide analysis of:
Global cache interconnect issues Global resource contention, e.g. IO bandwidth, hot blocks Globally high-load SQL Skew in instance response times
Instance-Level ADDM
Inst 1
AWR 1
Inst 2
AWR 2
Inst 3 AWR 3
Client connection pool is integrated with Oracle RAC load balancing advisory When application does getConnection, the connection given is the one that will provide the best service.
DW
Mercado Libre
Load Distribution
Customer Service
Newer nodes are faster and have more memory Marketplace workload is not partitioned
Extract Servers
17nodes, 8CPUs, 16-32 GB RAM, 100+ TB, 1Gb IC
High Availability
Removes Server as Single Point of Failure
Integral part of Oracles Maximum Availability Architecture Enables applications to mask component failures in infrastructure
Order Entry Spare Supply Chain
Server Failure
Order Entry
Supply Chain
c c c c c c cc c c
Application
Database Tier
INST Y
APPLICATION TODAY
Trading Application
Pool A
FAN
Pool C
Pool B
Connection Cache
Service A Service C
Service B Service C
2 node RAC
ASM
Notification Callouts
Users can write callout programs that are invoked when notifications occur
Notifications include node up/down, instance up/down, or service up/down
Example usages:
Send email, page Log status info Start / stop programs
a
1 Both nodes running 2
Node 1 shut down/patched/started
EM
a
4
a
3 Nodes in mixed mode
Cluster Consolidation
listener database cluster database 2
At a minimum, one of the machines involved in the cluster must be licensed using the appropriate metric for any Oracle Server Technology product in either its Standard Edition or Enterprise Edition, or all of the machines in the cluster must be supported via Oracle Unbreakable Linux support. A cluster is defined to include all the machines that share the same Oracle Cluster Registry (OCR) and Voting Disk
1 Single Instance
OS/Clusterware Upgrade ? Add Instance
a
4 Move Back to Original Node 3 Failover Clients to New Instance, shutdown original
Consolidated Clusters
8 SKU databases consolidated into two 18 node Linux clusters. ASM provides pooled storage Database consolidation next
Consolidated Clusters
Consolidated Clusters
In case of outage, Data Guard recovers, and work is adjusted over remaining nodes
Grid Architecture
Corporate DW (9i + raw) SAP SEM/BI (9i + ocfsv1) Electricity Dispat. (10g + asm) SAP ISU (10g + asm) Siebel Brazil (10g + asm)
Provisioning Between Systems
Production Servers
Development/Test
Siebel Brazil planned production Feb 07, SAP ISU Mid 07 Provisioning Nodes is Future Plans
Better consolidation
Extreme consolidation of servers & storage Load balancing to protect service levels
Enhanced virtualization
Extends and improves database availability and flexibility when running in a virtual server
Key Attributes:
Instance Caging Single Cluster Shared storage
Server 1
Server 2
Server 3
DB-A
DB-B
DB-C
DB- D
DB- E
Single Cluster
DB-A
DB-B
DB-C
DB-D
DB-E
Single Cluster
DB-A
DB-B
DB-B
DB-C
DB-D
DB-E
Single Cluster
DB-A
DB-B
DB-B
DB-C
DB-D
DB-E
Single Cluster
DB-A
DB-B
DB-B
DB-C
DB-D
DB-E
Single Cluster
DB-A
DB-B
DB-C
DB-D
DB-E
Single Cluster
DB-A
DB-B
DB-C
DB-D
DB-E
Database Binaries
Single Cluster
Database Binaries
Single Cluster
DB-A
DB-B
DB-C
DB-D
DB-E
Single Cluster
DB-A
DB-B
DB-B
DB-C
DB-D
DB-E
Single Cluster
DB-A
DB-B
DB-B
DB-C
DB-D
DB-E
Single Cluster
DB-A
DB-B
DB-B
DB-C
DB-D
DB-E
Single Cluster
DB-A
DB-B
DB-C
DB-D
DB-E
Single Cluster
Server 1
Server 2
Server 3
DB-A
DB-B
DB-C
DB-D
Single Cluster
Server 1
Server 2
Server 3
DB-A
DB-B
DB-C
DB-D
Single Cluster
Key Capabilities:
Database failover Fast storage failover
Server 1
Server 2
Server 3
DB-A
DB-B
DB-C
DB-D
Single Cluster