netbios name = smb1
interfaces = XXX.XXX.XXX.XXX/xxx.xxx.xxx.xxx bind interfaces only = yes
log file = /var/opt/samba/smb1/logs/log.%m lock directory = /var/opt/samba/smb1/locks pid directory = /var/opt/samba/smb1/locks
Replace the "XXX.XXX.XXX.XXX/xxx.xxx.xxx.xxx" with one (space separated) relocatable IP address and subnet mask for the Serviceguard package.
Copy the workgroup line from the /etc/opt/samba/smb.conf file.
Copy the NetBIOS name line from the same file, or, if there is no NetBIOS name line, enter the UNIX host name for the server on the NetBIOS name line.
Add in the rest of desired configuration items.
Include all HP CIFS Server users and their passwords of all instances in all nodes using the command smbpasswd <username>, where the username must be a name that already exists in the standard UNIX passwd file.
To use a shared file system, the file system must reside on shared storage.
Shared Configuration
1.Using LVM
To configure a shared file system managed by LVM, you need to create volume group(s) and logical volume(s) on the shared disks, then construct a new file system for each logical volume for the HP CIFS Server file system (and HP CIFS Server configuration files). See the Managing ServiceGuard manual available at
The following is an example of configuring shared storage for a CIFS Server package. The procedures below assumes that /shared/smb1 is a shared file system directory, which resides on a logical volume "lvol1" in a shared volume group "/dev/vg01".
a.Create a Volume Group "vg01" for a shared storage.
b.Create a Logical Volume "lvol1" for the "vg01".
c.Construct a new file system on the Logical Volume "lvol1".
d.Create a directory "/shared/smb1" on a local disk.
e.Mount device "/dev/vg01/lvol1" to the "/shared/smb1" .
f.Copy all the necessary files depending on the configuration.
g.Unmount "/shared/smb1".
2.Using VxVM
To configure a shared file system which is managed by VxVM, you need to create disk group(s) and logical volume(s) on the shared disks and construct a new file system for each logical volume for the HP CIFS Server file system and HP CIFS Server configuration files.
The following is an example of configuring the above steps using VxVM:
a.Create a Disk Group "DG_00" on the shared storage.
b.Create Logical volume "LV_00" on the Disk Group "DG_00".
c.Construct a new file system on the Logical Volume "LV_00".
d.Create a directory "/shared/smb1" on a local disk.
e.Mount device "/dev/vx/dsk/DG_00/LV_00" on "/shared/smb1".