redeploy_plugin_on_agent

Redeploys an existing plug-in on the Management Agents.

Format

emcli redeploy_plugin_on_agent  
      {-agent_names="agent1[;agent2...]" | -group_name="group1"}
      -plugin="plug-in_id:version"
      [-redeploy_noprompt]
      [-include_dependent_agents]

[ ]  indicates that the parameter is optional. 

Options

  • agent_names

    List of Management Agents (host:port) on which the plug-in should be redeployed.

  • plugin

    ID and version of the plug-in that should be redeployed on the Management Agents.

  • redeploy_noprompt

    Redeploys the same plug-in that is already available in the Plug-in manager inventory, without prompting you to confirm the redeployment.

  • include_dependent_agents

    Includes all of the dependent Management Agents and proceeds with plug-in redeployment.

Examples

Example 1

The following example redeploys 12.1.0.2.0 version of the oracle.sysman.db2 plug-in on the Management Agent named host.example.com:

emcli redeploy_plugin_on_agent 
      -agent_names="host.example.com:1838" 
      -plugin="oracle.sysman.db2:12.1.0.2.0"

Example 2

The following example redeploys 12.1.0.2.0 version of the oracle.sysman.db2 plug-in on the Management Agent named host.example.com without prompting you for any confirmation:

emcli redeploy_plugin_on_agent  
      -agent_names="host.example.com:1838" 
      -plugin="oracle.sysman.db2:12.1.0.2.0"
      -redeploy_noprompt