Skip to main content
Common Reference

tpm policy

Applies to: Tungsten Clustering for MySQL

The tpm policy command displays and optionally sets the cluster policy.

Usage
tpm policy [args]
OptionDescriptionVersion
--allShow the policy for all cluster services.7.0.1
--automatic
Aliases: -auto-a
Set the cluster policy to AUTOMATIC mode.
--maintenance
Aliases: --maint-m
Set the cluster policy to MAINTENANCE mode.
--printDisplays 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.