SlideShare a Scribd company logo
1 of 40
Download to read offline
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Oracle Flex Automatic Storage Management: What’s New and Best Practices 
Jim Williams 
ASM Product Manager 
October 1, 2014
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Safe Harbor Statement 
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. 
3
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Program Agenda 
4 
Flex ASM 
Best Practices - Avoiding 3:00 AM calls 
Q & A 
1 
2 
3
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
ASM History 101 
•Provide an integrated volume manager and file system 
•Stripe and mirror files across disks in a ASM Disk Group 
•Automatic “Rebalance” after storage configuration changes 
•Built on the Oracle instance architecture 
•I/O operations DO NOT go through the ASM instance! 
•Manage storage as a global cluster of shared Disk Groups 
The Simple Idea 
5
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
ASM History 101 
The Simple Idea 
6
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
ASM History 101 
The Simple Idea 
Disk1 Disk 2 Disk 3 Disk 4 Disk 5 Disk 6 Disk 7 
Disk Group A Disk Group B 
Database Database Database 
File 1 File 2 
File 3 File 4 
ASM Cluster Pool of Storage 
Oracle 
RAC 
Servers 
ASM 
Instance 
ASM 
Instance 
ASM 
Instance 
ASM 
Instance 
ASM 
Instance 
Database 
Instance 
Database 
Instance 
Database 
Instance 
Database 
Instance 
Database 
Instance 
Shared Disk Groups 
Wide File Striping 
1-1 ASM to Server 
7
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Pre-12c ASM Architecture 
ASM architecture utilized an ASM 
instance on every server 
– Database instances dependent on node-specific 
ASM instances 
– ASM overhead scaled with size of cluster 
– Cluster reconfiguration events increased 
with number of servers in a cluster 
DB1 DB2 DB3 
ASM 
DB1 DB2 DB4 
ASM 
DB1 DB5 DB4 
ASM 
DB1 DB5 DB6 
ASM 
Server Server 
Server Server 
Cluster 
8
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Flex ASM Architecture 
Eliminates requirement for an ASM instance on every cluster server 
–Database instances connect to any ASM instance in the cluster 
–Database instances survive loss of ASM instance 
–Administrators specify the cardinality of ASM instances (default is 3) 
–Clusterware ensures ASM cardinality is maintained 
9
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Flex ASM 
•Increased maximum number of Disk Groups increased to 511 
–Previous limit was 63 
•Replicated physical metadata 
–Improves reliability 
–Virtual metadata has always been replicated with ASM mirroring 
•Replace ASM Disk command 
•Administrators can now specify a Failure Group repair time: 
–Similar to existing disk repair time 
–New disk group attribute - failgroup_repair_time 
–Default setting is 24 hours 
Other Flex Features 
10
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Flex ASM 
•In previous versions, database instances used OS-authentication to connect to ASM 
–This worked because ASM clients and servers were always on the same server 
•With Oracle Database 12c, database instances and ASM servers can be on different servers 
–Flex ASM uses password file authentication 
–Password file is in an ASM Disk Group 
–A default configuration is created when the ASM cluster is configured 
•Databases can use a shared password file as well! 
Remote Access 
11
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Program Agenda 
12 
Flex ASM 
Avoiding 3:00 AM Calls 
Q & A 
1 
2 
3
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Deploying Flex ASM 
Do not accept the default – choose “Advanced Installation” 
•Typical Installation 
–Does not provide an option to use “Flex ASM” 
•Advanced Option 
–Recommended for all configurations 
13
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Deploying Flex ASM 
“Advanced Installation” – Storage Options 
•Four storage options are available: 
1.Standard ASM 
•Pre 12c ASM configuration mode 
2.Oracle Flex ASM 
•Recommended 
3.ASM Client Cluster 
•Ignore for now 
4.Non-ASM managed storage 
14
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Green Field Deployment 
Pre 12c 
Flex ASM 
Isolate Flex ASM deployment 
from pre 12c databases 
– Pre 12c databases require a local 
ASM instance 
– Dedicated Flex ASM cluster 
DB DB DB 
ASM 
Server 
DB DB DB 
ASM 
Server 
DB DB DB 
ASM 
Server 
DB DB DB 
ASM 
Server 
DB DB DB 
ASM 
Server 
DB DB DB 
ASM 
Server 
DB DB DB 
ASM 
Server 
DB DB DB 
Server 
DB DB DB 
ASM 
Server 
DB DB DB 
Server 
ASM 
Pre 
12c 
12c 
15
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Mixed-mode Deployment 
Flex ASM cluster supporting pre-12c 
databases 
– Set cardinality to ALL 
– ASM instance on every server 
– Only 12c database instances can 
reconnect to a surviving ASM instance 
after a server failure 
DB DB DB 
ASM 
Server 
DB DB DB 
Server 
DB DB 
ASM 
Server 
DB DB DB 
Server 
DB DB 
ASM 
Server 
DB DB DB 
Server 
Pre 
12c 
12c 
DB 
DB 
ASM 
ASM 
ASM 
Mixed 
16
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Deploying Flex ASM 
•Less than four nodes 
–ASM instance on every node 
•Four or more nodes 
–Three ASM Instances or ALL if pre 12c databases 
•SRVCTL command for: 
•Checking ASM instance status 
–srvctl status asm 
•Setting cardinality 
–srvctl modify asm –count ALL 
•Starting, stopping, and relocating ASM instances 
–srvctl start asm –n node-name 
–srvctl stop asm –n node-name 
How many ASM instances? 
17
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Deploying Flex ASM 
•Use Automatic Memory Management (AMM) “MEMORY_TARGET” 
–Defaults to 1 GB – adequate for most configurations 
–Exadata uses a custom memory configuration 
•Process Count “PROCESSES” 
–For #_DBs < 10, PROCESSES = 50* #_DBs + 50 
–For #_DBs >= 10, PROCESSES = 10* #_DBs + 450 
–Oracle Exadata environment, the MAX(450 + 10* #_DBs, 1024) 
•See ASM Administration Guide for details on setting 
Memory and Process Count Considerations 
18
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
ASM Diskgroup Configuration 
•ASM_DISKSTRING: search path that ASM uses to discover Disk Groups 
–ASM examines all the devices specified as possible candidates as an ASM Disk 
•When the candidate list is excessively large, Disk Group discovery becomes unnecessarily long causing slow ASM response 
•Default value often is sufficient “/dev/sd*”, but if there is a need to change it, don’t make it too inclusive e.g. “/dev/*” 
Disk Group Discovery 
19
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
ASM Diskgroup Configuration 
•Best practice is DATA, FRA, GRID 
–GRID DG for OCR, Voting File, SPFILE 
–Use External Redundancy for most high-end storage arrays 
•Separate Disk Groups for different storage tiers 
–REDO Disk Group for flash storage 
How many Disk Groups? 
20
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
ASM Diskgroup Configuration 
•How many Failure Groups 
–Engineered systems automatically configure Failure Groups 
–Choose by hardware boundary 
–Use default of disk per Failure Group for small number of ASM Disks 
–Failure Groups must be balanced – equal number of disks in each Failure Group 
•Except Quorum Failure Groups need not be balanced 
–Failure Groups for Extended Clusters need to be site-based and require Quorum Failure Group 
How many Failure Groups? 
21
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
ASM Diskgroup Configuration 
•All disks must be same size for Normal and High Redundancy 
–Similar performance characteristics 
•Minimum disks: 4 times the number of paths for each Disk Group 
–Normal Redundancy Disk Group with 2-way multipathing >= 8 disks 
•Maximum: < 1000 disks in a Disk Group 
–Long disk discovery times and frequent capacity additions with too many disks 
How big and how many disks in a Diskgroup? 
22
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
ASM Disk Groups with Mirroring 
•With ASM Mirroring, the Partner Status Table (PST) is replicated 
–3 copies for Normal Redundancy, and 5 copies for High Redundancy 
–Each copy in separate Failure Groups, special case for <3 FG (Normal) and <5 FG (High) 
•Two Failure Groups are problematic because quorum cannot be established! 
–Create Quorum Failure Group(s) to satisfy PST quorum 
–Quorum Failure Groups are exempt from the homogeneity requirements 
–Quorum Failure need not be large – not used for data 
Quorum Failure Groups 
23
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
ASM Capacity Management 
SELECT name, type, total_mb, free_mb, required_mirror_free_mb, usable_file_mb FROM V$ASM_DISKGROUP_STAT; 
NAME TYPE TOTAL_MB FREE_MB REQUIRED_MIRROR_FREE_MB USABLE_FILE_MB 
DATA NORMAL 51180 42204 10236 15984 
24 
Diskgroup Name 
Redundancy 
Total raw space in Diskgroup 
Unused raw space in Diskgroup 
Largest FG capacity 
Logical space that can be allocated and still have ASM restore redundancy after Failure Group failure 
•USABLE_FILE_MB = (FREE_MB - REQUIRED_MIRROR_FREE_MB) / 2 [normal redundancy]
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
ASM Diskgroup Configuration 
•When creating a new Disk Group, 4 MB AUs provide minor benefit for data warehouse environments 
–AU Size cannot be changed online and requires recreating the Disk Group 
•Don’t invest effort in reconfiguring to accommodate 4 MB AU Disk Groups 
–Variable extents introduced in 11.2 reduce benefit of larger AUs 
–Storage array architecture affects I/O performance benefit of 4 MB AUs 
AU Size 
25
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
ASM Diskgroup Configuration 
•Use External Redundancy if you have complete confidence in your storage 
–A small percentage of customer use Normal Redundancy with high-end storage arrays 
•Mirror data across storage arrays 
•Need to provide Quorum Failure Group for Partner Status Table quorum 
•Always use multi-pathing 
–Provide ASM the MP O/S device path name 
–Set MP timeout to less than clusterware heartbeat timeout (< 120 seconds) 
–MOS note 294869.1 
•Advance COMPATIBLE.ASM to 12.1 
–Replicates physical metadata and makes External Redundancy Disk Groups more resilient to accidental corruption 
Fault Tolerance 
26
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
ASM Diskgroup Configuration 
•Disk Groups are containers with internal “versioned” data structures 
–Support backward compatibility 
–Compatibility settings determines the availability of ASM features (see matrix in ASM admin guide) 
–Disk Group compatible attribute can only be advanced 
•BUT CANNOT BE REVERTED TO PREVIOUS VERSION 
•The COMPATIBLE.ASM attribute must be >= value of other disk group compatibility attributes 
–Advanced with SQL, ASMCA, ASMCMD 
Compatibility Settings 
27
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
ASM Diskgroup Configuration 
•Two new features in 12.1 are support for LUNs larger than 2 TBs and 511 Disk Groups 
–Large LUN support 
•LUNs larger than 2TB require COMPATIBLE.ASM >= 12.1 and COMPATIBLE.RDBMS => 12.1 
•ASM environments planning to use Disk Groups with large LUNs must only have post-12c databases 
–511 Disk Group support: not controlled by any compatibility attribute 
•Disk Group numbers are assigned at mount time (1..511) in the order they are discovered 
•Pre 12c databases cannot access a Disk Group that is numbered greater than 63 
•ASM environments planning to use more than 63 Disk Groups must only have post-12c databases 
12.1 Feature Compatibility 
28
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
ASM Diskgroup Reconfiguration 
•Power determines the number of concurrent I/O operations 
–Highly configuration dependent, but values greater than 32 often have declining benefit with respect to rebalance performance 
–Can be dynamically changed to manage performance impact 
•A “Power” setting can now be used for disk resync (disk online) 
•Administrators can now replace a disk as a fast and efficient operation 
–Disk Group reorganization is not required 
–Replacement disk is populated with copies of ASM extents from online disks 
ASM Power 
29
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Preventing Accidental Corruption 
•The most common cause of corruption is accidental administrative action made to the wrong disk 
–Over writing ASM Disk with a File System 
–Assigning an ASM Disk to an LVM 
•Employ operational procedures that established hard separation between ASM Disks and all others. A few ideas: 
–Unique ASM Disk partitions e.g. /dev/sdu2 
•First partition is small partition that aligns second partition to 1 MB boundary 
•ASM is assigned second partition 
•NEVER use second partitions elsewhere 
•ASM Filter Driver – prevents over writing ASM Disks 
30
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Checking for Corruption 
•Silent data corruption is a fact of life in today’s storage world 
•The database checks for logical consistency when reading data 
–If a logical corruption is detected then automatic recovery can be performed using the ASM mirror copies 
–For seldom accessed data, over time all mirror copies of data could be corrupted 
•With Oracle 12c ASM data can be proactively scrubbed: 
–Scrubbing occurs automatically during rebalance operations 
–Scrubbing of a Disk Groups, individual files, or individual disks 
–ALTER DISKGROUP <NAME> SCRUB [POWER AUTO|LOW|HIGH|MAX]; 
Silent Data Corruption 
31
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Disk Failure 
•Disk and Failure Group Repair Timers 
–Disk Repair Time default value is 3.6 hours 
–Failure Group Repair Time feature provides extra opportunity to avoid unnecessary rebalance – default value is 24 hours 
–ALTER DISKGROUP <NAME> SET ATTRIBUTE 'DISK_REPAIR_TIME' = ‘12H'; 
–DROP AFTER clause of "OFFLINE DISK"|"OFFLINE DISKS IN FAILGROUP“ can be used to reset active timer 
–Timer runs only while Disk Group mounted 
–REPAIR_TIMER column in V$ASM_DISK reflects remaining time 
–When timer expires and the disk is force dropped, you cannot use ONLINE DISK or REPLACE DISK 
Repair Times when mirroring 
32
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Recovery After Disk Failure 
33 
•Normal Redundancy Disk Group with two Failure Groups. 
•USABLE_FILE_MB is negative
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Recovery After Disk Failure 
34 
•What happens when there is a disk failure? 
•ASM takes Disk OFFLINE 
•Timer counts for disk to be DROPPED from Disk Group
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Recovery After Disk Failure 
35 
•After timer expires disk is dropped from Disk Group 
•ASM begins rebalancing Disk Group
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Recovery After Disk Failure 
36 
•Eventually, one disk will become full and allocations in Disk Group cannot be made 
•ASM begins rebalancing Disk Group, but cannot continue because the Disk Group is full.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Recovery After Disk Failure 
37 
•Even adding a new disk cannot allow rebalance of Disk Group to continue because of partnering of individual extents.
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Recovery After Disk Failure 
38 
•Possible solution: 
–Drop the disk that is full (disk E) 
–Then undrop disk after a brief period once some of the extents have been relocated and freed up space
Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | 
Q & A
Oracle Flex ASM - What’s New and Best Practices by Jim Williams

More Related Content

What's hot

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
 

What's hot (20)

Understanding oracle rac internals part 2 - slides
Understanding oracle rac internals   part 2 - slidesUnderstanding oracle rac internals   part 2 - slides
Understanding oracle rac internals part 2 - slides
 
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]
 
Ash architecture and advanced usage rmoug2014
Ash architecture and advanced usage rmoug2014Ash architecture and advanced usage rmoug2014
Ash architecture and advanced usage rmoug2014
 
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
 
Deep review of LMS process
Deep review of LMS processDeep review of LMS process
Deep review of LMS process
 
Exadata master series_asm_2020
Exadata master series_asm_2020Exadata master series_asm_2020
Exadata master series_asm_2020
 
Oracle Performance Tuning Fundamentals
Oracle Performance Tuning FundamentalsOracle Performance Tuning Fundamentals
Oracle Performance Tuning Fundamentals
 
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...
 
TFA Collector - what can one do with it
TFA Collector - what can one do with it TFA Collector - what can one do with it
TFA Collector - what can one do with it
 
Oracle Database performance tuning using oratop
Oracle Database performance tuning using oratopOracle Database performance tuning using oratop
Oracle Database performance tuning using oratop
 
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_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdfOracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
 
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
 
A deep dive about VIP,HAIP, and SCAN
A deep dive about VIP,HAIP, and SCAN A deep dive about VIP,HAIP, and SCAN
A deep dive about VIP,HAIP, and SCAN
 
Oracle ASM 11g - The Evolution
Oracle ASM 11g - The EvolutionOracle ASM 11g - The Evolution
Oracle ASM 11g - The Evolution
 
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
 
Performance Tuning And Optimization Microsoft SQL Database
Performance Tuning And Optimization Microsoft SQL DatabasePerformance Tuning And Optimization Microsoft SQL Database
Performance Tuning And Optimization Microsoft SQL Database
 
Cluster Health Advisor (CHA) Deep Dive by Mark Scardina
Cluster Health Advisor (CHA)  Deep Dive by Mark ScardinaCluster Health Advisor (CHA)  Deep Dive by Mark Scardina
Cluster Health Advisor (CHA) Deep Dive by Mark Scardina
 
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
 
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
Oracle RAC 12c (12.1.0.2) Operational Best Practices - A result of true colla...
 

Viewers also liked

Sharing experience implementing Direct NFS
Sharing experience implementing Direct NFSSharing experience implementing Direct NFS
Sharing experience implementing Direct NFS
Yury Velikanov
 

Viewers also liked (18)

Oracle RAC 12c Release 2 - Overview
Oracle RAC 12c Release 2 - OverviewOracle RAC 12c Release 2 - Overview
Oracle RAC 12c Release 2 - Overview
 
Oracle RAC - Customer Proven Scalability
Oracle RAC - Customer Proven ScalabilityOracle RAC - Customer Proven Scalability
Oracle RAC - Customer Proven Scalability
 
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 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
 
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 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
 
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
 
Flex Your Database on 12c's Flex ASM and Flex Cluster
Flex Your Database on 12c's Flex ASM and Flex ClusterFlex Your Database on 12c's Flex ASM and Flex Cluster
Flex Your Database on 12c's Flex ASM and Flex Cluster
 
Oracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion EditionOracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion Edition
 
Oracle RAC on Extended Distance Clusters - Presentation
Oracle RAC on Extended Distance Clusters - PresentationOracle RAC on Extended Distance Clusters - Presentation
Oracle RAC on Extended Distance Clusters - Presentation
 
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 RAC 12c Collaborate Best Practices - IOUG 2014 version
Oracle RAC 12c Collaborate Best Practices - IOUG 2014 versionOracle RAC 12c Collaborate Best Practices - IOUG 2014 version
Oracle RAC 12c Collaborate Best Practices - IOUG 2014 version
 
Maximizing Oracle RAC Uptime
Maximizing Oracle RAC UptimeMaximizing Oracle RAC Uptime
Maximizing Oracle RAC Uptime
 
Maximize Availability With Oracle Database 12c
Maximize Availability With Oracle Database 12cMaximize Availability With Oracle Database 12c
Maximize Availability With Oracle Database 12c
 
Oracle applications 11i dba faq
Oracle applications 11i dba faqOracle applications 11i dba faq
Oracle applications 11i dba faq
 
Sun oracle-maa-060407
Sun oracle-maa-060407Sun oracle-maa-060407
Sun oracle-maa-060407
 
Aioug sangam13 v3
Aioug sangam13 v3Aioug sangam13 v3
Aioug sangam13 v3
 
Sharing experience implementing Direct NFS
Sharing experience implementing Direct NFSSharing experience implementing Direct NFS
Sharing experience implementing Direct NFS
 

Similar to Oracle Flex ASM - What’s New and Best Practices by Jim Williams

les_01_arch_presentation_asm_oracle_rac_
les_01_arch_presentation_asm_oracle_rac_les_01_arch_presentation_asm_oracle_rac_
les_01_arch_presentation_asm_oracle_rac_
tricantino1973
 
O Racle Asm Best Practices Presentation
O Racle Asm Best Practices PresentationO Racle Asm Best Practices Presentation
O Racle Asm Best Practices Presentation
eraz
 

Similar to Oracle Flex ASM - What’s New and Best Practices by Jim Williams (20)

What's New and Coming in Oracle ASM 12c Rel. 2 - by Jim Williams
What's New and Coming in Oracle ASM 12c Rel. 2 - by Jim WilliamsWhat's New and Coming in Oracle ASM 12c Rel. 2 - by Jim Williams
What's New and Coming in Oracle ASM 12c Rel. 2 - by Jim Williams
 
D81242GC20_les01.pptx
D81242GC20_les01.pptxD81242GC20_les01.pptx
D81242GC20_les01.pptx
 
les12.pdf
les12.pdfles12.pdf
les12.pdf
 
Oracle on vSphere best practices
Oracle on vSphere best practices Oracle on vSphere best practices
Oracle on vSphere best practices
 
les_01_arch_presentation_asm_oracle_rac_
les_01_arch_presentation_asm_oracle_rac_les_01_arch_presentation_asm_oracle_rac_
les_01_arch_presentation_asm_oracle_rac_
 
Less05 asm instance
Less05 asm instanceLess05 asm instance
Less05 asm instance
 
Ibm spectrum scale fundamentals workshop for americas part 4 spectrum scale_r...
Ibm spectrum scale fundamentals workshop for americas part 4 spectrum scale_r...Ibm spectrum scale fundamentals workshop for americas part 4 spectrum scale_r...
Ibm spectrum scale fundamentals workshop for americas part 4 spectrum scale_r...
 
🔴Oracle ASM Filter Driver & ASMLIB & UDEV🔴.pdf
🔴Oracle ASM Filter Driver & ASMLIB & UDEV🔴.pdf🔴Oracle ASM Filter Driver & ASMLIB & UDEV🔴.pdf
🔴Oracle ASM Filter Driver & ASMLIB & UDEV🔴.pdf
 
Les 01 core
Les 01 coreLes 01 core
Les 01 core
 
les_01_core.ppt
les_01_core.pptles_01_core.ppt
les_01_core.ppt
 
Oracle RAC 12c Best Practices Sanger OOW13 [CON8805]
Oracle RAC 12c Best Practices Sanger OOW13 [CON8805]Oracle RAC 12c Best Practices Sanger OOW13 [CON8805]
Oracle RAC 12c Best Practices Sanger OOW13 [CON8805]
 
O Racle Asm Best Practices Presentation
O Racle Asm Best Practices PresentationO Racle Asm Best Practices Presentation
O Racle Asm Best Practices Presentation
 
1Z0-027 Exam-Oracle Exadata Database Machine Administration, Software Release
1Z0-027 Exam-Oracle Exadata Database Machine Administration, Software Release1Z0-027 Exam-Oracle Exadata Database Machine Administration, Software Release
1Z0-027 Exam-Oracle Exadata Database Machine Administration, Software Release
 
IOUG Collaborate 18 - ASM Concepts, Architecture and Best Practices
IOUG Collaborate 18 - ASM Concepts, Architecture and Best PracticesIOUG Collaborate 18 - ASM Concepts, Architecture and Best Practices
IOUG Collaborate 18 - ASM Concepts, Architecture and Best Practices
 
AUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RAC
AUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RACAUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RAC
AUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RAC
 
Using Snap Clone with Enterprise Manager 12c
Using Snap Clone with Enterprise Manager 12cUsing Snap Clone with Enterprise Manager 12c
Using Snap Clone with Enterprise Manager 12c
 
AIOUG-GroundBreakers-Jul 2019 - 19c RAC
AIOUG-GroundBreakers-Jul 2019 - 19c RACAIOUG-GroundBreakers-Jul 2019 - 19c RAC
AIOUG-GroundBreakers-Jul 2019 - 19c RAC
 
Red Hat Ceph Storage Acceleration Utilizing Flash Technology
Red Hat Ceph Storage Acceleration Utilizing Flash Technology Red Hat Ceph Storage Acceleration Utilizing Flash Technology
Red Hat Ceph Storage Acceleration Utilizing Flash Technology
 
Collaborate 17 Oracle RAC 12cRel 2 Best Practices
Collaborate 17 Oracle RAC 12cRel 2 Best PracticesCollaborate 17 Oracle RAC 12cRel 2 Best Practices
Collaborate 17 Oracle RAC 12cRel 2 Best Practices
 
dbaas-clone
dbaas-clonedbaas-clone
dbaas-clone
 

More from Markus Michalewicz

More from 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
 
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...
 
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
 
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
 
From HA to Maximum Availability - A Holistic Historical Discussion
From HA to Maximum Availability - A Holistic Historical DiscussionFrom HA to Maximum Availability - A Holistic Historical Discussion
From HA to Maximum Availability - A Holistic Historical Discussion
 
Why to Use an Oracle Database?
Why to Use an Oracle Database? Why to Use an Oracle Database?
Why to Use an Oracle Database?
 
A Cloud Journey - Move to the Oracle Cloud
A Cloud Journey - Move to the Oracle CloudA Cloud Journey - Move to the Oracle Cloud
A Cloud Journey - Move to the Oracle Cloud
 

Recently uploaded

introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
VishalKumarJha10
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
VictorSzoltysek
 

Recently uploaded (20)

VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
The Real-World Challenges of Medical Device Cybersecurity- Mitigating Vulnera...
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 

Oracle Flex ASM - What’s New and Best Practices by Jim Williams

  • 1.
  • 2. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Oracle Flex Automatic Storage Management: What’s New and Best Practices Jim Williams ASM Product Manager October 1, 2014
  • 3. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Safe Harbor Statement 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. 3
  • 4. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Program Agenda 4 Flex ASM Best Practices - Avoiding 3:00 AM calls Q & A 1 2 3
  • 5. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | ASM History 101 •Provide an integrated volume manager and file system •Stripe and mirror files across disks in a ASM Disk Group •Automatic “Rebalance” after storage configuration changes •Built on the Oracle instance architecture •I/O operations DO NOT go through the ASM instance! •Manage storage as a global cluster of shared Disk Groups The Simple Idea 5
  • 6. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | ASM History 101 The Simple Idea 6
  • 7. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | ASM History 101 The Simple Idea Disk1 Disk 2 Disk 3 Disk 4 Disk 5 Disk 6 Disk 7 Disk Group A Disk Group B Database Database Database File 1 File 2 File 3 File 4 ASM Cluster Pool of Storage Oracle RAC Servers ASM Instance ASM Instance ASM Instance ASM Instance ASM Instance Database Instance Database Instance Database Instance Database Instance Database Instance Shared Disk Groups Wide File Striping 1-1 ASM to Server 7
  • 8. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Pre-12c ASM Architecture ASM architecture utilized an ASM instance on every server – Database instances dependent on node-specific ASM instances – ASM overhead scaled with size of cluster – Cluster reconfiguration events increased with number of servers in a cluster DB1 DB2 DB3 ASM DB1 DB2 DB4 ASM DB1 DB5 DB4 ASM DB1 DB5 DB6 ASM Server Server Server Server Cluster 8
  • 9. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Flex ASM Architecture Eliminates requirement for an ASM instance on every cluster server –Database instances connect to any ASM instance in the cluster –Database instances survive loss of ASM instance –Administrators specify the cardinality of ASM instances (default is 3) –Clusterware ensures ASM cardinality is maintained 9
  • 10. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Flex ASM •Increased maximum number of Disk Groups increased to 511 –Previous limit was 63 •Replicated physical metadata –Improves reliability –Virtual metadata has always been replicated with ASM mirroring •Replace ASM Disk command •Administrators can now specify a Failure Group repair time: –Similar to existing disk repair time –New disk group attribute - failgroup_repair_time –Default setting is 24 hours Other Flex Features 10
  • 11. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Flex ASM •In previous versions, database instances used OS-authentication to connect to ASM –This worked because ASM clients and servers were always on the same server •With Oracle Database 12c, database instances and ASM servers can be on different servers –Flex ASM uses password file authentication –Password file is in an ASM Disk Group –A default configuration is created when the ASM cluster is configured •Databases can use a shared password file as well! Remote Access 11
  • 12. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Program Agenda 12 Flex ASM Avoiding 3:00 AM Calls Q & A 1 2 3
  • 13. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Deploying Flex ASM Do not accept the default – choose “Advanced Installation” •Typical Installation –Does not provide an option to use “Flex ASM” •Advanced Option –Recommended for all configurations 13
  • 14. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Deploying Flex ASM “Advanced Installation” – Storage Options •Four storage options are available: 1.Standard ASM •Pre 12c ASM configuration mode 2.Oracle Flex ASM •Recommended 3.ASM Client Cluster •Ignore for now 4.Non-ASM managed storage 14
  • 15. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Green Field Deployment Pre 12c Flex ASM Isolate Flex ASM deployment from pre 12c databases – Pre 12c databases require a local ASM instance – Dedicated Flex ASM cluster DB DB DB ASM Server DB DB DB ASM Server DB DB DB ASM Server DB DB DB ASM Server DB DB DB ASM Server DB DB DB ASM Server DB DB DB ASM Server DB DB DB Server DB DB DB ASM Server DB DB DB Server ASM Pre 12c 12c 15
  • 16. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Mixed-mode Deployment Flex ASM cluster supporting pre-12c databases – Set cardinality to ALL – ASM instance on every server – Only 12c database instances can reconnect to a surviving ASM instance after a server failure DB DB DB ASM Server DB DB DB Server DB DB ASM Server DB DB DB Server DB DB ASM Server DB DB DB Server Pre 12c 12c DB DB ASM ASM ASM Mixed 16
  • 17. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Deploying Flex ASM •Less than four nodes –ASM instance on every node •Four or more nodes –Three ASM Instances or ALL if pre 12c databases •SRVCTL command for: •Checking ASM instance status –srvctl status asm •Setting cardinality –srvctl modify asm –count ALL •Starting, stopping, and relocating ASM instances –srvctl start asm –n node-name –srvctl stop asm –n node-name How many ASM instances? 17
  • 18. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Deploying Flex ASM •Use Automatic Memory Management (AMM) “MEMORY_TARGET” –Defaults to 1 GB – adequate for most configurations –Exadata uses a custom memory configuration •Process Count “PROCESSES” –For #_DBs < 10, PROCESSES = 50* #_DBs + 50 –For #_DBs >= 10, PROCESSES = 10* #_DBs + 450 –Oracle Exadata environment, the MAX(450 + 10* #_DBs, 1024) •See ASM Administration Guide for details on setting Memory and Process Count Considerations 18
  • 19. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | ASM Diskgroup Configuration •ASM_DISKSTRING: search path that ASM uses to discover Disk Groups –ASM examines all the devices specified as possible candidates as an ASM Disk •When the candidate list is excessively large, Disk Group discovery becomes unnecessarily long causing slow ASM response •Default value often is sufficient “/dev/sd*”, but if there is a need to change it, don’t make it too inclusive e.g. “/dev/*” Disk Group Discovery 19
  • 20. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | ASM Diskgroup Configuration •Best practice is DATA, FRA, GRID –GRID DG for OCR, Voting File, SPFILE –Use External Redundancy for most high-end storage arrays •Separate Disk Groups for different storage tiers –REDO Disk Group for flash storage How many Disk Groups? 20
  • 21. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | ASM Diskgroup Configuration •How many Failure Groups –Engineered systems automatically configure Failure Groups –Choose by hardware boundary –Use default of disk per Failure Group for small number of ASM Disks –Failure Groups must be balanced – equal number of disks in each Failure Group •Except Quorum Failure Groups need not be balanced –Failure Groups for Extended Clusters need to be site-based and require Quorum Failure Group How many Failure Groups? 21
  • 22. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | ASM Diskgroup Configuration •All disks must be same size for Normal and High Redundancy –Similar performance characteristics •Minimum disks: 4 times the number of paths for each Disk Group –Normal Redundancy Disk Group with 2-way multipathing >= 8 disks •Maximum: < 1000 disks in a Disk Group –Long disk discovery times and frequent capacity additions with too many disks How big and how many disks in a Diskgroup? 22
  • 23. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | ASM Disk Groups with Mirroring •With ASM Mirroring, the Partner Status Table (PST) is replicated –3 copies for Normal Redundancy, and 5 copies for High Redundancy –Each copy in separate Failure Groups, special case for <3 FG (Normal) and <5 FG (High) •Two Failure Groups are problematic because quorum cannot be established! –Create Quorum Failure Group(s) to satisfy PST quorum –Quorum Failure Groups are exempt from the homogeneity requirements –Quorum Failure need not be large – not used for data Quorum Failure Groups 23
  • 24. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | ASM Capacity Management SELECT name, type, total_mb, free_mb, required_mirror_free_mb, usable_file_mb FROM V$ASM_DISKGROUP_STAT; NAME TYPE TOTAL_MB FREE_MB REQUIRED_MIRROR_FREE_MB USABLE_FILE_MB DATA NORMAL 51180 42204 10236 15984 24 Diskgroup Name Redundancy Total raw space in Diskgroup Unused raw space in Diskgroup Largest FG capacity Logical space that can be allocated and still have ASM restore redundancy after Failure Group failure •USABLE_FILE_MB = (FREE_MB - REQUIRED_MIRROR_FREE_MB) / 2 [normal redundancy]
  • 25. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | ASM Diskgroup Configuration •When creating a new Disk Group, 4 MB AUs provide minor benefit for data warehouse environments –AU Size cannot be changed online and requires recreating the Disk Group •Don’t invest effort in reconfiguring to accommodate 4 MB AU Disk Groups –Variable extents introduced in 11.2 reduce benefit of larger AUs –Storage array architecture affects I/O performance benefit of 4 MB AUs AU Size 25
  • 26. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | ASM Diskgroup Configuration •Use External Redundancy if you have complete confidence in your storage –A small percentage of customer use Normal Redundancy with high-end storage arrays •Mirror data across storage arrays •Need to provide Quorum Failure Group for Partner Status Table quorum •Always use multi-pathing –Provide ASM the MP O/S device path name –Set MP timeout to less than clusterware heartbeat timeout (< 120 seconds) –MOS note 294869.1 •Advance COMPATIBLE.ASM to 12.1 –Replicates physical metadata and makes External Redundancy Disk Groups more resilient to accidental corruption Fault Tolerance 26
  • 27. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | ASM Diskgroup Configuration •Disk Groups are containers with internal “versioned” data structures –Support backward compatibility –Compatibility settings determines the availability of ASM features (see matrix in ASM admin guide) –Disk Group compatible attribute can only be advanced •BUT CANNOT BE REVERTED TO PREVIOUS VERSION •The COMPATIBLE.ASM attribute must be >= value of other disk group compatibility attributes –Advanced with SQL, ASMCA, ASMCMD Compatibility Settings 27
  • 28. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | ASM Diskgroup Configuration •Two new features in 12.1 are support for LUNs larger than 2 TBs and 511 Disk Groups –Large LUN support •LUNs larger than 2TB require COMPATIBLE.ASM >= 12.1 and COMPATIBLE.RDBMS => 12.1 •ASM environments planning to use Disk Groups with large LUNs must only have post-12c databases –511 Disk Group support: not controlled by any compatibility attribute •Disk Group numbers are assigned at mount time (1..511) in the order they are discovered •Pre 12c databases cannot access a Disk Group that is numbered greater than 63 •ASM environments planning to use more than 63 Disk Groups must only have post-12c databases 12.1 Feature Compatibility 28
  • 29. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | ASM Diskgroup Reconfiguration •Power determines the number of concurrent I/O operations –Highly configuration dependent, but values greater than 32 often have declining benefit with respect to rebalance performance –Can be dynamically changed to manage performance impact •A “Power” setting can now be used for disk resync (disk online) •Administrators can now replace a disk as a fast and efficient operation –Disk Group reorganization is not required –Replacement disk is populated with copies of ASM extents from online disks ASM Power 29
  • 30. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Preventing Accidental Corruption •The most common cause of corruption is accidental administrative action made to the wrong disk –Over writing ASM Disk with a File System –Assigning an ASM Disk to an LVM •Employ operational procedures that established hard separation between ASM Disks and all others. A few ideas: –Unique ASM Disk partitions e.g. /dev/sdu2 •First partition is small partition that aligns second partition to 1 MB boundary •ASM is assigned second partition •NEVER use second partitions elsewhere •ASM Filter Driver – prevents over writing ASM Disks 30
  • 31. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Checking for Corruption •Silent data corruption is a fact of life in today’s storage world •The database checks for logical consistency when reading data –If a logical corruption is detected then automatic recovery can be performed using the ASM mirror copies –For seldom accessed data, over time all mirror copies of data could be corrupted •With Oracle 12c ASM data can be proactively scrubbed: –Scrubbing occurs automatically during rebalance operations –Scrubbing of a Disk Groups, individual files, or individual disks –ALTER DISKGROUP <NAME> SCRUB [POWER AUTO|LOW|HIGH|MAX]; Silent Data Corruption 31
  • 32. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Disk Failure •Disk and Failure Group Repair Timers –Disk Repair Time default value is 3.6 hours –Failure Group Repair Time feature provides extra opportunity to avoid unnecessary rebalance – default value is 24 hours –ALTER DISKGROUP <NAME> SET ATTRIBUTE 'DISK_REPAIR_TIME' = ‘12H'; –DROP AFTER clause of "OFFLINE DISK"|"OFFLINE DISKS IN FAILGROUP“ can be used to reset active timer –Timer runs only while Disk Group mounted –REPAIR_TIMER column in V$ASM_DISK reflects remaining time –When timer expires and the disk is force dropped, you cannot use ONLINE DISK or REPLACE DISK Repair Times when mirroring 32
  • 33. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Recovery After Disk Failure 33 •Normal Redundancy Disk Group with two Failure Groups. •USABLE_FILE_MB is negative
  • 34. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Recovery After Disk Failure 34 •What happens when there is a disk failure? •ASM takes Disk OFFLINE •Timer counts for disk to be DROPPED from Disk Group
  • 35. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Recovery After Disk Failure 35 •After timer expires disk is dropped from Disk Group •ASM begins rebalancing Disk Group
  • 36. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Recovery After Disk Failure 36 •Eventually, one disk will become full and allocations in Disk Group cannot be made •ASM begins rebalancing Disk Group, but cannot continue because the Disk Group is full.
  • 37. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Recovery After Disk Failure 37 •Even adding a new disk cannot allow rebalance of Disk Group to continue because of partnering of individual extents.
  • 38. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Recovery After Disk Failure 38 •Possible solution: –Drop the disk that is full (disk E) –Then undrop disk after a brief period once some of the extents have been relocated and freed up space
  • 39. Copyright © 2014, Oracle and/or its affiliates. All rights reserved. | Q & A