Specifying Configuration Parameters for the MySQL Cluster ndb Shutdown
Controller Resource
HA for MySQL Cluster provides a script that automates the process of configuring the
MySQL Cluster ndb shutdown controller resource. This script obtains
configuration parameters from the ndbd_shutdown_config file. A template for this
file is in the /opt/SUNWscmys/ndbd_shutdown/util directory. To specify
configuration parameters for the MySQL Cluster ndb shutdown controller
resource, copy the ndbd_shutdown_config file to another directory and edit this
ndbd_shutdown_config file. 
Each configuration parameter in the ndbd_shutdown_config file is defined as
a keyword-value pair. The ndbd_shutdown_config file already contains the required
keywords and equals signs. For more information, see ndb_shutdown_config
File. When you edit the /myplace/ndbd_shutdown_config file, add the
required value to each keyword.
The keyword-value pairs in the ndbd_shutdown_config file are as
follows.
Table 6  Keyword-Value Pairs in the ndbd_shutdown_config File
| 
| Parameter | Description | Example |  
| RS=ndb-shutdown-controller-resource | Specifies the name that you are assigning to the MySQL Cluster ndb
shutdown controller resource. You must specify a value for this keyword.  | The name of the MySQL Cluster ndb daemon resource is
ndb-shut-rs. |  
| RG=ndb-shutdown-controller-resource-group | Specifies the name of the resource group where the MySQL Cluster ndb
shutdown controller resource will reside. You must specify a value for this keyword.  | The name of the MySQL Cluster ndb daemon resource group is
ndb-rg.  |  
| HAS_RS=ndbd-daemon-resource,
dependency-list | Specifies a comma-separated list of resources such that the MySQL Cluster
ndb shutdown controller depends on. You must include the resource name of all
such resources. | The MySQL Cluster ndb shutdown controller resource does depend on the
ndb daemon resource ndb_rs. So the HAS_RS
variable is set to ndb-rs. |  
| RS_PROP=resource-property-string | Specifies a string that is formatted as -p
property-value=value. | Additional standard and extension properties. |  
| PARFILE=ndbd-daemon-resource-
parameter-file | Specifies the name of the parameter file of one MySQL Cluster ndb
daemon resource. You must specify a value for this keyword. | The parameter file is /pfile/ndbd-pfile, so the PARFILE
variable is set to /pfile/ndbd-pfile. |  |