EM 12c : Gold Image Deployment Fails due to Missing agentDeploy.sh script
(Doc ID 2340313.1)
Last updated on DECEMBER 17, 2017
Applies to:Enterprise Manager Base Platform - Version 126.96.36.199.0 and later
Information in this document applies to any platform.
Using 188.8.131.52 EM setup.
Gold image feature has been enabled at the OMS. Gold image was created using one of the existing agents.
Attempting to deploy agents to remote servers using the gold image fails with both the emcli and agentpull script methods. Error reported:
./AgentPull.sh RSPFILE_LOC=/home/emuser/agent.rsp % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 676M 100 676M 0 20 20.2M 0 0:00:33 0:00:33 --:--:-- 21.4M test of /u01/app/oracle/agent_based//agent.zip OK Unzipping agent image... /bin/chmod: cannot access `/u01/app/oracle/agent_based//agentDeploy.sh': No such file or directory Executing agentDeploy.sh... ./AgentPull.sh: line 568: /u01/app/oracle/agent_based//agentDeploy.sh: No such file or directory /u01/app/oracle/agent_based//agentDeploy.sh AGENT_BASE_DIR=/u01/app/oracle/agent_based/ RESPONSE_FILE=/home/emuser/agent.rsp b_doDiscovery=true b_secureAgent=true b_startAgent=true
- In the remote server, only the below files are created:
$ ls -ltr total 579564 -rwxr-xr-x 1 em13 em13 145976 Sep 20 10:57 unzip -rwxr-xr-x 1 em13 em13 27256 Sep 20 10:57 DeployGoldImage.pl -rw-r--r-- 1 em13 em13 208 Sep 20 10:57 agentimage.properties -rwxr-xr-x 1 em13 em13 9287 Sep 20 10:57 agentDeploy.bat -rwxr-xr-x 1 em13 em13 23585 Sep 20 10:57 AgentCleanup.pl -rwxr-xr-x 1 em13 em13 296579602 Sep 20 10:58 agentcoreimage.zip drwxrwxr-x 2 em13 em13 4096 Sep 20 11:11 unzipTmp -rwxr-xr-x 1 em13 em13 296666095 Sep 20 11:11 5992122DBEAF7614E053F634B10AD2D7
The agentDeploy.sh script mentioned in the error is not created on teh remote server.
Issue was noticed only if the source agent has the 184.108.40.206.170815 patch 26449443 applied.
If the source image is based on a vanilla agent, without any extra patches, then the gold image agent deployment works fine.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!