The tpm policy command displays and optionally sets the cluster policy.
Table 10.9. tpm policy Options
Option | Description |
---|---|
--all | Use the --all option to show the policy for all cluster services. |
--automatic , --auto , -a | Use the --automatic option to set the cluster policy to AUTOMATIC mode. You may also use -a and --auto . |
--display , -d | Use the --display option to display the current cluster policy. Please note that tpm policy with no arguments will also display the current policy. |
--get , -g | Use the --get option to display the current cluster policy. Please note that tpm policy with no arguments will also display the current policy. |
--list , -l | Use the --list option to display the current cluster policy. Please note that tpm policy with no arguments will also display the current policy. |
--maintenance , --maint , -m | Use the --maintenance option to set the cluster policy to MAINTENANCE mode. You may also use -m and --maint . |
--print , -p | Use the --print option to display the current cluster policy. Please note that tpm policy with no arguments will also display the current policy. |
--show , -s | Use the --show option to display the current cluster policy. Please note that tpm policy 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 a replacement for the cctrl set policy command to
make it easier to set the cluster policy on the command line.