AUTOMATIC STORAGE
MANAGEMENT
What is ASM?
ASM is a storage management system for Oracle data
ASM is designed to simplify DBA storage tasks
Simply assign disks and walk away – no data layout decisions
Allows Oracle to manage thousands of files automatically
Organizes available disks into disk groups
Work of ASM
ASM extends the power of Oracle Managed Files
Creates and manages files automatically
Understands different Oracle file types
Offers built-in data mirroring and striping capabilities
Automatically balances I/O load across disk group(s)
Functions like an LVM (Logical Volume Manager)
ASM Components
ASM Disk Groups
ASM Files
ASM Templates
ASM Disks
ASM Disk Groups
A Disk Group consists of multiple disks.
It is the Fundamental object that the ASM manages.
Each Disk Group contains the metadata required for the
management of space in the disk group.
TYPES OF DISK GROUPS
NORMAL redundancy indicates that Oracle will create
a software mirror for each disk
HIGH redundancy indicates that Oracle will create two
mirror disks per data disk
EXTERNAL redundancy indicates that Oracle will not
create any software mirrors. Hardware mirrors (if any)
will be used instead
ASM Files
Files that are stored in ASM Disk Groups are called ASM
files
Files are named with an Oracle-defined format
Oracle databases communicate with ASM in terms of
FILES.
File types in ASM Disk Groups:-
- Control Files
- Datafiles, temporary datafiles, datafile copies
- SPFILEs
- Disaster recovery configurations
- Change tracking bitmaps
- online redo logs, archive logs, and Flashback logs
- RMAN backups
- Data pump dumpsets
ASM Templates
Automatic Storage Management templates are
collections of attributes used to specify file mirroring
and striping attributes during ASM file creation.
A default template exists for each Oracle file type.
Each disk group contains its own definition of
templates.
ASM Disks
ASM disks are storage devices that are provisioned
to ASM Disk Groups.
Examples are:-
- a disk or partiton from a storage array
- an entire disk or the partitions of a disk
- Logical Volumes
- Network attached files (NFS)
ASMCMD
ASMCMD is a command-line utility for viewing
and manipulating files and directories within ASM
disk groups.
Can be used in interactive mode
Commands can be placed in OS scripts
Available with 10g R2
ASMCMD can be used to:
List the contents of disk groups
Perform searches
Create and remove directories and aliases
Display space utilization
Benefits of ASM
ASM provides easy Administration.
ASM improves performance.
For many situations, Automatic Storage Management
provides the functions provided by external volume
managers and file systems.
Automatic Storage Management includes storage
reliability features, such as mirroring. The storage
reliability policy is applied on a file basis, rather than on a
volume basis. Hence, the same disk group can contain a
combination of files protected by mirroring, parity, or not
protected at all.