Oracle RAC and Your Way to the Cloud by Angelo Pruscino
-
Upload
markus-michalewicz -
Category
Software
-
view
489 -
download
1
description
Transcript of Oracle RAC and Your Way to the Cloud by Angelo Pruscino
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Oracle Real Applica>on Clusters (RAC) Your way to the Cloud
Angelo Pruscino Senior Vice President Oracle RAC Development November 18, 2014
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Safe Harbor Statement The following is intended to outline our general product direc>on. It is intended for informa>on purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or func>onality, and should not be relied upon in making purchasing decisions. The development, release, and >ming of any features or func>onality described for Oracle’s products remains at the sole discre>on of Oracle.
3
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Self-‐ Op>mizing
Self-‐ Protec>ng
Self-‐ Configuring
Self-‐ Healing
Flex Cluster
Client Cluster
Oracle RAC 12c – Designed for the Cloud
4
Client Cluster
With local storage
Client Cluster
With local storage
Client Cluster
Client Cluster
Client Cluster
With local storage Flex Cluster
Flex Cluster
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Pain Points To Solve in the Cloud
• SoWware management (patching) • Maintaining up>me and availability
• Maintaining dependent databases
• Performance tuning and diagnosis
• …
5
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Why? -‐ Because They Are “Money Pits”
6
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. 7
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Oracle Rapid Home Provisioning (RHP) So8ware management for the Cloud
1. Eliminate the need to patch individual databases
2. Update any number of databases with a single command
3. Ensure standardiza>on through gold image lineage
8
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Cluster
Cluster Cluster
Cluster Cluster
Cluster
Oracle Rapid Home Provisioning Centralized and standardized so8ware maintenance
9
Cluster
Local Copy RSYNC
RHP Server
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. 10
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Improving Availability on Architecture Level
11
Node3 Node2 Node1
DBA DBA DBA
Oracle ASM
Oracle Clusterware
ASM ASM ASM
Flex ASM managed shared storage
One Cluster
LeafNodeN LeafNode.. LeafNode1 …Oracle Clusterware
Flex Cluster 12c 12.1.0.1 / 12.1.0.2
<Loosely coupled>
>Tightly coupled<
• Use Cases 1. Consistent Management:
• Apps & DBs in one cluster – Only use case with 12.1
– Outlook for 12.2: • Leaf Nodes hos>ng DBs for (In-‐Memory) Reader Farm – Performance Op>miza>on for read services in cluster • E.g. (OLTP) updates on HUB, instantaneous real >me repor>ng on Leaf Nodes
– Recovery Op>miza>on – Further op>miza>on in DWH
• Architecture – Leaf Nodes
• Act as compute nodes • Depend on HUB nodes • Do not require direct disk access
• U>lize a different heartbeat mechanism
• Do not perform writes – No DML / updates / inserts
• Thus, no Distributed Lock Management (DLM) required
AppA AppA AppB
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Improving Availability on Architecture Level
12
• Use Cases 1. Non-‐shared disk clusters
• Client Clusters don’t require their own shared disk access – Used for applica>on hos>ng
• Only use case in 12.1.0.2
2. GI-‐version independent database clusters – Minimum DB version 12c
• Use case requires 12.2 GI
3. Highly scalable & flexible
• Architecture – Client Clusters
• U>lize (a) central cluster(s) (ideally) for shared services – E.g. Storage Server
• Cost efficiency due to using network connec>ons instead of FC / SAN network
• Represent independent clusters that can be scaled horizontally and ver>cally
• CC can be deployed by means of instan>a>on – VM-‐based, in cloud
• Make use of RHP
Node2 Node1
DBA DBA
Oracle Grid Infrastructure
Node…
DBA
GI
CC2 …
Node2 Node1
DBB DBB
Oracle Grid Infrastructure
Node…
DBB
GI
CC1 …
Client Clusters (CC) in 12.1.0.2+ / mainly 12.2
Node2 Node1
Oracle Clusterware
ASM ASM
Flex ASM Storage
Storage Server
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
RAC’s New Architectures Ensure Scalability on every Level
13
Node2 Node1
DBA DBA
Oracle Grid Infrastructure
Node…
DBA
GI
CC2 …
Node2 Node1
DBB DBB
Oracle Grid Infrastructure
Node…
DBB
GI
CC1 …
Node2 Node1
Oracle Clusterware
ASM ASM
Flex ASM Storage
Storage Server
Centralized Storage Use case: generic
Node2 Node1
DBB DBB
Oracle Grid Infrastructure
Node…
DBB
GI
CC1
ASM VSD
…
Node2 Node1
Oracle Clusterware
ASM ASM
Flex ASM Storage
Storage Server
Local Storage Use case: Cost op5miza5on for certain applica5ons
Node2 Node1
DBB DBB
Oracle Grid Infrastructure
Node…
DBB
GI
CC1
ASM VSD
…
Node2 Node1
Oracle Clusterware
ASM ASM
Flex ASM Storage
Storage Server
Centralized & Local Storage Use case: Read op5miza5on using local storage for some workloads
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Client Cluster
With local storage
Client Cluster
Flex Cluster
RAC’s New Architectures Are the Backbone for the Cloud Use Flex Clusters, Client Clusters, and Client Clusters with local storage as required
14
+1
RHP Server
Storage Server
Client Cluster
With local storage
Flex Cluster
Client Cluster Flex Cluster
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. 15
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
ACFS and a Simple and Free of Charge Approach to Managing Test & Dev Oracle Database Environments
The gDBclone sample script takes databases from any source and duplicates them on the Test & Dev cluster using ACFS snapshots to create space efficient copies.
gDBclone automa>cally converts databases from any type to any type; quickly test your applica>on on a RAC test
database using your SI database produc>on data.
16
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Client Cluster
With local storage
Client Cluster
RAC’s New Architectures Are the Backbone for the Cloud Using the Oracle Database Appliance (ODA) as the building block in the cloud
17
+1
RHP Server
Storage Server
Flex Cluster
Flex Cluster
Flex Cluster Client Cluster
Client Cluster
With local storage
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Test and Development Personality Built Into Every ODA • Instantly provision test/dev environments
• Single-‐instance or RAC • Applica>on VMs and templates
• Space-‐efficient snapshot storage
• Cost-‐effec>ve copy-‐on-‐write snapshots – free func>onality
18
Exadata
3rd-‐Party
ODA Test/Dev
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. 19
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Key Management Challenges Heard from Customers
Management Challenges • ProliferaZon of encrypZon wallets and keys • Authorized sharing of keys • Key availability, retenZon, and recovery • Custody of keys and key storage files
Regulatory Challenges • Physical separaZon of keys from encrypted data • Periodic key rotaZons • Monitoring and audiZng of keys • Long-‐term retenZon of keys and encrypted data
20
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Introducing Oracle Key Vault
• Centralized management of keys, secrets, Oracle Wallets, Java Keystores and more • Op>mized solu>on for Oracle Stack (Database, Middleware, Systems)
• Supports industry standard OASIS KMIP protocol
21
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Client Cluster
Secure RAC in the Cloud Ensure Security, don’t assume it
22
Storage Server
Flex Cluster
Client Cluster
Client Cluster
With local storage
• Secure data in flight and at rest
• Support single network architectures which may be routed and / or insecure.
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. 23
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Autonomous Compu>ng
24
QoS CHM
CHA HngMgr
Policy
Self-‐ Op>mizing
Self-‐ Protec>ng
Self-‐ Configuring
Self-‐ Healing
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Enabling Autonomous Compu>ng Cluster Health Monitor (CHM)/OS & QoS 11.2+
LOGGERD sysmond
CHM/OS
• QoS Support for Measure only with Performance Objec>ves and Alerts
• QoS Support for Measuring and Monitoring Admin-‐Managed Databases
Further QoS & CHM Enhancements in 12.1.0.2
Cluster Health Advisor Coming soon…
25
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
• OraChk – Formerly RACchk or RACcheck – aka ExaChk
• RAC Configura>on Audit Tool – For details see MOS note ID 1268927.1
• Checks Oracle Stack: – Standalone Database – Grid Infrastructure & RAC – Maximum Availability Architecture (MAA) Valida>on
– Oracle Hardware
OraChk – Con>nuous Applica>on of Best Prac>ces
26
Engineered Systems require less initial testing
OraChk
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
• Trace File Analyzer – Improved comprehensive first failure diagnos>cs collec>on
– Efficient collec>on, packaging and transfer of data
– Collect for all relevant components (OS, Grid Infrastructure, ASM, RDBMS), including Exadata cell nodes
– One command to collect all informa>on, from all nodes (or single-‐instance, single-‐node)
• More informa>on: MOS note ID 1513912.1
Trace File Analyzer (TFA) – Diagnos>cs for the Cloud
27
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. 28
Trace File Analyzer (TFA) – Efficiency from A-‐Z
LOGs
LOGs
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Client Cluster
With local storage
Client Cluster
Oracle RAC 12c – Autonomous Compu>ng for the Cloud
29
+1
RHP Server
Client Cluster
With local storage
Storage Server
OraChk
Self-‐ Op>mizing
Self-‐ Protec>ng
Self-‐ Configuring
Self-‐ Healing
Flex Cluster Flex Cluster
Flex Cluster
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. 30
Conclusion
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Client Cluster
With local storage
Client Cluster
RAC + EM 12c = Total Cloud Control Efficient EM based monitoring and management for the cloud
31
+1
RHP Server
Storage Server
Flex Cluster
Flex Cluster
Flex Cluster Client Cluster
Client Cluster
With local storage
Self-‐ Op>mizing
Self-‐ Protec>ng
Self-‐ Configuring
Self-‐ Healing
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. 32
Conclusion
Copyright © 2014 Oracle and/or its affiliates. All rights reserved.
Self-‐ Op>mizing
Self-‐ Protec>ng
Self-‐ Configuring
Self-‐ Healing
Flex Cluster
Client Cluster
Oracle RAC 12c – Ready for the Cloud
33
Client Cluster
With local storage
Client Cluster
With local storage
Client Cluster
Client Cluster
Client Cluster
With local storage Flex Cluster
Flex Cluster