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

DescriptionAttribute
maintenance mode, create sendmail.debug file under
this directory.
PID file that holds the process ID of the Sendmail server.
This PID file must correspond to the sendmail PidFile
HA_SERVER_PID
directive in the sendmail.cf under /etc/
mail/directory
For example:
HA_SERVER_PID /var/run/sendmail.pid
The db files in /etc/mail directory that is required to
rebuild during the package start.
HA_SERVER_DB_FILES
QUEUE can be set to a time interval that the Sendmail
can process the queued mails in the mail queue
directory, for example 1h for 1 hour interval.
QUEUE
This is used to bring this toolkit into maintenance mode.
If this parameter is set to yes, then it enables the
MAINTENANCE_FLAG
maintenance feature in the toolkit. Sendmail toolkit
searches the sendmail.debug file in the Sendmail
package file directory where all the Sendmail toolkit
files reside.
If the file exists, monitoring is paused, and you can bring
down Sendmail for maintenance. The package does
not fail over to the adoptive node even though Sendmail
instance is brought down for maintenance.
After the maintenance work, ensure that Sendmail is
brought up. You must delete the sendmail.debug file
in the package directory. This enables the toolkit to
continue monitoring Sendmail server application.
NOTE: If the Maintenance flag is set to no, then this
feature does not work.
The time interval in seconds to monitor the Sendmail
server. The default value is 30.
MONITOR_INTERVAL
The number of retries attempted by the toolkit script to
check the Sendmail server daemon before giving up
and exiting. The default value is 3.
RETRY_TIMES
5. Check the validity of the configuration using the cmcheckconf command:
# cmcheckconf -P pkgsm.conf
6. Create the package using cmapplyconf command, if the cmcheckconf command does
not report any errors:
# cmapplyconf -P pkgsm.conf
7. Enable package switching for the Sendmail toolkit package using:
# cmmodpkg -e -n node1 -n node2 <package_name>
# cmmodpkg -e <package_name>
8. Start the package using the cmrunpkg command.
# cmrunpkg <package_name>
Managing packages
You can manage packages by running, maintaining, halting, and deleting them.
50 Sendmail Toolkit