Pages

Wednesday, February 3, 2010

Oracle 11gR2 RAC installation: install and configure ASM library

To install ASM drivers download your rpm files from here http://www.oracle.com/technology/tech/linux/asmlib/index.html: for my installation (Oracle Enterprise Linux 5) I downloaded them (oracleasm-2.6.18-164.el5-2.0.5-1.el5.x86_64.rpm, oracleasmlib-2.0.4-1.el5.x86_64.rpm, oracleasm-support-2.1.3-1.el5.x86_64.rpm) from here http://www.oracle.com/technology/software/tech/linux/asmlib/rhel5.html

I executed the following command on both nodes as root user:
rpm -Uvh oracleasm*




Then I need to configure the ASM library, with the following command:
/etc/init.d/oracleasm configure

Type oracle and oinstall as user and group name that own the driver interface; type y to configure starting ASM library on boot and again y to scan ASM disks on boot.


Execute the same previous step on second node.


From one node only, I used the following command to create TWO disk group pointing to my "PowerPath" devices:
/etc/init.d/oracleasm createdisk DG_DATA_DWH /dev/emcpowere1
/etc/init.d/oracleasm createdisk DG_FRA_DWH /dev/emcpowerf1


From the other node, to scan for the new ASM disks I issued:
/etc/init.d/oracleasm scandisks


Verify the cluster is configured correctly for a "Grid" creation, running as oracle user, only from one node, the following command:
./runcluvfy.sh stage -pre crsinst -n nov2210,nov2211 -verbose