Automatic Storage Management (ASM)
Automatic Storage Management (ASM)
Available for both Single Instance as well as RAC instance Free built in 10g kernel Available even in Standard Edition Prevents Fragmentation and hence no need to relocate data to reclaim space Overcomes file system size limitations Prevents accidental file deletion Backup with RMAN
1. In RAC, it is done by Oracle CLusterware 2. In Single Instance environment, you have to run
# $ORACLE_HOME/bin/localconfig add
To reconfigure the CSS daemon to run from the new Oracle home:
# $ORACLE_HOME/bin/localconfig reset $ORACLE_HOME
ASM Components
ASM Disk Disk Group Failure Group ASM Files
ASM Disks
It is first task in ASM environment to discover and add Disks to ASM management Disk Selection for Disk Group The disk must not have a pre-existing ASM header The disk cannot have an Oracle File header The disk is not already part of another Disk group Adding Disks to Disk Groups Check if disk is usable Format the disk Rebalance the Disk group Header Status info Foreign - Means Disk is of Oracle Object but can only be added to disk group with FORCE keyword Candidate Means disk is available to be added to any disk group. Provisioned Same as candidate except that disk is configured using ASMLIB. Former Disk was formerly part of some disk group. Member Disk is already part of existing disk group.
ASM Migration
Using EM Using RMAN
Create ASM Instance Create Disk Groups Migrate Non-ASM to ASM Migrate ASM to Non-ASM
Using RMAN
Reference
http://www.orafaq.com/wiki/ASM_FAQ http://www.oraclebase.com/articles/10g/ASMUsingASMLibAndRawDevices.php#asmlib_installation How to rename/move a datafile in the same ASM diskgroup [ID 564993.1] How To Change ASM SYS PASSWORD ? [ID 452076.1] http://www.datadisk.co.uk/html_docs/oracle/asm.htm ----> ASM Commands in Excel format How To Resize An ASM Disk On Release 10.2.0.X? [ID 470209.1]