Veritas Storage Foundation 5.1 SP1 Cluster File System Administrator"s Guide (5900-1738, April 2011)
A shared file system needs to be specified during the config operation. This file
system is used to replicate the secrets.tdb file (machine password file) across all
cluster nodes. Only one of the cluster nodes joins the domain using the cluster
name. Once you have copied this file to all the cluster nodes, the Domain controller
sees all cluster nodes as one member server.
The shared file system can also be used to store any tdb files that needs to be
shared across all cluster nodes. Appropriate symlinks must be created on all
cluster nodes.
You must backup your existing smb.conf file and ensure that the /var/log/samba
file exists on all cluster nodes, before running the cfsshare config command.
Note: If CNFS is already configured on the cluster, then specify the same
shared_volume and mount_point for configuration of CIFS.
cfsshare config [-n] -p cifs -l samba_lockdir -c \
samba_config_file -t samba_topdir -m domain \
shared_disk_group shared_volume mount_point
For example:
# cfsshare config -p cifs -m domain -l \
/var/run -c /etc/samba/smb.conf -t /usr -s sfstest-ad \
-d SFSTEST-AD2 -u Administrator lockdg vollocks /locks
Note: Check the path of the Samba lock directory and PID directory using the smdb
-b command. Use the path of the PID directory for the -l samba_lock option.
Note: The cfsshare config command fails if the shared_volume specified is
already registered with VCS. Verify that the shared_volume is not registered with
VCS by examining the output from the following command:
# /opt/VRTS/bin/cfsmntadm display
If the -n option is specified when using the cfsshare config command, you must
follow the steps to complete the CIFS configuration:
163Common Internet File System
Configuring Common Internet File System in domain mode