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

Local configuration
In a typical local configuration, all file systems are shared between the nodes. Identical copies of
the Sendmail server configuration files reside in exactly the same locations of a local storage on
each node. You must ensure to maintain identical copies of the Sendmail components on the
different nodes.
Shared configuration
In shared configuration, the file systems and configuration files are placed on the shared storage.
The same file systems and configuration files are shared between the cluster nodes, so you need
not maintain identical copies of configuration files on each node.
In a cluster environment, each Sendmail server instance must have unique IP addresses. One or
more relocatable IP addresses are created for each Sendmail server when the package is created.
When the Sendmail server package is switched over from one node to another, this instance is
stopped, IP addresses are removed from the primary node, IP addresses are reallocated to a
standby node, and the instance is started on that node. Clients are then automatically connected
or manually reconnected through these IP addresses to the identical file systems on the standby
node.
Using Sendmail toolkit
After installing the Sendmail toolkit, you can use this toolkit to:
Configure packages in an SG/LX environment
Manage packages
Configuring Sendmail toolkit packages
You can configure Sendmail toolkit packages using either legacy or modular style of packaging.
Configuring legacy Sendmail toolkit packages
To configure legacy Sendmail toolkit packages:
1. Create a directory for the package on all the cluster nodes using the following command:
# $SGCONF/pkg/Sendmail
2. Copy the toolkit files from $SGROOT/sendmailtoolkit to the package directory $SGCONF/
pkg/Sendmail.
3. cd to the package directory.
4. Create the package configuration and control templates using the cmmakepkg command:
Configuration template: # cmmakepkg -p pkgsm.conf
Control template: # cmmakepkg -s pkgsm.cntl
5. Edit the following attributes manually in the package configuration file. Table 21 (page 48)
lists all the attributes that you can edit manually in the package configuration file.
Table 21 List of attributes that you can edit
ExampleDescriptionAttribute
Configuration file parameters
pkgsm_nameThe package name must be unique
in the cluster.
PACKAGE_NAME
node1The name of the node that runs the
package.
NODE_NAME
$SGCONF/pkg/Sendmail/
pkgsm.cntl
This is the script to start the service.RUN_SCRIPT
48 Sendmail Toolkit