Configure Oracle with ASM Based Storage

Configuring Oracle 11gR2 ASM Based Storage

Step 1: Check version of kernal

# uname -r
2.6.18-164.el5

Step2: downloaded from the Oracle support site at:

http://www.oracle.com/technology/software/tech/linux/asmlib/rhel5.html

Step 3: Install the Oracle asm on Linux machine

# rpm -i oracleasm-support-2.1.3-1.el5.x86_64.rpm
# rpm -i oracleasm-2.6.18-164.6.1.el5-2.0.5-1.el5.x86_64.rpm
# rpm -i oracleasmlib-2.0.4-1.el5.x86_64.rpm

Step 4: Configure the ASMLIB

# /etc/init.d/oracleasm configure
This will configure the on-boot properties of the Oracle ASM library
driver. The following questions will determine whether the driver is
loaded on boot and what permissions it will have. The current values
will be shown in brackets ('[]'). Hitting without typing an
answer will keep that current value. Ctrl-C will abort.
Default user to own the driver interface [oracle]:

Step 5: Display the storage volume:

fdisk -l

Step 6: Create the Volume:

# /etc/init.d/oracleasm createdisk VOL2 /dev/dm-3

# /etc/init.d/oracleasm listdisks
VOL1
VOL2
# /etc/init.d/oracleasm status
Checking if ASM is loaded: yes
Checking if /dev/oracleasm is mounted: yes
# /etc/init.d/oracleasm querydisk VOL1
Disk "VOL1" is a valid ASM disk
# /etc/init.d/oracleasm querydisk VOL2
Disk "VOL2" is a valid ASM disk

After that you can uses this disk as ASM disk in Oracle Software ./runInstaller

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.