Serviceguard Toolkits for Contrib User Guide Version A.12.00.00

Shared configuration
The configuration and database files are placed on shared disks, accessible to all the nodes. Since
the storage is shared, you need not ensure that all the nodes have the same configuration.
Multiple instance configuration
MySQL database server supports multiple DB instances running on the same node. Using this
toolkit, you can configure multiple MySQL toolkit packages to run on the same node. One copy
of the toolkit can serve one package. So, to configure multiple packages, you must create separate
directories, one per package, and configure each package to run a unique database instance.
Using MySQL toolkit
After installing the MySQL toolkit, you can use this toolkit to:
Configure packages in an SG/LX environment
Manage packages
For more information about managing packages, see Managing packages. (page 35)
Configuring MySQL toolkit packages
Configuring modular MySQL toolkit packages
To configure modular MySQL toolkit packages:
1. Create the package configuration and control templates using the cmmakepkg command:
# cmmakepkg m tkit/mysql/mysql pkg_MySQL.conf
2. Edit the following attributes manually in the package configuration file. Table 10 (page 16)
lists the attributes that you can edit manually in the package configuration file.
Table 4 Lists the attributes that you can edit
DescriptionAttribute
The file path of the configuration file for a MySQL server
instance.
CONFIGURATION_FILE_PATH
For example:
CONFIGURATION_FILE_PATH share/mysql/
my.cnf
NOTE: MySQL toolkit does not support online
modification of this attribute.
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
NOTE: MySQL toolkit does not support online
modification of this attribute.
The time interval in seconds to monitor the MySQL server
instance. The default value is 30.
MONITOR_INTERVAL
16 MySQL Toolkit