HP Enterprise Cluster Master Toolkit User Guide (5900-2131, December 2011)

#cmcheckconf -P pkg.conf
6. If the cmcheckconf command does not report any errors, use the cmapplyconf command
to add the package into Serviceguard environment.
For Example:
#cmapplyconf -P pkg.conf
Toolkit User Configuration
All the user configuration variables are kept in a single file in shell script format. The variable
names and their sample values are in Table 36 (page 132):
Table 36 User Configuration Variables
DescriptionConfiguration Variables
This variable holds the NetBIOS Name of the server.
If the configuration of HP CIFS Server is done using
NETBIOS_NAME (for example, NETBIOS_NAME=smb1)
/opt/samba/bin/samba_setup command, the
NetBIOS ame can be found in /etc/opt/samba/
smb.conf. If you are configuring multiple HP CIFS
Server packages, ensure the NetBIOS name is unique
for each of the packages.
This variable holds the path of the
"smb.conf.<netbios_name>". By default, the path is
CONF_FILE (for example,
CONF_FILE=/etc/opt/samba/smb.conf.${NETBIOS_NAME})
/etc/opt/samba/smb.conf.${NETBIOS_NAME}.
If the path is different, modify the variable.
This variable holds the log directory path of the CIFS
Server instance of the particular package. By default,
LOG_DIRECTORY (for example,
LOG_DIRECTORY=/var/opt/samba/${NETBIOS_NAME}/logs)
the path is /var/opt/samba/${NETBIOS_NAME}/
logs. If the path is different, modify the variable.
This variable holds the PID File path of smbd process
of the particular package. By default, the path is
SMBD_PID_FILE (for example,
SMBD_PID_FILE=/var/opt/samba/${NETBIOS_NAME}/locks/smbd.pid)
/var/opt/samba/${NETBIOS_NAME}/locks/
smbd.pid. If the path is different, modify the variable.
This variable holds the PID File path of nmbd process
of the particular package. By default, the path is
NMBD_PID_FILE (for example,
NMBD_PID_FILE=/var/opt/samba/${NETBIOS_NAME}/locks/nmbd.pid)
/var/opt/samba/${NETBIOS_NAME}/locks/
nmbd.pid. If the path is different, modify the variable.
This variable will enable or disable maintenance mode
for the Samba package. By default, this is set to "yes".
MAINTENANCE_FLAG (for example,
(MAINTENANCE_FLAG=yes)
In order to disable this feature MAINTENANCE_FLAG
should be set to "no". When Samba needs to be
maintained then a file <package directory>/
samba.debug needs to be touched. During this
maintenance period Samba process monitoring is
paused. Even if Samba is brought down, its package
will not be failed over to the standby node. To
continue monitoring and come back from the
maintenance mode, remove the samba.debug file.
It is the user's responsibility to ensure that Samba is
properly running after the maintenance phase.
132 Using SAMBA Toolkit in a Serviceguard Cluster