HP CIFS Server 3.0k Administrator's Guide version A.02.04

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>
Example: cfsdgadm activate dgha
Create volumn:
vxassist g <diskgroup name> make <volumn name> <size in MB>
Example:
vxassist -g dgha make lvol1 1024M
vxassist -g dgha make lvol2 2048M
newfs -F vxfs /dev/vx/rdsk/dgha/lvol1
newfs -F vxfs /dev/vx/rdsk/dgha/lvol2
Add volumn:
cfsmntadm add <diskgroup name> <volumne> <mount point> all=rw
Example:
cfsmntadm add dgha lvol1 /cfs1 all=rw
cfsmntadm add dgha lvol2 /cfs2 all=rw
Mount CFS mount points:
cfsmount <mount point>
cfsmount /cfs1 /cfs2
If CIFS Server binaries are moved, note that CIFS Server depends on libraries including
/opt/samba/lib. Do the followings:
Use chatr (see man chatr) to move libraries
Copy binaries to /cfs1/opt/samba/bin, for example.
Define "CIFS_BIN" in samba.cntl and samba.mon SG script files.
Copy smb.conf to /cfs1/etc/opt/samba/smb.conf and define "CONF_FILE" in
SG script files.
Define "LOG_DIR", "SMBD_PID_FILE", and "NMBD_PID_FILE" in SG script files.
Special Notes for HA HP CIFS Server 181