undeploy_plugin_from_agent
Undeploys an Enterprise Manager plug-in from the Management Agents. Undeploying a plug-in from a Management Agent removes all targets of any type belonging to this plug-in from Enterprise Manager.
Defaults to the version currently deployed on the given Management Agent.
Format
emcli undeploy_plugin_from_agent -plugin="pluginId[:pluginVersion]" -agent_names="agent1;agent2"
Options
-
plugin
Plug-in ID and version to be undeployed. Version is optional, and it defaults to the latest version deployed on the management server.
-
agent_names
Management Agents (host:port) from which the plug-in is to be undeployed.
Examples
Example 1
This example undeploys the oracle.sysman.db2 plug-in of version 11.2.0.1.0 from Management Agents myhost1.example.com:1159 and myhost2.example.com:1159.
undeploy_plugin_from_agent -plugin=oracle.sysman.db2:11.2.0.1.0 -agent_names="myhost1.example.com:1159;myhost2.example.com:1159"
Example 2
This example undeploys the oracle.sysman.db2 plug-in of the latest version from the Agent myhost1.example.com:1159.
undeploy_plugin_from_agent -plugin=oracle.sysman.db2 -agent_names="myhost1.example.com:1159"