system services manager policy setstate
Contributors
Suggest changes
- PDF of this doc site
Collection of separate PDF docs
Creating your file...
This may take a few minutes. Thanks for your patience.
Your file is ready
Enable/disable a service policy
Availability: This command is available to cluster administrators at the admin privilege level.
Description
The system services manager policy setstate
command enables or disables services manager policies. Use the system services manager policy show command to display information about configured policies.
Parameters
-service <text>
- Service-
Use this parameter to set the state of the policy you specify.
-version <service version>
- Version-
Use this parameter to set the state of the policy with the version number you specify.
-state {on|off}
- State-
Use this parameter with the value "on" to enable the policy. Use this parameter with the value "off" to disable the policy.
Examples
The following example sets the policy for version 1.0 of the diagnosis service to off.
cluster1::> system services manager policy setstate -service diagnosis -version 1.0 -state off