Sample Configuration with HP Serviceguard Extension for RAG and Oracle Real Application Clusters 11g release 2 using Cluster File System

17
Create disk group multi-node package
Add the disk group to the cluster.
# cfsdgadm add cfsdg1 all=sw
Package name "SG-CFS-DG-1" is generated to control the resource
Shared disk group "cfsdg1" is associated with the cluster
Activate disk group
# cfsdgadm activate cfsdg1
Create volumes and add a Cluster File System
#ccia1:/dev/dsk>vxassist -g cfsdg1 make vol1 10240m
#ccia1:/dev/dsk>vxassist -g cfsdg1 make vol2 10240m
#ccia1:/dev/dsk>vxassist -g cfsdg1 make vol3 1024m
# newfs -F vxfs /dev/vx/rdsk/cfsdg1/vol1
version 7 layout
10485760 sectors, 10485760 blocks of size 1024, log size 16384 blocks
largefiles supported
# newfs -F vxfs /dev/vx/rdsk/cfsdg1/vol2
version 7 layout
10485760 sectors, 10485760 blocks of size 1024, log size 16384 blocks
largefiles supported
# newfs -F vxfs /dev/vx/rdsk/cfsdg1/vol3
version 7 layout
1048576 sectors, 1048576 blocks of size 1024, log size 16384 blocks
largefiles supported
Configure mount point
# cfsmntadm add cfsdg1 vol1 /cfs/mnt1 all=rw
Package name "SG-CFS-MP-1" is generated to control the resource
Mount point "/cfs/mnt1" is associated with the cluster
# cfsmntadm add cfsdg1 vol2 /cfs/mnt2 all=rw
Package name "SG-CFS-MP-2" is generated to control the resource
Mount point "/cfs/mnt2" is associated with the cluster
# cfsmntadm add cfsdg1 vol3 /cfs/mnt3 all=rw
Package name "SG-CFS-MP-3" is generated to control the resource
Mount point "/cfs/mnt3" is associated with the cluster
Mount Cluster File System
# cfsmount /cfs/mnt1
# cfsmount /cfs/mnt2
# cfsmount /cfs/mnt3
Check CFS mount points
# bdf | grep cfs