Wednesday, 4 January 2012

Oracle Enterprise Manager 12c agent deploy problems?

I'm dealing with the upgrade to Enterprise Manager 12c (the cloud version....we really need the cloud version?).
Agent deploy is totally managed by enterprise manager console where, after the installation of patch #13503844 for bug #10044087, you will find the Upgrade Console under deployments tab.
A long job will:

  • Copy agent

  • Copy dependent plugins

  • Deploy agent

  • Configure agent


I have discovered a bug (Oracle support said it's internal bug 12911215 ... obviously not published) where if agent installation is done without sudo or powerbroker may fail.

The behaviour is that during job phase unzipAndDeploySoftware the command agentDeploy.sh fails signaling a mismatch between installation user and the owner of agent12g directory. This is a false alarm and the only workaround is to trick the agent installation making it to use the argument -ignoreDirPrereq.
To do it you have to connect to the enterprise manager database and issue the statement:


update PRE_UPGC_MASTER_INFO set PROPERTY_VALUE='-ignoreDirPrereq' where PROPERTY_NAME='deploy_param';
commit;

1 comment:

Akanksha said...

This issue is fixed already and can you re-download the pre-upgrade console patch from
http://www.oracle.com/technetwork/oem/grid-control/downloads/oem-upgrade-console-502238.html

Apply the patch on your existing EM and refer Readme for instructions

Drop me an email if you are still running into the issue.

Post a Comment