The ism-applyPolicies command applies the specified policy to a group of hosts.
This command has the following format:
ism-applyPolicies -policyName policy_name -policyType policy_type -hostName host_name [-timeout time]
Specifies the policy name to apply.
Specifies the policy type.
Specifies the name of the host computer.
(Optional) Specifies the time limit in seconds for this command to wait until the hosts are successfully configured after which the timeout occurs. If not specified, this command does not wait for the hosts to be successfully configured.
Default: 30 seconds.
Note: If you specify zero, the default system wide timeout occurs.
Example: Apply Policies to a Group of Hosts
This example applies the specified policy to a group of hosts.
ism-applyPolicies -policyName policy5 -policyType SystemEDGE -hostName "s1"-timeout 30
Copyright © 2013 CA. All rights reserved. |
|