SlideShare una empresa de Scribd logo
1 de 64
Descargar para leer sin conexión
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Oracle Database 12c with
Real Application Clusters (RAC)
High Availability (HA) Best Practices
Markus Michalewicz
Director of Product Management
Oracle Real Application Clusters
July 15, 2014
@OracleRACpm
http://www.linkedin.com/in/markusmichalewicz
http://www.slideshare.net/MarkusMichalewicz
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Program Agenda
1
2
3
4
Introduction & Overview
Bronze-Level HA
Silver-Level HA
Gold & Platinum-Level HA
Oracle RAC & Virtualization
Additional Information
5
6
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Eliminate risk of downtime
and data loss
High Availability (HA) Business Challenges
Reduce cost and increase
return on investment
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
A simplified Two-Step Implementation Approach
Standardize
Set of reference
HA architectures
Reduce costs
Consolidate
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Oracle Maximum Availability Architecture (MAA)
Edition-based Redefinition,
Online Redefinition, DG / GG
– Minimal downtime upgrades & migrations
Active Data Guard
– Data Protection, DR
– Query Offload
GoldenGate
– Active-active replication
– Heterogeneous
Active Replica
RMAN, Oracle Secure Backup
– Backup to disk, tape or cloud
Application Continuity
– Application HA
Global Data Services
– Service Failover / Load Balancing
Enterprise Manager Cloud Control
– Coordinated Site Failover
RAC
– Scalability
– Server HA
Flashback
– Human error
correction
Production Site
ASM
– Storage management
Database
– Core Technology
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Oracle Database 12c MAA
Four Standard Reference Architectures
GOLD
Comprehensive HA and Disaster Protection
Zero or near-zero data loss
SILVER
High Availability (HA) for Recoverable Local Outages
Data protected as of last backup
BRONZE
Single Instance Database, Basic Service Restart
Data protected as of last backup
PLATINUM
Zero Outage for Platinum Ready Applications
Zero data loss
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
BRONZE
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
SILVER
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
GOLD
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
PLATINUM
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Standardize on Clusters
Clusters increase scalability and HA regardless of DB types used later
High Availability
Scalability
License Costs
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Standardize on Oracle RAC
High Availability
Scalability
For all the flexibility you need
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Standardize on Oracle RAC and Oracle Multitenant
High Availability
Scalability
The new standard for consolidation
15
Commonwealth Bank
 The Commonwealth Bank (CBA) is one of Australia’s leading providers of
integrated financial services including retail, business and institutional banking,
funds management, superannuation, insurance, investment and broking services.
The Bank is one of the largest listed companies on the Australian Stock Exchange.
16
Introduction
 In 2007 CBA set out to create an Oracle database shared service offering for the bank
• The offering has been highly successful by several measures
• Oracle-as-a-Service has continued to be developed through several iterations
 Oracle as a Service (OaaS) v1 – went live May 2008
17
 Host many Oracle database applications
on a cluster of hardware
 Processor consolidation
• Run each server hotter
• Take advantage of complimentary workload peaks.
 Higher Availability
• Load balancing
• HA failover for component failure
• Standby DR
• Most apps do not implement these features – too expensive
 Cost Reduction
 Better Service
• Full time experts
• Always on-call
 Reduced Risk
• Whole environment is managed
• Operated as a “business”
Oracle as a Service In A Nutshell
18
Reduce Risk, Improve Time to Market
 For new Projects:
• Remove a phase from the project – infrastructure already in place
• Remove reliance on expensive/scarce SME resources for design and build
• No longer need to manage risk associated with procurement and build
• Time to instantiate a new Production quality environment: 3 months -> 2 minutes.
 Example: New ISV Application introduced into our Online Share Trading platform
• Required to test performance under the workload
& data volume conditions projected in 2 years time.
Dedicated Infrastructure OaaS
Implementation Time 3-4 months few hours
$ Cost to Project Several hundred thousand < $10K
On Project Completion Under-utilized asset remains Environment turned-off
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Program Agenda
1
2
3
4
Introduction & Overview
Bronze-Level HA
Silver-Level HA
Gold & Platinum-Level HA
Oracle RAC & Virtualization
Additional Information
5
6
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
BRONZE
• Minimize the cost of HA
– Use HA features included with Oracle Database
– Utilize backups to protect against media failures
– Secure offsite tape storage (in the cloud) for DR
• Optionally
– Consolidate with Oracle Multitenant
– Use VMs for dedicated resources
– Self-Service provisioning with
Enterprise Manager Database as a Service
Bronze Level High Availability
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
BRONZE
High Availability at the Bronze Tier
Features Integrated with the Oracle Database
Physical Data Protection
Data Corruption Protection
& Oracle ASM (Mirroring)
Human Error Correction
Flashback Technologies: Drop,
Query, Transaction, Table, and
Database
Planned Maintenance
Online Redefinition
Online Reorganization
Edition Based Redefinition
Online File Move
Online Patching
Fast Backup & Recovery
Recovery Manager (RMAN)
Fast Recovery Area
Oracle Secure Backup
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Oracle Database Inherent Protection
Data Corruption Protection
• Oracle Data blocks have a well-defined structure
• Block header is kept consistent with payload
• Enables validation of both physical
and logical intra-block consistency
• Oracle ensures block validity is maintained as it traverses I/O path
• Extensive corruption checks:
• DB_BLOCK_CHECKSUM:
http://docs.oracle.com/cd/E11882_01/server.112/e40402/initparams049.htm
• DB_BLOCK_CHECKING:
http://docs.oracle.com/cd/E18283_01/server.112/e17110/initparams046.htm
• For more information see My Oracle Support (MOS) note 1302539.1
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Oracle Automatic Storage Management (ASM)
3rd Party FSApplication
Automatic Storage Management
ASM Cluster & Single Node File System (ACFS)
Database
ACFS Snapshot
ASM Disk
Group
DB Datafiles, OCR and Voting Files Oracle Binaries 3rd Party File Systems
Dynamic Volume Manager
ASM Instance Managing Oracle
DB Files
• ASM supports ALL data – database files, file systems, Clusterware files (OCR, Voting Disk)
• Built-in mirroring protects from disk failures
• Auto-repair of corrupt blocks using a valid mirror copy
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Small ASM Features – Big Difference
Failure Group repair time
 Similar to existing disk repair time
 Default is 24 hours
 Disk group attribute: failgroup_repair_time
Disk Resync
 Accepts power limit
 Range 1 (least resources)
to 1024 (most resources)
 Checkpoints: failed operations
restart at the last checkpoint
Fast Disk Replacement
 Efficient, atomic operation
 No disk group reorganization required
Data Scrubbing
 Check for logical consistency
(and repair from mirror)
 during rebalance
 areas on demand
 Protects seldom-accessed data
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Fine-grained Table Recovery
From Backup using a simple RMAN command
1 0 1
0 1 0 1 0
1 1 1 0 1 0 0 1
1 0 1 1 0 1 1 1 1 0
0 0 1 0 1 0 0 0 0
1 0 0 1 1 0 1
1 0 1 0
0 1 RMAN
Backups
• One simple RECOVER TABLE command to
• recover one or more tables
• from an RMAN backup (most recent or older)
• Eliminates time and complexity associated
with manual restore, recover & export
• Enables fine-grained point-in-time recovery of
• individual tables
• instead of the contents of the entire tablespace.
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Cross-Platform Backup & Restore
Simplified Platform Migration
11101
10110111101
0010100001
1001
11101
10110111101
0010100001
1001
Source Database (AIX)
Backup
to Disk/Tape
(data files, optional
endian conversion,
metadata export)
Restore Backup
(optional endian
conversion,
metadata import)
Destination Database (Solaris)
• Simplified procedure for platform migration
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Program Agenda
1
2
3
4
Introduction & Overview
Bronze-Level HA
Silver-Level HA
Gold & Platinum-Level HA
Oracle RAC & Virtualization
Additional Information
5
6
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Program Agenda
A
B
C
Silver-Level HA
Free-of-Charge Cluster Features
Stabilize your Cluster
Oracle RAC One Node as a Standard
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
SILVER
Silver Level High Availability
• Active-passive with Oracle RAC One Node
• Automatic failover
• Fast restart on a second node
• Real-time failover & scalability with Oracle RAC
• All nodes active at all times
• Zero downtime rolling maintenance
• Hardware and OS maintenance
• For qualified Oracle Database patches
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Standardize on Clusters
Clusters increase scalability and HA regardless of DB types used later
High Availability
Scalability
License Costs
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Oracle ASM – Overview
Oracle Database 11.2 or earlier configuration
ASM Cluster Pool of Storage
Node2
Disk Group BDisk Group A
Node3 Node5Node4
Shared Disk
Groups
Wide File Striping
One to One
Mapping of ASM
Instances to
Servers
Node1
ASM Instance
Database Instance
ASM Disk
RAC Cluster
DBA DBA DBB DBB DBCDBB
ASM ASM ASM ASM ASM
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Oracle Automatic Storage Management (ASM)
Oracle ASM 12c Standard Deployment
ASM Cluster Pool of Storage
Disk Group BDisk Group AShared Disk
Groups
Wide File Striping
One to One
Mapping of ASM
Instances to
Servers
ASM Instance
Database Instance
ASM Disk
RAC Cluster
Node4Node3Node2Node1 Node5ASM ASM ASM ASM ASM
ASM Instance
Database Instance
DBA DBA DBCDBB DBBDBB
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Introducing Oracle Flex ASM
Removal of One to One Mapping and HA
ASM Cluster Pool of Storage
Disk Group BDisk Group A
Databases share
ASM instances
ASM Instance
Database Instance
ASM Disk
RAC Cluster
Node5Node4Node3Node2Node1
Node1
runs as
ASM
Client to
Node2
Node1
runs as
ASM
Client to
Node4
Node2
runs as
ASM
Client to
Node3
ASM ASM ASM
ASM Instance
DBA DBA DBCDBB DBBDBB
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
ACFS – The ASM based Cluster File System
ACFS is part of Oracle GI, hosts all data and is fully integrated
ASM Cluster Pool of Storage
Disk Group BDisk Group A
Databases share
ASM instances ASM Instance
Database Instance
ASM Disk
Cluster
Node5Node4Node3Node2Node1 ASM ASM ASM
SI
DB
RAC
DBA
RAC
DBA
RAC
DBA
Applications use
ACFS for all data
ACFS ACFSACFS ACFS ACFS
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Program Agenda
A
B
C
Silver-Level HA
Free-of-Charge Cluster Features
Stabilize your Cluster
Oracle RAC One Node as a Standard
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Stabilize your Cluster - Reminder: Network Configuration
vixencomet
racdb1_3 racdb1_4
Oracle GI
Oracle RAC
Oracle GI
Oracle RAC
• Size Interconnect for aggregated throughput
– Foresee approx. 1Gb/sec per 32 cores
• 10GbE or IB are recommended for database
consolidation and large SMP nodes (use HA)
• Bonded 1GbE with load balancing
are most common and supported
– Use same type NICs for LB and failover
– Use different subnets (especially using HAIPs)
• Check for IP & NIC send and receive buffer size
• Use Jumbo frames wherever possible
• Interconnect should be stress
tested usign Iperf or netperf
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Stabilize Your Cluster – Part 1
Avoid number of sessions related resource contention
vixencomet
racdb1_3 racdb1_4
Connection Pool
Oracle GI
Oracle RAC
Oracle GI
Oracle RAC
• Control the number of concurrent sessions
• Foreground processes are in time-share class
• Scheduling delays on high context switch rates
on busy systems may increase the variation in
the cluster traffic times
• More processes imply higher memory
utilization and higher risk of paging
•How to control concurrent sessions:
• Use connection pooling
• Avoid connection storms
(pool and process limits )
• Ensure that load is well-balanced over nodes
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Stabilize Your Cluster – Part 2
Optimize memory locally
• Avoid memory pressure!
– Paging and Swapping activity on one node
affects performance on all nodes
– Severe Paging and Swapping activity on
one node can cause instance evictions
• #1 cause for service disruptions in clusters
• Use Memory Guard
– Oracle Quality of Service Management (QoS)
feature – available in monitoring only mode
– Prevents new connections from coming in to a
server that is already under memory pressure
vixencomet
racdb1_3 racdb1_4
Oracle GI
Oracle RAC
Oracle GI
Oracle RAC
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Stabilize Your Cluster – Part 3
Use Solid State Disks to host swap space
• Use Solid State Disks (SSDs) to host swap
space in order to increase node availability
– Memory pressure can cause node evictions.
– Preventing memory pressure is the solution.
– If prevention is not successful and swapping
is performed by the Operating System (OS),
• hosting the swap space can mitigate the impact that
extensive swapping can have on cluster operations
on the on the affected server(s).
• More information:
– My Oracle Support Note Doc ID: 1671605.1 –
“Use Solid State Disks to host swap space in
order to increase node availability”
vixencomet
racdb1_3 racdb1_4
Oracle GI
Oracle RAC
Oracle GI
Oracle RAC
Swapping
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Stabilize Your Cluster – Part 4
Configure Huge Pages for Oracle RAC
• Use Huge pages for SGA (Linux)
– Dramatic reduction in memory for page tables
– SGA pages pinned in memory
• More information:
– My Oracle Support note 361323.1 –
HugePages on Linux: What It Is... and What It Is Not...
– My Oracle Support note 401749.1 – Shell Script to
Calculate Values Recommended Linux HugePages /
HugeTLB Configuration
• Engineered systems provide templates for
pre-configuration of huge pages for the SGA
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Program Agenda
A
B
C
Silver-Level HA
Free-of-Charge Cluster Features
Stabilize your Cluster
Oracle RAC One Node as a Standard
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Oracle RAC One Node Oracle RAC One Node 12c provides:
1. Best in-class single instance
Oracle Database availability
2. Better database consolidation
3. Better database virtualization
Using
• A standardized and improved
deployment and management
• A familiar and matured HA stack
• Oracle Grid Infrastructure
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Oracle RAC One Node Basic Features
• Oracle RAC One Node is
– an Oracle RAC enabled database
– with only one instance running
under normal operation
• In case of a server or instance failure,
the one running instance is started on
another server in the cluster (failover)
• Online Database Relocation
(Oracle RAC One Node specific feature)
minimizes downtime during scheduled
maintenance operations.
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Oracle RAC One Node vs. Oracle RAC
“Always On” vs. “Always Running”
 Oracle RAC One Node: one instance
per database running at a time
 Oracle RAC: multiple instances
per database running concurrently
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Online Database Relocation for better HA
Oracle RAC One Node-specific functionality that makes the difference
Node3Node2
Oracle (Flex) ASM based pool of shared storage
Node1
Public Network
DBB DBC
Oracle Grid Infrastructure
DBEDBD
DBA
DBAOnline DB Relocation
•Online Database Relocation minimizes downtime
during (scheduled) maintenance operations such as:
•Patching
•Resource re-allocation due to demand
http://www.oracle.com/goto/racone
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Standardize on Oracle RAC (One Node)
To simplify Oracle RAC testing
vixencomet
RON RON_2
Online
upgrade
RON_1
AWR
---
ASH
AWR
---
ASH
Decide
Oracle GI
Oracle RAC
Oracle GI
Oracle RAC
Oracle RAC testing made simple:
1. Standardize on Oracle RAC (One Node)
2. Run tests on Oracle RAC One Node instance
• RAC One Node behaves basically like a single instance
3. Online Upgrade to Oracle RAC for testing only
4. Run tests on Oracle RAC
5. Decide whether the application provides
service goals when load balanced over multiple
active instances
• Identify bottlenecks and tuning actions as required
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Standardize on Oracle RAC (One Node)
The simplest way of converting to RAC: unplug/plug
Node2
CDB Instance 2
Node1
CDB Instance 1
CDB
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Oracle RAC
Oracle RAC 12c provides:
1. Better Business Continuity
and High Availability (HA)
2. Agility and Scalability
3. Cost-effective Workload
Management
Using
• A standardized and improved
deployment and management
• A familiar and matured HA stack
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Program Agenda
1
2
3
4
Introduction & Overview
Bronze-Level HA
Silver-Level HA
Gold & Platinum-Level HA
Oracle RAC & Virtualization
Additional Information
5
6
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Oracle Database 12c MAA
Four Standard Reference Architectures
GOLD
Comprehensive HA and Disaster Protection
Zero or near-zero data loss
SILVER
High Availability (HA) for Recoverable Local Outages
Data protected as of last backup
BRONZE
Single Instance Database, Basic Service Restart
Data protected as of last backup
PLATINUM
Zero Outage for Platinum Ready Applications
Zero data loss
✔
✔
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
GOLD
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
PLATINUM
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Program Agenda
1
2
3
4
Introduction & Overview
Bronze-Level HA
Silver-Level HA
Gold & Platinum-Level HA
Oracle RAC & Virtualization
Additional Information
5
6
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
This is Oracle RAC
Storage Management
1. Oracle ASM
2. Oracle ACFS
Quality of Service
1. Quality of Service
Management (QoS)
2. Application Continuity
High Availability and Scalability
1. Oracle Clusterware
2. Oracle RAC (One Node)
Consolidation
1. Oracle RAC
with Oracle Multitenant
Core
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Optimizing the use of DBs in virtual environments
Bare-Metal Server
DOM-0 Hypervisor
Guest
Dom-0
Guest
Bare-Metal Server
DOM-0Hypervisor
Dom-0
GuestGuest
DBC1DBA1
+1
DBC2 DBA2
+1
Oracle RAC provides additional benefit in any virtual environment
Core
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Optimizing the use of DBs in virtual environments
Guest Guest GuestGuest
DBC1DBA1
+1
DBC2 DBA2
+1
Core
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Providing an alternative to virtual environments
Node1 Node2 NodeNNode..
DBC1DBA1 DBC2 DBA2
+1+1
Core
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Program Agenda
1
2
3
4
Introduction & Overview
Bronze-Level HA
Silver-Level HA
Gold & Platinum-Level HA
Oracle RAC & Virtualization
Additional Information
5
6
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Tools for a Lasting HA Experience
dasher dancer
vixencomet
LOGGERD
sysmond
sysmond
Oracle GI Oracle GI
Oracle GI Oracle GI
sysmond
sysmond
sysmond
LOGGERD
Cluster Health Monitor (CHM) – CHM/OS
1. First failure diagnostics: Collects as much
system metrics and data as feasible
2. Collects system metrics on all
nodes in the cluster synchronized
3. Persistent storage of all
collected data in a database
4. Integrated with Oracle Grid Infrastructure
starting with 11.2.0.2 (12c: uses GIMR)
5. Robust collection in situations
of resource starvation
6. Data dump or visualization
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Tools for a Lasting HA Experience
Guest GuestGuest
DBC1DBA1 DB DBA2
• Trace File Analyzer (TFA)
– Improved comprehensive
first failure diagnostics
collection
– Efficient collection,
packaging and transfer
of data for customers
– Collect for all relevant
components (OS, Grid
Infra., ASM, RDBMS)
– One command to
collect all information
– More information:
MOS note ID 1513912.1
• OraChk
(formerly RACcheck)
– RAC Configuration
Audit Tool
– For details see MOS
note ID 1268927.1
– Checks the Oracle
Database:
– Standalone
Database
– Grid Infrastructure
& RAC
– Maximum
Availability
Architecture
(MAA) Validation
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
More Information: www.oracle.com/goto/rac
• Presentations:
•Oracle RAC 12c Collaborate Best Practices
•http://www.slideshare.net/MarkusMichalewicz/oracle-rac-12c-collaborate-best-practices-ioug-2014-version
•Oracle RAC 12c Practical Performance Management and Tuning
•http://www.slideshare.net/MarkusMichalewicz/oracle-rac-12c-practical-performance-management-and-tuningoow13con8825
•The Oracle RAC Family of Solutions
•http://www.slideshare.net/MarkusMichalewicz/the-oracle-real-application-clusters-rac-family-of-solutions
• White Papers:
•Oracle RAC 12c Best Practices
•http://www.slideshare.net/MarkusMichalewicz/oracle-rac-12c-best-practices
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
• Database and Middleware streams available
• Videos
– Feature different groups and presenters
– Cover a broad range of topics and products
• Oracle RAC PM / Dev contributions so far:
– Oracle Flex Cluster: Optimized Resource Management for the Cloud - Ian Cookson
– Oracle Grid Infrastructure 12c Bundled Agents – Shankar Iyer
– ACFS Product Overview and Use Cases - Ara Shakian
– The Oracle Real Application Clusters (RAC) Family of Solutions - A User Guide – Markus M.
– Next Generation Oracle Automatic Storage Management - Jim Williams
– Implementing DBaaS with Oracle RAC 12c and Quality of Service Management - Mark Scardina
– Oracle RAC Practical Performance Management and Tuning – Markus Michalewicz
Oracle Learning Streams: http://education.oracle.com/streams/
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
• Presentation: Oracle RAC on Extended Distance Clusters
– http://www.slideshare.net/MarkusMichalewicz/oracle-rac-on-extended-distance-clusters
• WP: Oracle Real Application Clusters on Extended Distance Clusters
– http://www.oracle.com/technetwork/database/options/clustering/overview/extendedracversion11-435972.pdf
• WP: Using standard NFS to support a third voting file for extended cluster configurations
– http://www.oracle.com/technetwork/database/database-technologies/clusterware/overview/grid-infra-thirdvoteonnfs-131158.pdf
• Presentation: Oracle Clusterware Node Management and Voting Disks
– http://www.slideshare.net/MarkusMichalewicz/oracle-clusterware-node-management-and-voting-disks
More Information: www.oracle.com/goto/rac
Oracle Database 12c with Real Application Clusters (RAC) High Availability (HA) Best Practices

Más contenido relacionado

Destacado

Oracle Clusterware Node Management and Voting Disks
Oracle Clusterware Node Management and Voting DisksOracle Clusterware Node Management and Voting Disks
Oracle Clusterware Node Management and Voting Disks
Markus Michalewicz
 
Oracle 12c New Features_RAC_slides
Oracle 12c New Features_RAC_slidesOracle 12c New Features_RAC_slides
Oracle 12c New Features_RAC_slides
Saiful
 

Destacado (19)

Oracle Database In-Memory Meets Oracle RAC
Oracle Database In-Memory Meets Oracle RACOracle Database In-Memory Meets Oracle RAC
Oracle Database In-Memory Meets Oracle RAC
 
How to Use Oracle RAC in a Cloud? - A Support Question
How to Use Oracle RAC in a Cloud? - A Support QuestionHow to Use Oracle RAC in a Cloud? - A Support Question
How to Use Oracle RAC in a Cloud? - A Support Question
 
Oracle Clusterware Node Management and Voting Disks
Oracle Clusterware Node Management and Voting DisksOracle Clusterware Node Management and Voting Disks
Oracle Clusterware Node Management and Voting Disks
 
Oracle RAC BP for Upgrade & More by Anil Nair and Markus Michalewicz
Oracle RAC BP for Upgrade & More by Anil Nair and Markus MichalewiczOracle RAC BP for Upgrade & More by Anil Nair and Markus Michalewicz
Oracle RAC BP for Upgrade & More by Anil Nair and Markus Michalewicz
 
Maximizing Oracle RAC Uptime
Maximizing Oracle RAC UptimeMaximizing Oracle RAC Uptime
Maximizing Oracle RAC Uptime
 
Oracle database high availability solutions
Oracle database high availability solutionsOracle database high availability solutions
Oracle database high availability solutions
 
Understanding oracle rac internals part 1 - slides
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slides
 
Oracle Multitenant meets Oracle RAC - IOUG 2014 Version
Oracle Multitenant meets Oracle RAC - IOUG 2014 VersionOracle Multitenant meets Oracle RAC - IOUG 2014 Version
Oracle Multitenant meets Oracle RAC - IOUG 2014 Version
 
Oracle High Availability
Oracle High AvailabilityOracle High Availability
Oracle High Availability
 
Oracle Maximum Availability Architecture
Oracle Maximum Availability ArchitectureOracle Maximum Availability Architecture
Oracle Maximum Availability Architecture
 
Oracle RAC - A Safe Investment into the Future of Your IT
Oracle RAC - A Safe Investment into the Future of Your ITOracle RAC - A Safe Investment into the Future of Your IT
Oracle RAC - A Safe Investment into the Future of Your IT
 
Oracle RAC - Customer Proven Scalability
Oracle RAC - Customer Proven ScalabilityOracle RAC - Customer Proven Scalability
Oracle RAC - Customer Proven Scalability
 
Oracle RAC and Your Way to the Cloud by Angelo Pruscino
Oracle RAC and Your Way to the Cloud by Angelo PruscinoOracle RAC and Your Way to the Cloud by Angelo Pruscino
Oracle RAC and Your Way to the Cloud by Angelo Pruscino
 
Oracle RAC on Extended Distance Clusters - Customer Examples
Oracle RAC on Extended Distance Clusters - Customer ExamplesOracle RAC on Extended Distance Clusters - Customer Examples
Oracle RAC on Extended Distance Clusters - Customer Examples
 
Oracle Database 12c Release 2 - New Features On Oracle Database Exadata Expr...
Oracle Database 12c Release 2 - New Features On Oracle Database Exadata  Expr...Oracle Database 12c Release 2 - New Features On Oracle Database Exadata  Expr...
Oracle Database 12c Release 2 - New Features On Oracle Database Exadata Expr...
 
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
 
RMAN best practices for RAC
RMAN best practices for RACRMAN best practices for RAC
RMAN best practices for RAC
 
10 ways to improve your rman script
10 ways to improve your rman script10 ways to improve your rman script
10 ways to improve your rman script
 
Oracle 12c New Features_RAC_slides
Oracle 12c New Features_RAC_slidesOracle 12c New Features_RAC_slides
Oracle 12c New Features_RAC_slides
 

Más de Markus Michalewicz

Más de Markus Michalewicz (20)

Achieving Continuous Availability for Your Applications with Oracle MAA
Achieving Continuous Availability for Your Applications with Oracle MAAAchieving Continuous Availability for Your Applications with Oracle MAA
Achieving Continuous Availability for Your Applications with Oracle MAA
 
"It can always get worse!" – Lessons Learned in over 20 years working with Or...
"It can always get worse!" – Lessons Learned in over 20 years working with Or..."It can always get worse!" – Lessons Learned in over 20 years working with Or...
"It can always get worse!" – Lessons Learned in over 20 years working with Or...
 
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the CloudOracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
 
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RACThe Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
 
HA, Scalability, DR & MAA in Oracle Database 21c - Overview
HA, Scalability, DR & MAA in Oracle Database 21c - OverviewHA, Scalability, DR & MAA in Oracle Database 21c - Overview
HA, Scalability, DR & MAA in Oracle Database 21c - Overview
 
Oracle Cloud is Best for Oracle Database - High Availability
Oracle Cloud is Best for Oracle Database - High AvailabilityOracle Cloud is Best for Oracle Database - High Availability
Oracle Cloud is Best for Oracle Database - High Availability
 
Oracle Database – Mission Critical
Oracle Database – Mission CriticalOracle Database – Mission Critical
Oracle Database – Mission Critical
 
2020 – A Decade of Change
2020 – A Decade of Change2020 – A Decade of Change
2020 – A Decade of Change
 
Standard Edition High Availability (SEHA) - The Why, What & How
Standard Edition High Availability (SEHA) - The Why, What & HowStandard Edition High Availability (SEHA) - The Why, What & How
Standard Edition High Availability (SEHA) - The Why, What & How
 
Why Use an Oracle Database?
Why Use an Oracle Database?Why Use an Oracle Database?
Why Use an Oracle Database?
 
"Changing Role of the DBA" Skills to Have, to Obtain & to Nurture - Updated 2...
"Changing Role of the DBA" Skills to Have, to Obtain & to Nurture - Updated 2..."Changing Role of the DBA" Skills to Have, to Obtain & to Nurture - Updated 2...
"Changing Role of the DBA" Skills to Have, to Obtain & to Nurture - Updated 2...
 
Oracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONOracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLON
 
MAA for Oracle Database, Exadata and the Cloud
MAA for Oracle Database, Exadata and the CloudMAA for Oracle Database, Exadata and the Cloud
MAA for Oracle Database, Exadata and the Cloud
 
(Oracle) DBA and Other Skills Needed in 2020
(Oracle) DBA and Other Skills Needed in 2020(Oracle) DBA and Other Skills Needed in 2020
(Oracle) DBA and Other Skills Needed in 2020
 
Make Your Application “Oracle RAC Ready” & Test For It
Make Your Application “Oracle RAC Ready” & Test For ItMake Your Application “Oracle RAC Ready” & Test For It
Make Your Application “Oracle RAC Ready” & Test For It
 
MAA Best Practices for Oracle Database 19c
MAA Best Practices for Oracle Database 19cMAA Best Practices for Oracle Database 19c
MAA Best Practices for Oracle Database 19c
 
Best Practices for the Most Impactful Oracle Database 18c and 19c Features
Best Practices for the Most Impactful Oracle Database 18c and 19c FeaturesBest Practices for the Most Impactful Oracle Database 18c and 19c Features
Best Practices for the Most Impactful Oracle Database 18c and 19c Features
 
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?AskTom: How to Make and Test Your Application "Oracle RAC Ready"?
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?
 
Oracle Database Availability & Scalability Across Versions & Editions
Oracle Database Availability & Scalability Across Versions & EditionsOracle Database Availability & Scalability Across Versions & Editions
Oracle Database Availability & Scalability Across Versions & Editions
 
Oracle RAC 19c - the Basis for the Autonomous Database
Oracle RAC 19c - the Basis for the Autonomous DatabaseOracle RAC 19c - the Basis for the Autonomous Database
Oracle RAC 19c - the Basis for the Autonomous Database
 

Último

FULL NIGHT — 9999894380 Call Girls In Delhi Cantt | Delhi
FULL NIGHT — 9999894380 Call Girls In Delhi Cantt | DelhiFULL NIGHT — 9999894380 Call Girls In Delhi Cantt | Delhi
FULL NIGHT — 9999894380 Call Girls In Delhi Cantt | Delhi
SaketCallGirlsCallUs
 
FULL NIGHT — 9999894380 Call Girls In Shivaji Enclave | Delhi
FULL NIGHT — 9999894380 Call Girls In Shivaji Enclave | DelhiFULL NIGHT — 9999894380 Call Girls In Shivaji Enclave | Delhi
FULL NIGHT — 9999894380 Call Girls In Shivaji Enclave | Delhi
SaketCallGirlsCallUs
 
FULL NIGHT — 9999894380 Call Girls In New Ashok Nagar | Delhi
FULL NIGHT — 9999894380 Call Girls In New Ashok Nagar | DelhiFULL NIGHT — 9999894380 Call Girls In New Ashok Nagar | Delhi
FULL NIGHT — 9999894380 Call Girls In New Ashok Nagar | Delhi
SaketCallGirlsCallUs
 
FULL NIGHT — 9999894380 Call Girls In Kishangarh | Delhi
FULL NIGHT — 9999894380 Call Girls In Kishangarh | DelhiFULL NIGHT — 9999894380 Call Girls In Kishangarh | Delhi
FULL NIGHT — 9999894380 Call Girls In Kishangarh | Delhi
SaketCallGirlsCallUs
 
FULL NIGHT — 9999894380 Call Girls In Mahipalpur | Delhi
FULL NIGHT — 9999894380 Call Girls In Mahipalpur | DelhiFULL NIGHT — 9999894380 Call Girls In Mahipalpur | Delhi
FULL NIGHT — 9999894380 Call Girls In Mahipalpur | Delhi
SaketCallGirlsCallUs
 
Call Girls in Sakinaka 9892124323, Vashi CAll Girls Call girls Services, Che...
Call Girls in Sakinaka  9892124323, Vashi CAll Girls Call girls Services, Che...Call Girls in Sakinaka  9892124323, Vashi CAll Girls Call girls Services, Che...
Call Girls in Sakinaka 9892124323, Vashi CAll Girls Call girls Services, Che...
Pooja Nehwal
 
Dubai Call Girls Service # +971588046679 # Call Girls Service In Dubai # (UAE)
Dubai Call Girls Service # +971588046679 # Call Girls Service In Dubai # (UAE)Dubai Call Girls Service # +971588046679 # Call Girls Service In Dubai # (UAE)
Dubai Call Girls Service # +971588046679 # Call Girls Service In Dubai # (UAE)
Business Bay Call Girls || 0529877582 || Call Girls Service in Business Bay Dubai
 
(9711106444 )🫦#Sexy Desi Call Girls Noida Sector 4 Escorts Service Delhi 🫶
(9711106444 )🫦#Sexy Desi Call Girls Noida Sector 4 Escorts Service Delhi 🫶(9711106444 )🫦#Sexy Desi Call Girls Noida Sector 4 Escorts Service Delhi 🫶
(9711106444 )🫦#Sexy Desi Call Girls Noida Sector 4 Escorts Service Delhi 🫶
delhimunirka444
 
Bobbie goods coloring book 81 pag_240127_163802.pdf
Bobbie goods coloring book 81 pag_240127_163802.pdfBobbie goods coloring book 81 pag_240127_163802.pdf
Bobbie goods coloring book 81 pag_240127_163802.pdf
MARIBEL442158
 
Massage And Sex Call Girls In Chandigarh 9053900678 Chandigarh Call Girls
Massage And Sex Call Girls In Chandigarh 9053900678 Chandigarh Call GirlsMassage And Sex Call Girls In Chandigarh 9053900678 Chandigarh Call Girls
Massage And Sex Call Girls In Chandigarh 9053900678 Chandigarh Call Girls
Chandigarh Call girls 9053900678 Call girls in Chandigarh
 
FULL NIGHT — 9999894380 Call Girls In Saket | Delhi
FULL NIGHT — 9999894380 Call Girls In Saket | DelhiFULL NIGHT — 9999894380 Call Girls In Saket | Delhi
FULL NIGHT — 9999894380 Call Girls In Saket | Delhi
SaketCallGirlsCallUs
 
FULL NIGHT — 9999894380 Call Girls In Najafgarh | Delhi
FULL NIGHT — 9999894380 Call Girls In Najafgarh | DelhiFULL NIGHT — 9999894380 Call Girls In Najafgarh | Delhi
FULL NIGHT — 9999894380 Call Girls In Najafgarh | Delhi
SaketCallGirlsCallUs
 

Último (20)

FULL NIGHT — 9999894380 Call Girls In Delhi Cantt | Delhi
FULL NIGHT — 9999894380 Call Girls In Delhi Cantt | DelhiFULL NIGHT — 9999894380 Call Girls In Delhi Cantt | Delhi
FULL NIGHT — 9999894380 Call Girls In Delhi Cantt | Delhi
 
FULL NIGHT — 9999894380 Call Girls In Shivaji Enclave | Delhi
FULL NIGHT — 9999894380 Call Girls In Shivaji Enclave | DelhiFULL NIGHT — 9999894380 Call Girls In Shivaji Enclave | Delhi
FULL NIGHT — 9999894380 Call Girls In Shivaji Enclave | Delhi
 
THE ARTS OF THE PHILIPPINE BALLET PRESN
THE ARTS OF  THE PHILIPPINE BALLET PRESNTHE ARTS OF  THE PHILIPPINE BALLET PRESN
THE ARTS OF THE PHILIPPINE BALLET PRESN
 
GENUINE EscoRtS,Call Girls IN South Delhi Locanto TM''| +91-8377087607
GENUINE EscoRtS,Call Girls IN South Delhi Locanto TM''| +91-8377087607GENUINE EscoRtS,Call Girls IN South Delhi Locanto TM''| +91-8377087607
GENUINE EscoRtS,Call Girls IN South Delhi Locanto TM''| +91-8377087607
 
FULL NIGHT — 9999894380 Call Girls In New Ashok Nagar | Delhi
FULL NIGHT — 9999894380 Call Girls In New Ashok Nagar | DelhiFULL NIGHT — 9999894380 Call Girls In New Ashok Nagar | Delhi
FULL NIGHT — 9999894380 Call Girls In New Ashok Nagar | Delhi
 
Editorial sephora annual report design project
Editorial sephora annual report design projectEditorial sephora annual report design project
Editorial sephora annual report design project
 
FULL NIGHT — 9999894380 Call Girls In Kishangarh | Delhi
FULL NIGHT — 9999894380 Call Girls In Kishangarh | DelhiFULL NIGHT — 9999894380 Call Girls In Kishangarh | Delhi
FULL NIGHT — 9999894380 Call Girls In Kishangarh | Delhi
 
FULL NIGHT — 9999894380 Call Girls In Mahipalpur | Delhi
FULL NIGHT — 9999894380 Call Girls In Mahipalpur | DelhiFULL NIGHT — 9999894380 Call Girls In Mahipalpur | Delhi
FULL NIGHT — 9999894380 Call Girls In Mahipalpur | Delhi
 
VIP Ramnagar Call Girls, Ramnagar escorts Girls 📞 8617697112
VIP Ramnagar Call Girls, Ramnagar escorts Girls 📞 8617697112VIP Ramnagar Call Girls, Ramnagar escorts Girls 📞 8617697112
VIP Ramnagar Call Girls, Ramnagar escorts Girls 📞 8617697112
 
Call Girls in Sakinaka 9892124323, Vashi CAll Girls Call girls Services, Che...
Call Girls in Sakinaka  9892124323, Vashi CAll Girls Call girls Services, Che...Call Girls in Sakinaka  9892124323, Vashi CAll Girls Call girls Services, Che...
Call Girls in Sakinaka 9892124323, Vashi CAll Girls Call girls Services, Che...
 
Moradabad Call Girls - 📞 8617697112 🔝 Top Class Call Girls Service Available
Moradabad Call Girls - 📞 8617697112 🔝 Top Class Call Girls Service AvailableMoradabad Call Girls - 📞 8617697112 🔝 Top Class Call Girls Service Available
Moradabad Call Girls - 📞 8617697112 🔝 Top Class Call Girls Service Available
 
Dubai Call Girls Service # +971588046679 # Call Girls Service In Dubai # (UAE)
Dubai Call Girls Service # +971588046679 # Call Girls Service In Dubai # (UAE)Dubai Call Girls Service # +971588046679 # Call Girls Service In Dubai # (UAE)
Dubai Call Girls Service # +971588046679 # Call Girls Service In Dubai # (UAE)
 
(9711106444 )🫦#Sexy Desi Call Girls Noida Sector 4 Escorts Service Delhi 🫶
(9711106444 )🫦#Sexy Desi Call Girls Noida Sector 4 Escorts Service Delhi 🫶(9711106444 )🫦#Sexy Desi Call Girls Noida Sector 4 Escorts Service Delhi 🫶
(9711106444 )🫦#Sexy Desi Call Girls Noida Sector 4 Escorts Service Delhi 🫶
 
(NEHA) Call Girls Mumbai Call Now 8250077686 Mumbai Escorts 24x7
(NEHA) Call Girls Mumbai Call Now 8250077686 Mumbai Escorts 24x7(NEHA) Call Girls Mumbai Call Now 8250077686 Mumbai Escorts 24x7
(NEHA) Call Girls Mumbai Call Now 8250077686 Mumbai Escorts 24x7
 
Mayiladuthurai Call Girls 8617697112 Short 3000 Night 8000 Best call girls Se...
Mayiladuthurai Call Girls 8617697112 Short 3000 Night 8000 Best call girls Se...Mayiladuthurai Call Girls 8617697112 Short 3000 Night 8000 Best call girls Se...
Mayiladuthurai Call Girls 8617697112 Short 3000 Night 8000 Best call girls Se...
 
Bobbie goods coloring book 81 pag_240127_163802.pdf
Bobbie goods coloring book 81 pag_240127_163802.pdfBobbie goods coloring book 81 pag_240127_163802.pdf
Bobbie goods coloring book 81 pag_240127_163802.pdf
 
Hire 💕 8617370543 Mumbai Suburban Call Girls Service Call Girls Agency
Hire 💕 8617370543 Mumbai Suburban Call Girls Service Call Girls AgencyHire 💕 8617370543 Mumbai Suburban Call Girls Service Call Girls Agency
Hire 💕 8617370543 Mumbai Suburban Call Girls Service Call Girls Agency
 
Massage And Sex Call Girls In Chandigarh 9053900678 Chandigarh Call Girls
Massage And Sex Call Girls In Chandigarh 9053900678 Chandigarh Call GirlsMassage And Sex Call Girls In Chandigarh 9053900678 Chandigarh Call Girls
Massage And Sex Call Girls In Chandigarh 9053900678 Chandigarh Call Girls
 
FULL NIGHT — 9999894380 Call Girls In Saket | Delhi
FULL NIGHT — 9999894380 Call Girls In Saket | DelhiFULL NIGHT — 9999894380 Call Girls In Saket | Delhi
FULL NIGHT — 9999894380 Call Girls In Saket | Delhi
 
FULL NIGHT — 9999894380 Call Girls In Najafgarh | Delhi
FULL NIGHT — 9999894380 Call Girls In Najafgarh | DelhiFULL NIGHT — 9999894380 Call Girls In Najafgarh | Delhi
FULL NIGHT — 9999894380 Call Girls In Najafgarh | Delhi
 

Oracle Database 12c with Real Application Clusters (RAC) High Availability (HA) Best Practices

  • 1.
  • 2. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Oracle Database 12c with Real Application Clusters (RAC) High Availability (HA) Best Practices Markus Michalewicz Director of Product Management Oracle Real Application Clusters July 15, 2014 @OracleRACpm http://www.linkedin.com/in/markusmichalewicz http://www.slideshare.net/MarkusMichalewicz
  • 3. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Program Agenda 1 2 3 4 Introduction & Overview Bronze-Level HA Silver-Level HA Gold & Platinum-Level HA Oracle RAC & Virtualization Additional Information 5 6
  • 4. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Eliminate risk of downtime and data loss High Availability (HA) Business Challenges Reduce cost and increase return on investment
  • 5. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. A simplified Two-Step Implementation Approach Standardize Set of reference HA architectures Reduce costs Consolidate
  • 6. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Oracle Maximum Availability Architecture (MAA) Edition-based Redefinition, Online Redefinition, DG / GG – Minimal downtime upgrades & migrations Active Data Guard – Data Protection, DR – Query Offload GoldenGate – Active-active replication – Heterogeneous Active Replica RMAN, Oracle Secure Backup – Backup to disk, tape or cloud Application Continuity – Application HA Global Data Services – Service Failover / Load Balancing Enterprise Manager Cloud Control – Coordinated Site Failover RAC – Scalability – Server HA Flashback – Human error correction Production Site ASM – Storage management Database – Core Technology
  • 7. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Oracle Database 12c MAA Four Standard Reference Architectures GOLD Comprehensive HA and Disaster Protection Zero or near-zero data loss SILVER High Availability (HA) for Recoverable Local Outages Data protected as of last backup BRONZE Single Instance Database, Basic Service Restart Data protected as of last backup PLATINUM Zero Outage for Platinum Ready Applications Zero data loss
  • 8. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. BRONZE
  • 9. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. SILVER
  • 10. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. GOLD
  • 11. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. PLATINUM
  • 12. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Standardize on Clusters Clusters increase scalability and HA regardless of DB types used later High Availability Scalability License Costs
  • 13. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Standardize on Oracle RAC High Availability Scalability For all the flexibility you need
  • 14. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Standardize on Oracle RAC and Oracle Multitenant High Availability Scalability The new standard for consolidation
  • 15. 15 Commonwealth Bank  The Commonwealth Bank (CBA) is one of Australia’s leading providers of integrated financial services including retail, business and institutional banking, funds management, superannuation, insurance, investment and broking services. The Bank is one of the largest listed companies on the Australian Stock Exchange.
  • 16. 16 Introduction  In 2007 CBA set out to create an Oracle database shared service offering for the bank • The offering has been highly successful by several measures • Oracle-as-a-Service has continued to be developed through several iterations  Oracle as a Service (OaaS) v1 – went live May 2008
  • 17. 17  Host many Oracle database applications on a cluster of hardware  Processor consolidation • Run each server hotter • Take advantage of complimentary workload peaks.  Higher Availability • Load balancing • HA failover for component failure • Standby DR • Most apps do not implement these features – too expensive  Cost Reduction  Better Service • Full time experts • Always on-call  Reduced Risk • Whole environment is managed • Operated as a “business” Oracle as a Service In A Nutshell
  • 18. 18 Reduce Risk, Improve Time to Market  For new Projects: • Remove a phase from the project – infrastructure already in place • Remove reliance on expensive/scarce SME resources for design and build • No longer need to manage risk associated with procurement and build • Time to instantiate a new Production quality environment: 3 months -> 2 minutes.  Example: New ISV Application introduced into our Online Share Trading platform • Required to test performance under the workload & data volume conditions projected in 2 years time. Dedicated Infrastructure OaaS Implementation Time 3-4 months few hours $ Cost to Project Several hundred thousand < $10K On Project Completion Under-utilized asset remains Environment turned-off
  • 19. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Program Agenda 1 2 3 4 Introduction & Overview Bronze-Level HA Silver-Level HA Gold & Platinum-Level HA Oracle RAC & Virtualization Additional Information 5 6
  • 20. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. BRONZE • Minimize the cost of HA – Use HA features included with Oracle Database – Utilize backups to protect against media failures – Secure offsite tape storage (in the cloud) for DR • Optionally – Consolidate with Oracle Multitenant – Use VMs for dedicated resources – Self-Service provisioning with Enterprise Manager Database as a Service Bronze Level High Availability
  • 21. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. BRONZE High Availability at the Bronze Tier Features Integrated with the Oracle Database Physical Data Protection Data Corruption Protection & Oracle ASM (Mirroring) Human Error Correction Flashback Technologies: Drop, Query, Transaction, Table, and Database Planned Maintenance Online Redefinition Online Reorganization Edition Based Redefinition Online File Move Online Patching Fast Backup & Recovery Recovery Manager (RMAN) Fast Recovery Area Oracle Secure Backup
  • 22. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Oracle Database Inherent Protection Data Corruption Protection • Oracle Data blocks have a well-defined structure • Block header is kept consistent with payload • Enables validation of both physical and logical intra-block consistency • Oracle ensures block validity is maintained as it traverses I/O path • Extensive corruption checks: • DB_BLOCK_CHECKSUM: http://docs.oracle.com/cd/E11882_01/server.112/e40402/initparams049.htm • DB_BLOCK_CHECKING: http://docs.oracle.com/cd/E18283_01/server.112/e17110/initparams046.htm • For more information see My Oracle Support (MOS) note 1302539.1
  • 23. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Oracle Automatic Storage Management (ASM) 3rd Party FSApplication Automatic Storage Management ASM Cluster & Single Node File System (ACFS) Database ACFS Snapshot ASM Disk Group DB Datafiles, OCR and Voting Files Oracle Binaries 3rd Party File Systems Dynamic Volume Manager ASM Instance Managing Oracle DB Files • ASM supports ALL data – database files, file systems, Clusterware files (OCR, Voting Disk) • Built-in mirroring protects from disk failures • Auto-repair of corrupt blocks using a valid mirror copy
  • 24. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Small ASM Features – Big Difference Failure Group repair time  Similar to existing disk repair time  Default is 24 hours  Disk group attribute: failgroup_repair_time Disk Resync  Accepts power limit  Range 1 (least resources) to 1024 (most resources)  Checkpoints: failed operations restart at the last checkpoint Fast Disk Replacement  Efficient, atomic operation  No disk group reorganization required Data Scrubbing  Check for logical consistency (and repair from mirror)  during rebalance  areas on demand  Protects seldom-accessed data
  • 25. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Fine-grained Table Recovery From Backup using a simple RMAN command 1 0 1 0 1 0 1 0 1 1 1 0 1 0 0 1 1 0 1 1 0 1 1 1 1 0 0 0 1 0 1 0 0 0 0 1 0 0 1 1 0 1 1 0 1 0 0 1 RMAN Backups • One simple RECOVER TABLE command to • recover one or more tables • from an RMAN backup (most recent or older) • Eliminates time and complexity associated with manual restore, recover & export • Enables fine-grained point-in-time recovery of • individual tables • instead of the contents of the entire tablespace.
  • 26. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Cross-Platform Backup & Restore Simplified Platform Migration 11101 10110111101 0010100001 1001 11101 10110111101 0010100001 1001 Source Database (AIX) Backup to Disk/Tape (data files, optional endian conversion, metadata export) Restore Backup (optional endian conversion, metadata import) Destination Database (Solaris) • Simplified procedure for platform migration
  • 27. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Program Agenda 1 2 3 4 Introduction & Overview Bronze-Level HA Silver-Level HA Gold & Platinum-Level HA Oracle RAC & Virtualization Additional Information 5 6
  • 28. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Program Agenda A B C Silver-Level HA Free-of-Charge Cluster Features Stabilize your Cluster Oracle RAC One Node as a Standard
  • 29. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. SILVER Silver Level High Availability • Active-passive with Oracle RAC One Node • Automatic failover • Fast restart on a second node • Real-time failover & scalability with Oracle RAC • All nodes active at all times • Zero downtime rolling maintenance • Hardware and OS maintenance • For qualified Oracle Database patches
  • 30. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Standardize on Clusters Clusters increase scalability and HA regardless of DB types used later High Availability Scalability License Costs
  • 31. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Oracle ASM – Overview Oracle Database 11.2 or earlier configuration ASM Cluster Pool of Storage Node2 Disk Group BDisk Group A Node3 Node5Node4 Shared Disk Groups Wide File Striping One to One Mapping of ASM Instances to Servers Node1 ASM Instance Database Instance ASM Disk RAC Cluster DBA DBA DBB DBB DBCDBB ASM ASM ASM ASM ASM
  • 32. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Oracle Automatic Storage Management (ASM) Oracle ASM 12c Standard Deployment ASM Cluster Pool of Storage Disk Group BDisk Group AShared Disk Groups Wide File Striping One to One Mapping of ASM Instances to Servers ASM Instance Database Instance ASM Disk RAC Cluster Node4Node3Node2Node1 Node5ASM ASM ASM ASM ASM ASM Instance Database Instance DBA DBA DBCDBB DBBDBB
  • 33. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Introducing Oracle Flex ASM Removal of One to One Mapping and HA ASM Cluster Pool of Storage Disk Group BDisk Group A Databases share ASM instances ASM Instance Database Instance ASM Disk RAC Cluster Node5Node4Node3Node2Node1 Node1 runs as ASM Client to Node2 Node1 runs as ASM Client to Node4 Node2 runs as ASM Client to Node3 ASM ASM ASM ASM Instance DBA DBA DBCDBB DBBDBB
  • 34. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. ACFS – The ASM based Cluster File System ACFS is part of Oracle GI, hosts all data and is fully integrated ASM Cluster Pool of Storage Disk Group BDisk Group A Databases share ASM instances ASM Instance Database Instance ASM Disk Cluster Node5Node4Node3Node2Node1 ASM ASM ASM SI DB RAC DBA RAC DBA RAC DBA Applications use ACFS for all data ACFS ACFSACFS ACFS ACFS
  • 35. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Program Agenda A B C Silver-Level HA Free-of-Charge Cluster Features Stabilize your Cluster Oracle RAC One Node as a Standard
  • 36. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Stabilize your Cluster - Reminder: Network Configuration vixencomet racdb1_3 racdb1_4 Oracle GI Oracle RAC Oracle GI Oracle RAC • Size Interconnect for aggregated throughput – Foresee approx. 1Gb/sec per 32 cores • 10GbE or IB are recommended for database consolidation and large SMP nodes (use HA) • Bonded 1GbE with load balancing are most common and supported – Use same type NICs for LB and failover – Use different subnets (especially using HAIPs) • Check for IP & NIC send and receive buffer size • Use Jumbo frames wherever possible • Interconnect should be stress tested usign Iperf or netperf
  • 37. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Stabilize Your Cluster – Part 1 Avoid number of sessions related resource contention vixencomet racdb1_3 racdb1_4 Connection Pool Oracle GI Oracle RAC Oracle GI Oracle RAC • Control the number of concurrent sessions • Foreground processes are in time-share class • Scheduling delays on high context switch rates on busy systems may increase the variation in the cluster traffic times • More processes imply higher memory utilization and higher risk of paging •How to control concurrent sessions: • Use connection pooling • Avoid connection storms (pool and process limits ) • Ensure that load is well-balanced over nodes
  • 38. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Stabilize Your Cluster – Part 2 Optimize memory locally • Avoid memory pressure! – Paging and Swapping activity on one node affects performance on all nodes – Severe Paging and Swapping activity on one node can cause instance evictions • #1 cause for service disruptions in clusters • Use Memory Guard – Oracle Quality of Service Management (QoS) feature – available in monitoring only mode – Prevents new connections from coming in to a server that is already under memory pressure vixencomet racdb1_3 racdb1_4 Oracle GI Oracle RAC Oracle GI Oracle RAC
  • 39. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Stabilize Your Cluster – Part 3 Use Solid State Disks to host swap space • Use Solid State Disks (SSDs) to host swap space in order to increase node availability – Memory pressure can cause node evictions. – Preventing memory pressure is the solution. – If prevention is not successful and swapping is performed by the Operating System (OS), • hosting the swap space can mitigate the impact that extensive swapping can have on cluster operations on the on the affected server(s). • More information: – My Oracle Support Note Doc ID: 1671605.1 – “Use Solid State Disks to host swap space in order to increase node availability” vixencomet racdb1_3 racdb1_4 Oracle GI Oracle RAC Oracle GI Oracle RAC Swapping
  • 40. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Stabilize Your Cluster – Part 4 Configure Huge Pages for Oracle RAC • Use Huge pages for SGA (Linux) – Dramatic reduction in memory for page tables – SGA pages pinned in memory • More information: – My Oracle Support note 361323.1 – HugePages on Linux: What It Is... and What It Is Not... – My Oracle Support note 401749.1 – Shell Script to Calculate Values Recommended Linux HugePages / HugeTLB Configuration • Engineered systems provide templates for pre-configuration of huge pages for the SGA
  • 41. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Program Agenda A B C Silver-Level HA Free-of-Charge Cluster Features Stabilize your Cluster Oracle RAC One Node as a Standard
  • 42. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Oracle RAC One Node Oracle RAC One Node 12c provides: 1. Best in-class single instance Oracle Database availability 2. Better database consolidation 3. Better database virtualization Using • A standardized and improved deployment and management • A familiar and matured HA stack • Oracle Grid Infrastructure
  • 43. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Oracle RAC One Node Basic Features • Oracle RAC One Node is – an Oracle RAC enabled database – with only one instance running under normal operation • In case of a server or instance failure, the one running instance is started on another server in the cluster (failover) • Online Database Relocation (Oracle RAC One Node specific feature) minimizes downtime during scheduled maintenance operations.
  • 44. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Oracle RAC One Node vs. Oracle RAC “Always On” vs. “Always Running”  Oracle RAC One Node: one instance per database running at a time  Oracle RAC: multiple instances per database running concurrently
  • 45. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Online Database Relocation for better HA Oracle RAC One Node-specific functionality that makes the difference Node3Node2 Oracle (Flex) ASM based pool of shared storage Node1 Public Network DBB DBC Oracle Grid Infrastructure DBEDBD DBA DBAOnline DB Relocation •Online Database Relocation minimizes downtime during (scheduled) maintenance operations such as: •Patching •Resource re-allocation due to demand http://www.oracle.com/goto/racone
  • 46. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Standardize on Oracle RAC (One Node) To simplify Oracle RAC testing vixencomet RON RON_2 Online upgrade RON_1 AWR --- ASH AWR --- ASH Decide Oracle GI Oracle RAC Oracle GI Oracle RAC Oracle RAC testing made simple: 1. Standardize on Oracle RAC (One Node) 2. Run tests on Oracle RAC One Node instance • RAC One Node behaves basically like a single instance 3. Online Upgrade to Oracle RAC for testing only 4. Run tests on Oracle RAC 5. Decide whether the application provides service goals when load balanced over multiple active instances • Identify bottlenecks and tuning actions as required
  • 47. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Standardize on Oracle RAC (One Node) The simplest way of converting to RAC: unplug/plug Node2 CDB Instance 2 Node1 CDB Instance 1 CDB
  • 48. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Oracle RAC Oracle RAC 12c provides: 1. Better Business Continuity and High Availability (HA) 2. Agility and Scalability 3. Cost-effective Workload Management Using • A standardized and improved deployment and management • A familiar and matured HA stack
  • 49. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Program Agenda 1 2 3 4 Introduction & Overview Bronze-Level HA Silver-Level HA Gold & Platinum-Level HA Oracle RAC & Virtualization Additional Information 5 6
  • 50. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Oracle Database 12c MAA Four Standard Reference Architectures GOLD Comprehensive HA and Disaster Protection Zero or near-zero data loss SILVER High Availability (HA) for Recoverable Local Outages Data protected as of last backup BRONZE Single Instance Database, Basic Service Restart Data protected as of last backup PLATINUM Zero Outage for Platinum Ready Applications Zero data loss ✔ ✔
  • 51. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. GOLD
  • 52. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. PLATINUM
  • 53. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Program Agenda 1 2 3 4 Introduction & Overview Bronze-Level HA Silver-Level HA Gold & Platinum-Level HA Oracle RAC & Virtualization Additional Information 5 6
  • 54. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. This is Oracle RAC Storage Management 1. Oracle ASM 2. Oracle ACFS Quality of Service 1. Quality of Service Management (QoS) 2. Application Continuity High Availability and Scalability 1. Oracle Clusterware 2. Oracle RAC (One Node) Consolidation 1. Oracle RAC with Oracle Multitenant Core
  • 55. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Optimizing the use of DBs in virtual environments Bare-Metal Server DOM-0 Hypervisor Guest Dom-0 Guest Bare-Metal Server DOM-0Hypervisor Dom-0 GuestGuest DBC1DBA1 +1 DBC2 DBA2 +1 Oracle RAC provides additional benefit in any virtual environment Core
  • 56. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Optimizing the use of DBs in virtual environments Guest Guest GuestGuest DBC1DBA1 +1 DBC2 DBA2 +1 Core
  • 57. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Providing an alternative to virtual environments Node1 Node2 NodeNNode.. DBC1DBA1 DBC2 DBA2 +1+1 Core
  • 58. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Program Agenda 1 2 3 4 Introduction & Overview Bronze-Level HA Silver-Level HA Gold & Platinum-Level HA Oracle RAC & Virtualization Additional Information 5 6
  • 59. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Tools for a Lasting HA Experience dasher dancer vixencomet LOGGERD sysmond sysmond Oracle GI Oracle GI Oracle GI Oracle GI sysmond sysmond sysmond LOGGERD Cluster Health Monitor (CHM) – CHM/OS 1. First failure diagnostics: Collects as much system metrics and data as feasible 2. Collects system metrics on all nodes in the cluster synchronized 3. Persistent storage of all collected data in a database 4. Integrated with Oracle Grid Infrastructure starting with 11.2.0.2 (12c: uses GIMR) 5. Robust collection in situations of resource starvation 6. Data dump or visualization
  • 60. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. Tools for a Lasting HA Experience Guest GuestGuest DBC1DBA1 DB DBA2 • Trace File Analyzer (TFA) – Improved comprehensive first failure diagnostics collection – Efficient collection, packaging and transfer of data for customers – Collect for all relevant components (OS, Grid Infra., ASM, RDBMS) – One command to collect all information – More information: MOS note ID 1513912.1 • OraChk (formerly RACcheck) – RAC Configuration Audit Tool – For details see MOS note ID 1268927.1 – Checks the Oracle Database: – Standalone Database – Grid Infrastructure & RAC – Maximum Availability Architecture (MAA) Validation
  • 61. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. More Information: www.oracle.com/goto/rac • Presentations: •Oracle RAC 12c Collaborate Best Practices •http://www.slideshare.net/MarkusMichalewicz/oracle-rac-12c-collaborate-best-practices-ioug-2014-version •Oracle RAC 12c Practical Performance Management and Tuning •http://www.slideshare.net/MarkusMichalewicz/oracle-rac-12c-practical-performance-management-and-tuningoow13con8825 •The Oracle RAC Family of Solutions •http://www.slideshare.net/MarkusMichalewicz/the-oracle-real-application-clusters-rac-family-of-solutions • White Papers: •Oracle RAC 12c Best Practices •http://www.slideshare.net/MarkusMichalewicz/oracle-rac-12c-best-practices
  • 62. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. • Database and Middleware streams available • Videos – Feature different groups and presenters – Cover a broad range of topics and products • Oracle RAC PM / Dev contributions so far: – Oracle Flex Cluster: Optimized Resource Management for the Cloud - Ian Cookson – Oracle Grid Infrastructure 12c Bundled Agents – Shankar Iyer – ACFS Product Overview and Use Cases - Ara Shakian – The Oracle Real Application Clusters (RAC) Family of Solutions - A User Guide – Markus M. – Next Generation Oracle Automatic Storage Management - Jim Williams – Implementing DBaaS with Oracle RAC 12c and Quality of Service Management - Mark Scardina – Oracle RAC Practical Performance Management and Tuning – Markus Michalewicz Oracle Learning Streams: http://education.oracle.com/streams/
  • 63. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. • Presentation: Oracle RAC on Extended Distance Clusters – http://www.slideshare.net/MarkusMichalewicz/oracle-rac-on-extended-distance-clusters • WP: Oracle Real Application Clusters on Extended Distance Clusters – http://www.oracle.com/technetwork/database/options/clustering/overview/extendedracversion11-435972.pdf • WP: Using standard NFS to support a third voting file for extended cluster configurations – http://www.oracle.com/technetwork/database/database-technologies/clusterware/overview/grid-infra-thirdvoteonnfs-131158.pdf • Presentation: Oracle Clusterware Node Management and Voting Disks – http://www.slideshare.net/MarkusMichalewicz/oracle-clusterware-node-management-and-voting-disks More Information: www.oracle.com/goto/rac