Working with the ASM Instance
13
Redundancy, Striping, and Other ASM Topics
When configuring ASM disk groups, you need to consider recoverability, performance, and
other attributes. We will first cover recoverability by discussing the concept of redundancy.
We will then discuss striping of ASM disk groups and ASM disk templates. Then we’ll dis-
cuss ASM disk group attributes, ASM fast disk resync features, and ASM preferred mirror
read features. We will end this section with a discussion of ASM Allocation Unit (AU) size
and extents in ASM.
Redundancy
When configuring an ASM disk group, you can use one of three different ASM redundancy
setting options to protect the data in your disk group:
Normal
: Typically employs two-way mirroring by default and thus requires allocation
of two failure groups.
High
: Typically employs three-way mirroring by default and thus requires allocation of
three failure groups.
External
: Does not employ any mirroring. This setting is typically used when the disk
group is being assigned to an external disk that is attached to some device that already
employs some disk redundancy.
The Costs of Redundancy
Keep in mind that there is a cost to everything, and this includes redundancy. If you have
two 100GB ASM disks that you will be assigning to an ASM disk group, you will be able to
effectively use only 100GB of overall space if you use normal redundancy, because each disk
will have to go into an individual failure group. If you were to use external redundancy, you
would be able to use all 200GB (at a cost, of course, of loss of protection).
Redundancy is supported by one or more failgroups (or failure groups) assigned to the ASM
disk group when it is created. If you are using external redundancy, you typically would just
have one failure group. If you are using the Normal redundancy setting, then the ASM disk
group typically will need two failure groups. Each failure group represents a logical alloca-
tion of one or more disks to the ASM disk group and provides for mirroring within that disk
group. Thus, when you create an ASM disk group, you might have one disk assigned to failure
group 1 and one disk assigned to failure group 2. This way your data is protected from failure.
When you’re using ASM mirroring, ASM will allocate an extent on a disk that becomes
the primary copy (one of the failure groups) and then allocate copies of that extent to the
mirrored copies (the other failure groups). When you create a disk group, you can indicate
which disk goes in which failure group or you can let Oracle decide for you.
When you define the redundancy setting for a disk group, you are defining things such
as what kind of striping occurs and whether the data will be mirrored. These attributes are
defined based on which template you have assigned to the ASM disk group. By default, when
95134c01.indd 13 1/28/09 9:43:41 AM