HP Serviceguard Contributed Toolkit Suite Version A.04.02.02 on Linux User Guide (December, 2012)
NOTE:
• The configuration file is read once when the Sendmail application starts up. Any
subsequent changes to this file after the Sendmail application is up does not take effect
until the Sendmail is restarted.
• On SLES systems the default sendmail.mc file does not exist. For more information
about customizing and building /etc/sendmail.cf, see http://www.sendmail.org/.
3. Disable the Sendmail application auto-startup on all the cluster nodes:
For example:
• On Red Hat:
# mv /etc/rc.d/rc5.d/S80sendmail /etc/rc.d/rc5.d/x80sendmail
• On SLES:
# mv /etc/rc.d/rc5.d/S12sendmail /etc/rc.d/rc5.d/x12sendmail
Assuming that the nodes are running at run level 5; always check the runlevel from the
file /etc/inittab.
4. Configure Sendmail in shared volume groups on all the nodes in the cluster:
Create volume groups and logical volumes on the shared disks and construct a new file system
for each logical volume for the Sendmail mailbox and the mail queue.
These shared resources must reside on the file system on the shared disks. These shared
resources include all user mailboxes and their mail queues, and any additional mail information
that require to be shared. Optionally, files under /etc/mail directory and /etc/
sendmail.cf file can reside on their own nodes as long as their contents are identical.
Make link connections for /var/spool/mail and /var/spool/mqueue to the newly
created directories on the shared disks on each node.
Volume group /dev/vgSM
E.g. pvcreate /dev/sdb1, then vgvreate vgSM
/dev/sdb1; sdb1 is a shared disk
Logical volume /dev/vgSM/lvolSM
E.g. lvcreate -L <size>M vgSM
File system /pkgSM/sendmail
E.g. mkfs /dev/vgSM/lvolSM,
mount /dev/vgSM/lvolSM /pkgSM, then
mkdir /pkgSM
mkdir /pkgSM/sendmail
mkdir /pkgSM/sendmail/mail
mkdir /pkgSM/sendmail/mqueue
mv /var/spool/mail /var/spool/mail.orig
mv /var/spool/mqueue /var/spool/mqueue.orig
ln -s /pkgSM/sendmail/mail /var/spool/mail
ln -s /pkgSM/sendmail/mqueue /var/spool/mqueue
5. Assign a floating IP address to be used for the Sendmail toolkit package.
Supported Configuration
This section explains the following supported configurations for Sendmail toolkit packages:
• Local configuration
• Shared configuration
Supported Configuration 47