Oracle Automatic Storage Management (ASM) Version 12.1
General Information
Library Note
Morgan's Library Page Header
ACE Director Alum Daniel Morgan, founder of Morgan's Library, is scheduling
complimentary technical Workshops on Database Security for the first 30
Oracle Database customers located anywhere in North America, EMEA, LATAM, or
APAC that send an email to
asra_us@oracle.com. Request a Workshop for
your organization today.
Purpose
ASM is Oracle's Logical Volume Manager making
possible enhanced performance, load balancing, redundancy, and other
features managed by an Oracle instance (not database) installed as part of
Oracle Clusterware.
-- if Bourne, Korn or Bash shell. Check the install docs if C shell
cat >> /etc/profile <<EOF
if [ $USER = "grid" ]; then
ulimit -u 16384 -n 65536
umask 022
fi
if [ $USER = "oracle" ]; then
ulimit -u 16384 -n 65536
umask 022
fi
EOF
Set Shell Limits
-- modify limits.conf cat >> /etc/security/limits.conf <<EOF
oracle hard core unlimited
oracle hard memlock 50000000
oracle hard nofile 131072
oracle hard nproc 131072
oracle soft core unlimited
oracle soft memlock 50000000
oracle soft nofile 131072
oracle soft nproc 131072
EOF
Names a group of disks and specifies the Oracle Database to manage it as a logical unit (LUN).
Files are spread across all available disks in the group to balance I/O with automatic storage rebalancing whenever the storage configuration changes.
The minimum compatible database version for example 11.2
ALTER DISKGROUP
ADD
ALTER DISKGROUP <disk_group_name> ADD <path_name, path_name, ...>;
[root@mlibp1n1 mapper]# ls -la /dev/oracleasm/disks/POD2_PRD_DG1*
brw-rw---- 1 oracle dba 253, 34 Dec 12 23:10 /dev/oracleasm/disks/POD2_PRD_DG1_01
brw-rw---- 1 oracle dba 253, 61 Dec 12 23:10 /dev/oracleasm/disks/POD2_PRD_DG1_02
brw-rw---- 1 oracle dba 253, 59 Dec 12 23:10 /dev/oracleasm/disks/POD2_PRD_DG1_03
brw-rw---- 1 oracle dba 253, 57 Dec 12 23:10 /dev/oracleasm/disks/POD2_PRD_DG1_04
brw-rw---- 1 oracle dba 253, 54 Dec 12 23:10 /dev/oracleasm/disks/POD2_PRD_DG1_05
brw-rw---- 1 oracle dba 253, 52 Dec 12 23:10 /dev/oracleasm/disks/POD2_PRD_DG1_06
brw-rw---- 1 oracle dba 253, 65 Jan 29 03:52 /dev/oracleasm/disks/POD2_PRD_DG1_07
brw-rw---- 1 oracle dba 253, 64 Jan 29 03:52 /dev/oracleasm/disks/POD2_PRD_DG1_08
A second validation method is:
Login as oracle and source the ASM environment using oraenv
Login to sqlplus as sysasm and run the query to check the status of the newly added disks.
conn / as sysasm
SQL> SELECT name, path, header_status
2 FROM v$asm_disk
3 WHERE header_status = 'PROVISIONED';
NAME PATH HEADER_STATUS
------------------------------ ------------------------------ -----------------
ORCL:POD2_PRD_DG1_08 PROVISIONED
ORCL:POD2_PRD_DG1_07 PROVISIONED