Automatic Storage Management: Why ASM ?
Automatic Storage Management: Why ASM ?
Automatic Storage Management: Why ASM ?
Why ASM ?
There no raw device name assign by linux because raw is deprecated from linux kernel.
ASM disk group is collection or multiple raw devices. This disk group is managed by ASM instance.
Instance is a collection of memory and background processes.
Files
20 GB 20 GB 20 GB
When we store file on ASM disk group the files are stripped and those stripped are spread across each
participating disk in the ASM disk group. The files is divided into multiple pieces and those pieces are
stored evenly in participating disk. Assume that you are doing the full read of entire file it will get the
read from all disks so IO throughput is good where in traditional way multiple file stored on single disk
so there is IO throughput is not good.
AUTOMATIC STORAGE MANAGEMENT
Volume Management
Disk
Phy.vol (PV)
Once you mounted logical volume, when you kept file on /u01 around 60 gb and each disk size is 25 gb
Then total space available in VG is 100 gb and when you store file of 60 gb data is stripped on stored on
each of physical volume is nothing just representation of actual disks. So this is the benefit of volume
management that data is spread across different disks.
Whatever you store on ASM disk group is stripped. Each piece of storage allocation unit in ASM disk
group is call AU (Allocation Unit)
Datafiles – For datafiles ASM apply coarse stripping method means each AU is 1 MB. If we store data file
of 100 MB file on ASM disk group which has 3 raw devices 100 pieces of 1 MB each are spread across are
evenly in the participating disk of the ASM disk group.
Control files / Redo log files - Each AU is of 128 KB and such method is called as Fine Stripping
1 MB AU 1 MB AU 1 MB AU
AUAU
20 GB 128 KB 20 GB
128 KB 20 GB 128 KB
AUTOMATIC STORAGE MANAGEMENT
If one of the disk get failed and if you not divided your disk group into subgroup then entire disk grop
get failed. If disk group is not divided into further disk group is called as EXTERNAL REDUDENCY.
In high reududency if one disk get failed then entire disk not get failed.
NORMAL REDUDENCY
If you have 2 failure group is called normal redundancy. (1 Master copy and 1Mirror Copy)
ASM INSTANCE
Parameter file – init_ASM.ora or spfile+ASM.ora
Instance _type=ASM
ASM_power_limit= 0 to 10
Large_pool_size=12 MB to 24 MB
Instance_name=+ASM
AUTOMATIC STORAGE MANAGEMENT
ASM instance doesn’t have control file, datafile,redo log file. So ASM instance can go only mount state.
ASM instance has SYS users, ASM instance SYS user is password file authentication so the only way to
change the password for SYS user delete you existing password file and recreate it using orapwd
command
ASM METHODS