
Oracle Real Application Clusters (RAC) 12 c. Troy Anthony Database as a Service Centre. Program Agenda. Oracle RAC 12c Overview Oracle RAC 12c for: Better Business Continuity and High Availability Cost-effective Workload Management Standardized Deployment and System Management.
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
Troy AnthonyDatabase as a Service Centre
The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.
Subtitle: Arial, 20 pt, One-Line Max
To ensure that slides are properly formatted to this template, see pages 7 and 8for instructions.
Times
Arial
Oracle RAC 12c provides:
CRM
Oracle Real Application Clusters (RAC)
Oracle EM 12 Cloud Control
Utility Computer
Oracle RAC 12c provides:
Using
CRM
Oracle Real Application Clusters (RAC)
Oracle Grid Infrastructure (GI):
Automatic Storage Management (ASM)
Oracle Clusterware (OCW)
Oracle EM 12 Cloud Control
Oracle Flex ASM
Utility Computer
CRM
Oracle Real Application Clusters (RAC)
Oracle EM 12 Cloud Control
Logs / TFA
Home Provisioning
Different flavors, same management
Oracle RAC
DBA
DBA
DBA
Oracle RAC One Node
Scalability
DBA
DBA
Oracle Restart
Oracle GI
Oracle GI
DBA
Oracle GI
High Availablity
For better availability during maintenance operations
Oracle RAC
DBA
DBA
DBA
Oracle RAC One Node
Scalability
DBA
DBA
Online (rolling) Patch and PSU Application
Oracle GI
Oracle GI
High Availablity
For all the flexibility you need
Oracle RAC
DBA
DBA
DBA
Oracle RAC One Node
Scalability
Online upgrade
DBA
DBA
Oracle Restart
Oracle GI
Oracle GI
Re-configuration to enable cluster
DBA
Oracle GI
Flexibility
For better agility and consolidation
Oracle RAC
DBA
DBA
DBA
Oracle RAC One Node
Agility
DBA
DBA
Oracle Restart
Oracle GI
Oracle GI
DBA
Oracle GI
Consolidation
The new standard for Oracle Database consolidation
Oracle RAC
Oracle RAC One Node
Agility
Oracle GI
Oracle GI
Consolidation
Pre-Oracle Database 12c
CRM
DBA
DBA
DBA
DBA
DBA
Two New Features
Masks Unplanned & Planned Outages
CRM
DBA
✔
DBA
DBA
DBA
DBA
A reliable replay of in-flight work
User selects product from application and purchases it from the web checkout
End User
User transaction arrives at application infrastructure. It makes it’s way through the application tiers and results in a database transaction being created
Application Servers
Network Switches
Database Servers
A reliable replay of in-flight work
End User
The infrastructure hosting the database fails just before the transaction is committed to the database.
Application Servers
Network Switches
Database Servers
A reliable replay of in-flight work
The jdbc driver detects the failure and checks with an available node in the cluster, using “Transaction Guard”, whether the transaction committed or needs to be replayed
End User
Application Servers
If the transaction needs to be replayed, “Application Continuity” will submit all of the inflight work to a surviving node in the cluster and perform a commit. This all happens transparently to the application
Network Switches
Database Servers
A reliable replay of in-flight work
End User
The user receives confirmation that his order has been successfully completed.
Application Servers
Network Switches
Database Servers
Why Oracle Developed ASM
The Simple Idea
Simplify the Stack
Server
Server
Oracle Database
Oracle Database
ASM
File System and Volume Management
Operating System
File System
Logical Volume Manager
Operating System
Oracle Database 11.2 or earlier
RAC Cluster
Node1
Node2
Node3
Node4
Node5
Database Instance
DBA
DBA
DBB
DBB
DBB
DBC
One to One Mapping of ASM Instances to Servers
ASM Instance
ASM
ASM
ASM
ASM
ASM
ASM Cluster Pool of Storage
Shared Disk Groups
Wide File Striping
Disk Group A
Disk Group B
ASM Disk
Oracle ASM 12c Standard Deployment
RAC Cluster
Node1
Node2
Node3
Node4
Node5
Database Instance
Database Instance
DBA
DBA
DBB
DBB
DBB
DBC
One to One Mapping of ASM Instances to Servers
ASM Instance
ASM Instance
ASM
ASM
ASM
ASM
ASM
Shared Disk Groups
Wide File Striping
ASM Cluster Pool of Storage
ASM Disk
Disk Group A
Disk Group B
Removal of One to One Mapping and HA
RAC Cluster
Node1
Node2
Node3
Node4
Node5
Database Instance
DBA
DBA
DBB
DBB
DBB
DBC
Databases share ASM instances
ASM Instance
ASM Instance
ASM
ASM
ASM
Node2 runs as ASM Client to Node3
Node1 runs as ASM Client to Node4
Node1 runs as ASM Client to Node2
Node5 runs as ASM Client to Node4
Shared Disk Groups
Wide File Striping
ASM Cluster Pool of Storage
ASM Disk
Disk Group A
Disk Group B
Remote Access
Pre-Oracle 12c Databases require a local ASM instance
RAC Cluster
RAC Cluster
Node1
Node2
Node3
Node4
Node5
Database Instance
DBA
DBA
DBB
DBB
DBB
DBC
11gDB
Databases share ASM instances
ASM Instance
ASM
ASM
ASM
ASM
ASM
Shared Disk Groups
Wide File Striping
ASM Cluster Pool of Storage
ASM Disk
Disk Group A
Disk Group B
Other Flex ASM features
Disk and disk group operations
Better availability and performance
Highly available workload management
Better High Availability for any cluster
1
2
Customer quote: “Policy-managed; It’s all about the workload”
“Server pools are dynamically adjusted”
EMEA
“Uniform services….don’t care where instances are or their name. All about capacity and workload”
Americas
Americas
“Instances are controlled by min/max combined with services. No more add/drop instance.”
“QoS is critical to our management”
Server Pools that understand and make a difference
Server Attributes
Complex cluster management made predictable
PROD
Action: Move server between pools
What
If?
How it works
The DBA view:
>> srvctl relocate server -servers lnxrac12srv1 -serverpool mail -eval
Database rac will be stopped on node lnxrac12srv1
Server lnxrac12srv1 will be moved from pool ora.prod to pool ora.mail
PROD
The cluster administrator view:
>> crsctleval relocate server lnxrac12srv1 -to ora.mail -f
Stage Group 1:
------------------------------------------------------------------------------
Stage Number Required Action
------------------------------------------------------------------------------
1 Y Server 'lnxrac12srv1' will be moved from pools
[ora.prod] to pools [ora.mail]
2 Y Resource 'ora.rac.db' (1/1) will be in state
[OFFLINE]
------------------------------------------------------------------------------
Action: Move server between pools
[grid@LnxRAC12Srv1 bin]$ ./srvctlconfigsrvpool
...
Server pool name: mail
Importance: 0, Min: 1, Max: 3
...
Candidate server names:
Server pool name: prod
Importance: 0, Min: 1, Max: 2
...
Optimized Flexibility and Agility
The new standard for Oracle Database consolidation
Oracle RAC
Oracle RAC One Node
Agility
Oracle GI
Oracle GI
Consolidation
Start off with a Single Instance, non-CDB
Server
Services
Server
Database Instance
Database Instance
CRM
South
CRM
Reporting
CRM
North
Services
CRM
Convert to a RAC Database, non-CDB
CRM Reporting
Node 1
Node 2
Services
Node 1
RAC Instance 1
RAC Instance 1
RAC Instance 2
CRM
South
CRM
North
Services
CRM
Convert to a CDB RAC Database
Node1
Node2
Services
CDB Instance 1
CDB Instance 2
CRM
CDB
Expand Cluster to Support Flexible Consolidation Model
Node1
Node2
Services
CDB Instance 1
CDB Instance 2
Single SGA per
CDB Instance
DW
HCM
ERP
BI
CRM
Multitenant Container Database (CDB)
Expand Cluster to Support Flexible Consolidation Model
Node1
Node3
Node2
Services
CDB Instance 1
CDB Instance 3
CDB Instance 2
Single SGA per
CDB Instance
DW
HCM
ERP
BI
CRM
Multitenant Container Database (CDB)
Oracle Database 12c
Virtual Machines
Dedicated Databases
Pluggable Databases
share servers, OS and database
share servers and OS
share servers
Increasing Consolidation
Dom-0
Bare-Metal Server
Bare-Metal Server
Virtualization – a Black Box ApproachA simple solution without insight
Guest
Guest
Guest
Guest
DOM-0
Hypervisor
DOM-0
Hypervisor
Dom-0
Bare-Metal Server
Bare-Metal Server
Live Migration = Moving a Black BoxLive Migration moves a black box from one server to another
Live Migration
Guest
Guest
Guest
Guest
DOM-0
Hypervisor
DOM-0
Hypervisor
Dom-0
Bare-Metal Server
Bare-Metal Server
Virtual Machine HA = Restarting a Black BoxVirtual Machine HA restarts / fails over a virtual machine on failure
Guest
Guest
Guest
Guest
DOM-0
Hypervisor
DOM-0
Hypervisor
Dom-0
Bare-Metal Server
Bare-Metal Server
Virtual Machine HA = Restarting a Black BoxBut what if the application needs attention?
?
DBA
Guest
Guest
Guest
DOM-0
Hypervisor
DOM-0
Hypervisor
Dom-0
Bare-Metal Server
Bare-Metal Server
High Availability Requires InsightThe Oracle RAC Stack provides the insight
+1
+1
DBA1
DBC1
DBC2
DBA2
Guest
Guest
Guest
Guest
DOM-0
Hypervisor
DOM-0
Hypervisor
Flexibility and High Availability as demand requires it
Leaf Nodes
Hub Nodes
The new standard for resource management in the cluster
Leaf Nodes
DBB
DBB
DBA
DBA
DBA
Hub Nodes
Better HA clustering for all applications
Start
Stop
DBB
DBB
DBA
DBA
DBA
Subtitle: Arial, 20 pt, One-Line Max
To ensure that slides are properly formatted to this template, see pages 7 and 8for instructions.