HP CIFS Server Administrator's Guide Version A.03.01.01 (5900-1282, May 2011)

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>)
Example: vxdg -s init dgha c4t2d3
See diskgroup created:
vxdg list
Add diskgroup to cluster:
cfsdgadm add <diskgroup name> all=sw
Example: cfsdgadm add dgha all=sw
Activate diskgroup:
cfsdgadm activate <diskgroup name>
148 Configuring HA HP CIFS