Highly Available HP-UX Internet Services (May 2008)

NOTE: Ensure that you perform these steps on all nodes in the HP ServiceGuard
cluster.
1. Create a shared volume, for example, /var/opt/sendmail, on which the
Sendmail configuration files must reside after HP ServiceGuard is operative. This
shared volume must be accessible by all nodes that provide backup to the primary
node in the event of failure.
2. Copy the configuration files under the /etc/mail directory to the shared volume
(/var/opt/sendmail/mail).
3. To move the /etc/mail directory to the /etc/mail.PREV directory, enter the
following command:
mv /etc/mail /etc/mail.PREV
4. To create /etc/mail as a symbolic link to the shared volume, enter the following
command:
ln s /var/opt/sendmail/mail /etc/mail
The key configuration files are as follows:
sendmail.cf
sendmail.cw
aliases
aliases.db
mailertable
domaintable
virtusertable
genericstable
sendmail.st
userdb.db
5. Move the existing /etc/mail directory to a backup directory and create a symbolic
link from the /etc/mail directory to the /var/opt/sendmail/mail directory
in the shared volume. This is to ensure that the configuration files are same across
all the nodes in the MC/ServiceFuard cluster.
6. To create a mail queue directory on the shared volume
(/var/opt/sendmail/mqueue), enter the following command:
mkdir p /var/opt/sendmail/mqueue
7. To move the existing queue directory, /var/spool/mqueue, to the
/var/spool/mqueue.PREV directory, enter the following command:
mv /var/spool/mqueue /var/spool/mqueue.PREV
8. To create a symbolic link from the /var/spool/mqueue directory to the
/var/opt/sendmail/mqueue directory, enter the following command:
Configuring Sendmail with HP ServiceGuard 13