HP Serviceguard Linux Contributed Toolkit Suite A.04.02.01 User Guide (696979-001, June 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.
Installing and uninstalling Samba toolkit
The Samba toolkit is bundled within the SG/LX Contributed toolkit suite. The Samba toolkit must
be installed on all the nodes of the cluster that are configured to run the Samba web server package.
NOTE: Before installing this version of the toolkit, you must verify and remove any earlier version
of this toolkit that might be installed on the system.
To check for a earlier version of Samba toolkit, run:
# rpm qa | grep samba-toolkit
To remove the earlier version, run:
# rpm e <toolkit name retrieved after executing # rpm qa | grep
samba-toolkit>
To ensure that the earlier version of the Samba toolkit is removed from all the configured nodes of
the cluster, run the # rpm qa command on all the nodes configured to run the Samba web server
package.
To install the Samba toolkit on Red Hat, run the command:
# rpm ivh serviceguard-samba-toolkit-<release_version>.redhat.noarch.rpm
The Samba toolkit is installed at the following directory:
${SGCONF}/sambatoolkit
NOTE: To verify the Samba toolkit installation, you can run the # rpm qa | grep
samba-toolkit command, or you can verify whether all the toolkit scripts are present in the
toolkit installation directory ${SGCONF}/sambatoolkit.
Files and directories created for Samba toolkit after installation
The following table describes the scripts installed as part of the Samba installation.
Overview 35