Pages

Wednesday, February 21, 2007

Oracle 10g RAC installation: 09 ASM configuration

Now we have to create our ASM disks and configure the Oracle Cluster File System where we'll install the Oracle Clusterware.
Start the first node and first of all, simply type as root user
/etc/init.d/oracleasm configure
Type oracle when prompted the default user as owner of the driver interface,
type dba as default group, type y to start the driver on boot and again type y to
fix permissions on boot like in the picture.

Repeat this operation on the second node too.


From only one node (I used rac1 ) type as root user
fdisk -l |grep 261
to see where to create the ASM disks.


We have /dev/sdc1, /dev/sdd1 e /dev/sde1 and so we will create the ASM disks for that devices. The syntax is very easy.
/etc/init.d/oracleasm createdisk ASMD1 /dev/sdc1
/etc/init.d/oracleasm createdisk ASMD2 /dev/sdd1
/etc/init.d/oracleasm createdisk ASMD3 /dev/sde1
Once created, use these commands to scan and list your ASM disks:
/etc/init.d/oracleasm scandisks
/etc/init.d/oracleasm listdisks


Execute the same commands (/etc/init.d/oracleasm scandisks, /etc/init.d/oracleasm listdisks) also from the second node to verify you are able to see the ASM disks.
On the second node you don't have to execute the commands /etc/init.d/oracleasm createdisk

2 comments: