12c: Plug-in Deployment on Standalone Agent Fails if the Associated ORACLE_HOME is Shared
Last updated on APRIL 04, 2016
Applies to:Enterprise Manager Base Platform - Version 188.8.131.52.0 to 184.108.40.206.0 [Release 12.1]
Information in this document applies to any platform.
While trying to upgrade DB plugin from 220.127.116.11.0 to 18.104.22.168.0 on a standalone agent (say : agent_A.domain ) fails with below error:
$ emcli deploy_plugin_on_agent -agent_names="agent_A.domain:port" -plugin="oracle.sysman.db:22.214.171.124.0" Error: For the plug-in "Oracle Database(oracle.sysman.db)" to be deployed on the given input agents, it needs to be deployed on some of its dependent agents. Retry the deployment with include_dependent_agents option to proceed deployment with dependent agents also. Warning: Plug-in "Oracle Database(oracle.sysman.db)" is already deployed on management agents "agent_B.domain:port".
The error reports that the plugin needs to be deployed on other dependent agent (say : agent_B.domain) as well. Using the suggested flag also reports an error:
$ emcli deploy_plugin_on_agent -agent_names="agent_A.domain:port" -plugin="oracle.sysman.db:126.96.36.199.0" -include_dependent_agents Internal plug-in deployment error: EMS-01015: Error occurred while deploying AGENT plug-in. Agent side plug-in deployment failed For details, check the Management Server logs. Warning: Plug-in "Oracle Database(oracle.sysman.db)" is already deployed on management agents "agent_B.domain:port".
Attempting to re-deploy the plugin on the other agent (agent_B.domain) fails with:
$ emcli redeploy_plugin_on_agent -agent_names="agent_A.domain:port" -plugin="oracle.sysman.db:188.8.131.52.0" -include_dependent_agents
Redeployment of a plug-in overwrites the existing OracleHome of a plug-in and you will lose any patch(es) that has been applied on plug-in OracleHome.
Do you want to continue with redeploy [yes/no] ? yes Prerequisites check failed For agent : https://agent_A.domain:port/emd/main/ Error re-deploying the plug-in of version 184.108.40.206.0. The plug-in version currently deployed on this agent: 220.127.116.11.0 is different from 18.104.22.168.0.
This issue can occur for deployment of any other plugin as well.
The same errors can also occur if the plugin deployment is being attempted from 12c Cloud Console UI.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms