The tpm policy command displays and optionally sets the cluster policy.
Table 10.10. tpm policy Options
| Option | Description |
|---|---|
--all | Show the policy for all cluster services. |
--automatic, --auto, -a | Set the cluster policy to AUTOMATIC mode. |
--maintenance, --maint, -m | Set the cluster policy to MAINTENANCE mode. |
--print, --display, --get, --list, --show, -d, -g, -l, -p, -s | Displays the current cluster policy. Issuing with no arguments will also display the current policy. |
shell>tpm policymaintenance shell>tpm policy -aautomatic
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.