Veritas Storage Foundation 5.1 SP1 Cluster File System Administrator"s Guide (5900-1738, April 2011)
The local state tracking directory contains a file for each NFS client that has a
transaction with the NFS server. The local state tracking directory is:
/var/statmon/sm
This creates a symlink to /locks/sm/nodename/sm on all the cluster nodes. This
allows the lock state files for any cluster node to be accessed by other nodes in
the cluster, even when the node is down.
The -n option can be used if the user does not want cfsshare to create the symlink
to /locks/sm/nodename/sm. If this option is used, then the user needs to manually
create a symlink.
The config option adds this shared file system to VCS configuration; it creates
the corresponding CFSMount resource in a special parallel service group called
cfsnfssg. This also creates an NFS resource in the cfsnfssg service group. In
addition to this, a separate resource of the new type ApplicationNone is created
to monitor lockd and statd daemons.
If you run the cfsshare config -n option, you need to perform the following procedure:
1
On each node, create the following directory inside the locks directory, if it
does not already exist:
# mkdir -p /locks/sm/nodename/sm
2
Run the following commands on any one cluster node to set the owner, group,
and permissions of /locks/sm appropriately:
# chown -R daemon:daemon /locks/sm
# chmod -R 755 /locks/sm
You can configure both CNFS and CIFS at the same time by running the cfsshare
config -p all command.
# cfsshare config -p all -m user -l /var/run \
-c /etc/samba/smb.conf -t /usr lockdg vollocks /locks
See the Common Internet File System chapter for explanation regarding the
various CIFS-related options.
Service group cfsnfssg_dummy
As part of CNFS configuration, a service group called cfsnfssg_dummy gets created.
This service group is mostly offline.
145Clustered NFS
Configure and unconfigure Clustered NFS