This sample is intended to use the cfsshare command to add a CFS file system to VCS configuration and mount them. Then share them through NFS, unshare, unmount, and remove the CFS file systems from VCS configuration.
To configure Clustered NFS (Sample 1)
# cfscluster config
# cfsshare config -p nfs shared_disk_group shared_volume mount_point
For example:
# cfsshare config -p nfs cfsdg vollocks /locks
# cfsshare add [-D] shared_disk_group shared_volume mount_point \ [share_options] all=[mount_options]
For example:
# cfsshare add cfsdg vol1 /mnt1 all=rw
# cfsshare addvip [ -a nodename ] \ network_interface address netmask
For example:
# cfsshare addvip eth0 \ 10.182.111.161 255.255.240.0
# cfsshare deletevip address
For example:
# cfsshare deletevip 10.182.111.161
# cfsshare delete mount_point
For example:
# cfsshare delete /mnt1
# cfsshare unconfig -p nfs