AutoShell Command to Apply a Policy to a Service in VAIM
book
Article ID: 145682
calendar_today
Updated On:
Products
CA Virtual Assurance for IM
Issue/Introduction
Customer has script in place that will update the SystemEDGE policies with the correct monitors. They need a way to apply the policy in bulk to all the servers via command line.
Environment
Release : 12.9
Component : VPM GENERAL
Resolution
Use the ism-applyPoliciesForService Command
The ism-applyPoliciesForService command applies the policy to all computer systems in a managed service. Here is an example of applying a policy against a service which is a logical collection of systems.
You can create a new service (container) and assign those boxes to the service.
Additional Information
Virtual Assurance 12.9 Reference Guide is attached to this KB which provides all available autoshell commands