Using SAMBA Toolkit in a ServiceGuard for Linux (SG/LX) Cluster Version A.01.00, June 2003
Using SAMBA Toolkit in a ServiceGuard for Linux (SG/LX) Cluster Version A.01.00
Setting Up SAMBA Server Application for a SG/LX Cluster
Chapter 1 13
RUN_SCRIPT/usr/local/cmcluster/smb_pkg1/smb_pkg.cntl
HALT_SCRIPT /usr/local/cmcluster/smb_pkg1/smb_pkg.cntl
SERVICE_NAMEsmb1_monitor
2. Create a SG/LX package control file with command cmmakepkg -s.
The package control file must be edited as indicated by the comments
in that file. The package control file must be customized to your
environment.
Example:
VG[0]=”vg01”
LV[0]=”/dev/vg01/lvol1”
FS[0]=”/shared/smb_1”
FS_TYPE[0]=”ext2”
FS_MOUNT_OPT[0]=”-o rw”
IP[0]=”15.13.174.201”
SUBNET=”15.13.174.0”
HA_APP_SERVER="pre-IP”
#Uncomment this line
Note: for a SAMBA package, the HA_APP_SERVER must be
“pre-IP”.
You can use the same procedure to create multiple SAMBA packages
(multiple SAMBA instances) that will be running on the cluster.