There is a task to add couple of filesystems to the cluster. When I had a look at the config, I realised that each file system is configured as a hastp resource. This somewhat makes my job easier. I Just have to create the volume, make it cluster aware & enable it on Sun Cluster. Lets see how can we make this happen.
1. Create volume ; # vxassist -g testdg make testvol 25g
2. Make entries in /etc/vfstab
3. Update the cluster ; # scconf -c -D name=testdg, sync
4. Create the filesystem ; # newfs /dev/vx/rdsk/testdg/testvol
5. Register it in sun cluster ; # scrgadm -a -j testvol-res -t SUNW.HAStoragePlus -g test-rg -x FileSystemMountPoints=/global/oracle/testvol -x AffinityOn=True
6. enable the resource ; # scswitch -e -j testvol-res
7. Verify the filesystems mounted.