deploy_plugin_on_agent
Deploys a plug-in on Management Agents. Agent names must be provided for plug-in deployment.
Note:
A plug-in can only be deployed on any Management Agent after it has been successfully deployed on the management server.
Format
emcli deploy_plugin_on_agent -agent_names=<agent1;agent2> -plugin=<plug-in_id[:version>] [-discovery_only] [ ] indicates that the parameter is optional
Options
-
agent_names
Management Agents (host:port) on which the plug-in needs to be deployed.
-
plugin
Plug-in ID and version that needs to be deployed. Version is optional, and it defaults to the latest applicable version deployed on the management server. If a later version is available but not certified on the Agent OS platform, the latest version is not picked up.
-
discovery_only
To be used when only discovery content needs to be deployed.
Examples
Example 1
This example deploys the latest version of oracle.sysman.db2 on Management Agent myhost1.example.com.
emcli deploy_plugin_on_agent -plugin="oracle.sysman.db2" -agent_names="myhost1.example.com:1838"
Example 2
This example deploys version 12.1.0.1.0 of plug-in oracle.sysman.db2 on management agent myhost1.us.example.com.
emcli deploy_plugin_on_agent -plugin="oracle.sysman.db2:12.1.0.1.0" -agent_names="myhost1.us.example.com:1838"