HP Serviceguard Enterprise Cluster Master Toolkit User Guide, June 2014
Table 35 User Configuration Variables (continued)
DescriptionConfiguration Variables
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 of the smbd process of
the particular package. The default PID file name is
SMBD_PID_FILE
(for example, for CIFS Server version older than 02.04,
SMBD_PID_FILE=/var/opt/samba/${NETBIOS_NAME}/
changed in CIFS Server version 02.04. The toolkit
detects the version and uses the default value
appropriately.
locks/smbd.pid and for CIFS Server version 02.04 or later,
SMBD_PID_FILE=/var/opt/samba/${NETBIOS_NAME}/
locks/smbd-smb.conf.${NETBIOS_NAME}.pid)
This variable holds the PID file of the nmbd process of
the particular package. The default PID file name is
NMBD_PID_FILE
(for example, for CIFS Server version older than 02.04,
NMBD_PID_FILE=/var/opt/samba/${NETBIOS_NAME}/
changed in CIFS Server version 02.04. The toolkit
detects the version and uses the default value
appropriately.
locks/nmbd.pid and for CIFS Server version 02.04 or later,
NMBD_PID_FILE=/var/opt/samba/${NETBIOS_NAME}/
locks/nmbd-smb.conf.${NETBIOS_NAME}.pid)
This variable enables or disables maintenance mode
for the Samba package. By default, this is set to "yes".
MAINTENANCE_FLAG
(for example, MAINTENANCE_FLAG=yes)
To disable this feature, set theMAINTENANCE_FLAG
to "no". If Samba needs maintenance, then you must
create a file <package directory>/
samba.debug. During this maintenance period
Samba process monitoring is paused. Even if Samba
is brought down, its package is not failed over to the
standby node. To continue monitoring and return from
the maintenance mode, remove the samba.debug
file. Ensure that Samba is properly running after the
maintenance phase.
NOTE: Setting MAINTENANCE_FLAG to "yes" and
touching the samba.debug file in the package
directory will put the package in toolkit maintenance
mode. Serviceguard A.11.19 release has a new
feature which allows individual components of the
package to be maintained while the package is still
up. This feature is called Package Maintenance mode
and is available only for modular packages. For more
information using Package Maintenance mode, see
white paper Modular package support in Serviceguard
for Linux and ECM Toolkits available at http://
www.hp.com/go/hpux-serviceguard-docs —>HP
Serviceguard Enterprise Cluster Master Toolkit.
This variable holds a time interval (in seconds) for
monitoring the CIFS Server instance. The monitor
MONITOR_INTERVAL
(for example, MONITOR_INTERVAL=5)
process checks to ensure the smbd and nmbd daemons
are running every MONITOR_INTERVAL seconds. The
default value is 5 seconds.
This variable holds the number of attempts to check
the CIFS Server daemons before it exits to fail state.
RETRY_TIMES
(for example, RETRY_TIMES=0)
The default value is 0. SERVICE_RESTART *
RETRY_TIMES = total restart count.
The following information provides the steps for configuring the toolkit and running the package.
This includes configuring the SAMBA toolkit user configuration file.
NOTE: Before you configure the toolkit, create, the package directory (example, /etc/
cmcluster/smb1), and then copy the toolkit scripts to the package directory.
Setting up the Toolkit 131