HP Serviceguard Contributed Toolkit Suite Version A.04.02.02 on Linux User Guide (December, 2012)

5 Samba Toolkit
Overview
HP Serviceguard toolkit for Samba on Linux (Samba toolkit) enables you to configure Samba in
an SG/LX cluster environment. The Samba toolkit consists of a set of shell scripts that are used by
the package control script to start, stop, and monitor the Samba database server. The toolkit
simplifies the task of integrating Samba with SG/LX.
Advantages
When Samba toolkit is deployed in an SG/LX environment, following are the advantages:
Provides monitoring for Samba daemons.
Enables easy integration of Samba server in an SG/LX environment.
Provides high availability for the Samba server.
Prerequisites
Samba toolkit package requires the following to function:
HP Serviceguard on Linux must be installed on all the nodes that must be configured in the
cluster.
The toolkit must be installed on all the target nodes, where the package is configured to run.
Samba server must be installed and configured on all the target nodes.
Files and directories created for Samba toolkit after installation
The following table describes the scripts installed as part of the Samba installation.
Table 15 Files created after Samba toolkit is installed
Available in directoryDescriptionFile name
$SGROOT/sambatoolkitThis is the toolkit configuration file. It
contains a list of pre-defined variables
hasmb.conf
that needs to be set for your unique
environment.
This is the toolkit main script that
contains internal functions that start or
stop an Samba instance.
hasmb.sh
This is the toolkit monitor script that
contains internal functions for
monitoring a database server instance.
hasmb.mon
This is the toolkit interface script that
acts as an interface between the
toolkit.sh
package control script and the toolkit
main script, hasmb.sh.
36 Samba Toolkit