subscribe_agents
Subscribes the specified Management Agents to the specified Management Agent gold image.
Format
emcli subscribe_agents
-image_name="Image Name"
[-agents="agent_name_pattern"]
[-groups="group_name"]
[ ] indicates that the parameter is optional.Options
-
image_name
Management Agent gold image to which the Management Agents should subscribe.
-
agents
Name pattern of the Management Agents that should subscribe to Management Agent gold image.
-
groups
Group of the Management Agents that should subscribe to the Management Agent gold image.
Examples
Example 1
The following example subscribes the Management Agents that match the name pattern
abc% or xyz.example.com:1243 to the
Management Agent gold image OPC_AGT_ADC_POD.
emcli subscribe_agents
-image_name="OPC_AGT_ADC_POD"
-agents="abc%,xyz.example.com:1243"
Example 2
The following example subscribes all the Management Agents to the Management Agent gold image OPC_AGT_ADC_POD.
emcli subscribe_agents
-image_name="OPC_AGT_ADC_POD"