This is a premium alert message you can set from Layout! Get Now!

Configure Oracle Automatic Storage Management (ASM) Part - 6

Anup
0
Now we configure Oracle ASM. First we install oracleasmlib package. Download the ASM library from OTN and install the ASM RPM as the root user.
# rpm -Uvh oracleasmlib-2.0.2-1.i386.rpm

Preparing...
########################################### [100%]
1:oracleasmlib
########################################### [100%]
At this stage, you should already have the following ASM packages installed.

[root@rac1 swdl]# rpm -qa grep oracleasm

oracleasm-support-2.0.3-2
oracleasm-2.6.9-42.0.0.0.1.ELsmp-2.0.3-2
oracleasmlib-2.0.2-1

Configure ASMLib. Configure the ASMLib as the root user on both nodes.

# /etc/init.d/oracleasm configure

Configuring the Oracle ASM library driver.

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
Default group to own the driver interface []: dba
Start Oracle ASM library driver on boot (y/n) [n]: y
Fix permissions of Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration: [ OK ]
Loading module "oracleasm": [ OK ]
Mounting ASMlib driver filesystem: [ OK ]
Scanning system for ASM disks: [ OK ]

Create ASM disks. Create the ASM disks on any one node as the root user.

# /etc/init.d/oracleasm createdisk VOL1 /dev/sdc1
Marking disk "/dev/sdc1" as an ASM disk: [ OK ]

# /etc/init.d/oracleasm createdisk VOL2 /dev/sdd1
Marking disk "/dev/sdd1" as an ASM disk: [ OK ]

# /etc/init.d/oracleasm createdisk VOL3 /dev/sde1
Marking disk "/dev/sde1" as an ASM disk: [ OK ]

Verify that the ASM disks are visible from every node.

# /etc/init.d/oracleasm scandisks
Scanning system for ASM disks: [ OK ]

# /etc/init.d/oracleasm listdisks
VOL1
VOL2
VOL3
Tags

Post a Comment

0 Comments

Please Select Embedded Mode To show the Comment System.*

Post a Comment
To Top