HP CIFS Server 3.0f Administrator's Guide verison A.02.03
Caution should be used when using NFS or CFS to share the locks and private directory files, only one
CIFS instance should be active at any given time. CIFS may prevent multiple instances from starting if
they share the CIFS configured PID files.
• Using NFS to Share the Locks and Private Directory Files
If NFS is used to share to the locks and private directory files from multiple nodes as single instances,
the following procedures may help to prevent configuration errors. The NFS Server must permit access
to the 'root' user to the CIFS directories.
For the NFS example:
Execute the following commands on the NFS server:
mkdir -p -m 777 /exported
mkdir -p -m 755 /exported/looks
mkdir -p -m 700 /exported/private
mkdir -p -m 777 /exported/data
vi /etc/exports
/exported -anon=root root=host:nfsclient1:nfsclient2
Run the following command to export all directories listed in /exported to NFS clients:
exportfs -a
Execute the following commands on an NFS client:
vi /etc/fstab
nfsserver:/exported /mnt/nfsserver nfs defaults 0 0
mkdir -p /mnt/nfsserver
mount /mnt/nfsserver
An example of smb.conf is as follows:
[Global]
security = user
lock directory = /mnt/nfsserver/locks
pid directory = /mnt/nfsserver/locks
private directory = /mnt/nfsserver/private
smb passwd file = /mnt/nfsserver/private/smbpasswd
[nfs]
path = /mnt/nfsserver/data
browseable = yes
read only = no
For the CFS example:
Run the following command on the CFS master node to start HA cluster:
cmruncl -v
On both nodes:
Run /opt/VRTS/bin/vxinstall
Run the cfscluster config command to configure multinode package
Run the cfscluster start command to start CVM package
Run the cfscluster status command to see status and node master
On CFS master node:
/etc/vx/bin/vxdisksetup -i <disk name>
Example: /etc/vx/bin/vxdisksetup -i c4t2d3
Create diskgroup:
(vxdg -s init <diskgroup name> <disk name>)
Special Notes for HA HP CIFS Server 163