Start the first node and first of all, simply type as root user
/etc/init.d/oracleasm configureType 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 261to 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/sdc1Once created, use these commands to scan and list your ASM disks:
/etc/init.d/oracleasm createdisk ASMD2 /dev/sdd1
/etc/init.d/oracleasm createdisk ASMD3 /dev/sde1
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