1. Oracle Partner of the year 2010 &
2012
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the YearOracle EMEA Database Partner of the Year
Jason Arneil
Solutions Architect
What’s New with 12c ASM
2. Oracle Partner of the year 2010 &
2012
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the YearOracle EMEA Database Partner of the Year
Agenda
Consolidation
3. Oracle Partner of the year 2010 &
2012
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the YearOracle EMEA Database Partner of the Year
jarneil.wordpress.com
@jarneil
4. Oracle Partner of the year 2010 &
2012
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the Year
Customers
Some of our
Customers
5. Oracle Partner of the year 2010 &
2012
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the Year
ASM
6. Oracle Partner of the year 2010 &
2012
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the Year
ASM – A recap
7. Oracle Partner of the year 2010 &
2012
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the YearOracle EMEA Database Partner of the Year
ASM Protection
8. Oracle Partner of the year 2010 &
2012
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the Year
Extents & Redundancy
9. Oracle Partner of the year 2010 &
2012
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the YearOracle EMEA Database Partner of the Year
Agenda
Whats New?
10. Oracle Partner of the year 2010 &
2012
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the Year
Disk Management
Physical Metadata Replication
Improved Availability
11. Oracle Partner of the year 2010 &
2012
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the Year
Disk Management
Concurrent Rebalance
Improved Availability
12. Oracle Partner of the year 2010 &
2012
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the Year
Disk Management
File Priority Rebalance
Improved Availability
13. Oracle Partner of the year 2010 &
2012
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the Year
Disk Management
Disk Scrubbing
Improved Availability
14. Oracle Partner of the year 2010 &
2012
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the Year
Disk Management
Fast Disk Resync Checkpoints
Improved availability
15. Oracle Partner of the year 2010 &
2012
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the Year
Disk Management
Failure Group Repair Timer
Improved availability
16. Oracle Partner of the year 2010 &
2012
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the Year
I/O Performance
Even Read
Improved Performance
17. Oracle Partner of the year 2010 &
2012
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the Year
Scalability
Increased Number of Diskgroups
Improved Scalability
18. Oracle Partner of the year 2010 &
2012
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the Year
Estimating
Explain Work
Improved Manageability
19. Oracle Partner of the year 2010 &
2012
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the Year
Password Files
Password Files in ASM
Improved Manageability
20. Oracle Partner of the year 2010 &
2012
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the Year
Flex ASM
21. Oracle Partner of the year 2010 &
2012
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the Year
Flex ASM
• Current scenario…
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
22. Oracle Partner of the year 2010 &
2012
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the Year
Flex ASM
23. Oracle Partner of the year 2010 &
2012
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the Year
Flex ASM
• With Flex ASM
ASM Cluster Pool of Storage
Disk Group BDisk Group AShared Disk Groups
Wide File Striping
Databases share ASM
instances
ASM Instance
Database Instance
ASM Disk
Node5Node4Node3Node2Node1 Node5
Node5 runs
as ASM
Client to
Node4
Node1 runs
as ASM
Client to
Node2
Node1 runs
as ASM
Client to
Node4
Node2 runs
as ASM
Client to
Node3
24. Oracle Partner of the year 2010 &
2012
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the Year
Flex ASM
25. Oracle Partner of the year 2010 &
2012
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the Year
Flex ASM
26. Oracle Partner of the year 2010 &
2012
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the Year
Flex ASM
Classic Mode
Mixed Mode
12c Mode
27. Oracle Partner of the year 2010 &
2012
+44 (0) 844 811 3600
contactus@e-dba.com
www.e-dba.com
A RedStack Technology Company
Oracle EMEA Database Partner of the Year
Q & A
Editor's Notes
In this presentation I’m going to take a look at the new features of ASM available with the 12c release.How many of you use ASM for your databases?
So what am I going to talk about todayRECAPNEW FEATURESDEMO
Work in the Engineered Systems Team at e-dbaTeam is 100% focused on the e-dbaExadata customerse-dba are on Oracle platinum partnerWe have our own Exadata x3-2 and exalytics boxes available for POC
When Automatic Storage Management (ASM) was introduced in 10gR1 ASM was designed as a purpose-built host based volume management and file system that is integrated with the Oracle database. It is built on stripping and mirroring methodology (SAME)ASM is built on the Oracle instance architecture
Just like the database has a storage hierarchy going from the data block upto the tablespaceThere is a similar hierarchy in ASMFrom the DBAs view, ASM exposes Disk Groups – you can think of the DISKGROUP as like a filesystemand it is in a diskgroup that tablespaces are createdThese Disk Groups consists of ASM disks and files that are stripped across all the disks in a Disk Group. Every ASM disk is divided into allocation units (AU). An AU is the fundamental unit of allocation within a disk group. A file extent consists of one or more AU. An ASM file consists of one or more file extents.
3 LEVELS of ASM PROTECTION for your dataEXTERNAL – lets the storage array take care of itNORMAL – write 2 copies of your extentsHIGH – write 3 copies of your extents
Every ASM disk is divided into allocation units (AU). An AU is the fundamental unit of allocation within a disk group. A file extent consists of one or more AU. An ASM file consists of one or more file extents.
Physical Metadata ReplicationOracle ASM now replicates physically addressed metadatalike disk header, free space blocks and allocation tableThis is tracked with a diskgroup attribute PHYS_META_REPLICATEDturned on when ASM compatibility of the diskgroup is advanced to 12.1This ensures ASM is more resilient to bad disk sectors and external corruptions
In previous versions, an ASM instance could only perform one rebalance operation at a time on the same instance. If two disk group rebalance requests (for two different disk groups) were issued within the same ASM instance, then the second rebalance operation would be queued up behind the first requestWith Oracle Database 12c, a single ASM instance can now perform multiple rebalance operations concurrently
Upon a rebalance due to a failed disk drive ASM will now restore the redundancy of the data based on the criticality of the files.i.e. control files and redo logs will have their redundancy restored first.
Upon a rebalance due to a failed disk drive ASM will now restore the redundancy of the data based on the criticality of the files.i.e. control files and redo logs will have their redundancy restored first.Can set the CONTENT.CHECK attribute on a diskgroup to ensure a rebalance will perform this logical content checking
When a disk drive suffers a transient failure – temporarily becoming unavailable a rebalance does not have to occur immeidatelyInstead the changes that would have been written to this unavailable disk are trackedand when the disk becomes avaialble again those changes can be synced to the diskWhile this was available in 11g, if that sync got interrupted it would have to restart from the beginningNow in 12c there are checkpoints so and interruption will not mean having to repeat lots of changes already doneAlso possibility to set a power limit for the resync operation
In addition to a repair timer being set for an individual diskCan now be set for an entire failure group – by default this is 24hthe idea being that a failure of entire failure group is likely to be transient – therefore don’t do a big rebalancehowever with normal redundancy you have a bigger exposure to data loss if another disk fails
Default behaviour of ASM has been to only read primary extentsEven Read ensures the extent that resides on the least loaded device will be readEven Read is enabled by defaultThis should improve the performance of I/O bound systems.
number of diskgroups supported has gone from 63 to 511
Previously almost all database and ASM related files could be stored in ASM.A key exception was the password fileboth the ASM and database password files could not be stored in ASMFor 12c the default location of the password file is ASMNote that the compatible.asm disk group attribute must be set to 12.1
So currentlyTight 1:1 binding of ASM to cluster hostLoss of an ASM instance means loss of all databases on that serverIn a cloud environment (PaaS) this less than desirable
If an ASM instance on a node crashesALL instances on that node will crashThis is not good, particularly in a consolidated environment where many, many instances could be impacted
Now with 12c You don’t need an ASM instance running on each and every node! DB Instances can use an ASM instance running on another nodeBy default you have 3 ASM instances for a cluster – this is controlled via the ASM cardinalityIf an node running one of the ASM instances fails an ASM instance will be restarted on another nodeInstances running on a node won’t crash if ASM on that node crashes.
12c provides for a dedicated network for ASM trafficRemember it’s metadata (files extent maps etc) etc NOT all IO trafficDATABASES do NOT perform their I/O via the ASM instance, once they have the metadata they talk to the storage direct.Can use the Clusterware private interconnect