tpm policy
Applies to: Tungsten Clustering for MySQL
The tpm policy command displays and optionally sets the cluster policy.
Usage
tpm policy [args]
| Option | Description | Version |
|---|---|---|
--all | Show the policy for all cluster services. | 7.0.1 |
--automatic | Set the cluster policy to AUTOMATIC mode. | |
--maintenance | Set the cluster policy to MAINTENANCE mode. | |
--print | Displays the current cluster policy. Issuing with no arguments will also display the current policy. |
Example:
shell> tpm policy
maintenance
shell> tpm policy -a
automatic
The tpm policy command was designed as an alternative for the cctrl set policy command to
make it easier to set the cluster policy on the command line.