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

DescriptionAttribute
file under this directory. This is synonymous with the
package directory acronym.
The file path of the configuration file for a MySQL server
instance.
CONFIGURATION_FILE_PATH
For example:
CONFIGURATION_FILE_PATH share/mysql/
my.cnf
PID file of main MySQL process belongs to this package.
This PID file, if present in the my.cnf, must correspond
to the pid-file option on the configuration file.
PID_FILE
The PID file must be in the local hard disk.
For example,
PID_FILE /var/run/mysqld1.pid
This parameter is used to bring this toolkit into
maintenance mode. If this parameter is set to yes, then
MAINTENANCE_FLAG
it enables maintenance feature in the toolkit. MySQL
toolkit searches for mysql.debug file in the MySQL
package file directory where all the MySQL toolkit files
are located.
If the file exists, monitoring is paused, and you can bring
down the MySQL toolkit for maintenance. The package
does not fail over to the adoptive node even though
MySQL instance is brought down for maintenance.
After the maintenance work, ensure that MySQL is
brought up. You must delete the mysql.debug file in
the package directory. This enables the toolkit to
continue monitoring MySQL 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 MySQL server
instance. The default value is 30.
MONITOR_INTERVAL
The number of trials attempted by the toolkit script to
check the MySQL server daemon before giving up and
exiting. The default value is 0.
RETRY_TIMES
The time for which the toolkit waits for the completion
of a normal shutdown before initiating forceful halt of
the application.
TIME_OUT
The TIME_OUT variable is used to protect against a
worst case scenario where a hung database prevents
the halt script from completing, therefore preventing the
standby node from starting the database.
The value of TIME_OUT must be less than the time-out
set in the package configuration file. The time-out in the
package configuration file is the value of
HALT_SCRIPT_TIMEOUT. If HALT_SCRIPT_TIMEOUT
is not defined then it is the sum of the
SERVICE_HALT_TIMEOUT on all the nodes.
The TIME_OUT variable has no effect on the number of
times a package fails over. The default value is 30.
5. Check the validity of the configuration using the cmcheckconf command:
# cmcheckconf -P pkg_MySQL.conf
24 MySQL Toolkit