10.5.18. tpm policy Command

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

Table 10.30. tpm policy Options

OptionDescription
--allShow the policy for all cluster services.
--automatic, --auto, -aSet the cluster policy to AUTOMATIC mode.
--maintenance, --maint, -mSet the cluster policy to MAINTENANCE mode.
--print, --display, --get, --list, --show, -d, -g, -l, -p, -sDisplays the current cluster policy. Issuing with no arguments will also display the current policy.

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.