HP Serviceguard Linux Contributed Toolkit Suite A.04.02.01 User Guide (696979-001, June 2012)

Table 7 Files created after Samba toolkit is installed
Available in directoryDescriptionFile name
Red Hat: ${SGCONF}/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.
Table 8 Files for creating modular packages
Available in directoryDescriptionFile name
Red Hat: ${SGCONF}/modules/
tkit/samba
This is an attribute definition file, used
to generate a package ASCII template
in modular style of packaging.
samba.1
Red Hat: ${SGCONF}/scripts/
tkit/samba
This is the module script. This script is
called by the master control script and
acts as an interface between the
tkit_module.sh
tkit_module.sh master control
script and the toolkit interface script
(toolkit.sh). It is also responsible
for calling the toolkit configuration file
generator script.
NOTE: This file is used only for
creating modular packages.
Red Hat: ${SGCONF}/scripts/
tkit/samba
This is the toolkit configuration file
generator script. This script is called
by the module script when the
tkit_gen.sh
package configuration is applied
using cmapplyconf to generate the
user configuration file in the package
directory TKIT_DIR.
NOTE: This file is used only for
creating modular packages.
Setting up the Samba server in SG/LX environment
Before creating and configuring a Samba SG/LX package, complete the following configuration
tasks for the Samba server application:
1. When the Samba server is installed, the default Samba server may be automatically configured
to be started during system startup via the runlevel (rc) scripts in the /etc/rc.d directory.
Disable the auto-start of a Samba server if the Samba is planed as a SG/LX package on the
running node.
36 Samba Toolkit