Veritas Storage Foundation 5.1 SP1 Cluster File System Administrator"s Guide (5900-1738, April 2011)
Adding an NFS shared CFS file system to VCS
cfsshare add shared_disk_group shared_volume mount_point[share_options] \
node_name=[mount_options]...
cfsshare add shared_disk_group shared_volume mount_point[share_options] \
all=[mount_options]
cfsshare add -p nfs [-N nfs_share_options] shared_disk_group \
shared_volume mount_point <node_name=[mount_point]>
cfsshare add -p nfs [-N nfs_share_options] shared_disk_group \
shared_volume mount_point all=[mount_point]
This command adds the CFS file system to VCS configuration in the cfsnfssg
service group, then mounts the file system at the mount_point and NFS shares
the CFS file system.
Deleting the NFS shared CFS file system from VCS
cfsshare delete mount_point
Before running this command, the user is supposed to have run the cfsshare
add command to create the required resources (Share, CFSMount, and CVMVolDg,
if needed) in the cfsnfssg service group.
This command unshares the CFS file system mounted at the mount_point,
unmounts the CFS file system, and removes the CFS file system from VCS
configuration.
Adding a Virtual IP address to VCS
cfsshare addvip network_interface address netmask
This command is used to create a new non-parallel/failover service group that
contains a NIC resource for the given network device and an IP resource for the
Virtual IP address.
The cfsshare addvip command lets you specify only one network interface, that
is assumed to be present on all cluster nodes. If you want to specify different
network interfaces for different cluster nodes, then you need to run certain VCS
commands. For example:
# haconf -makerw
# hares -local vip1 Device
# hares -modify vip1 Device lan1 -sys system01
Clustered NFS
Administering Clustered NFS
148