EM12c : ADR Home for Grid Infrastructure High Availability Service is incorrect after upgrade (Doc ID 2127177.1)

Last updated on JUNE 03, 2017

Applies to:

Enterprise Manager for Oracle Database - Version 12.1.0.1.0 to 12.1.0.5.0 [Release 12.1]
Information in this document applies to any platform.

Symptoms

After Upgrade of Grid Infrastructure (GI), the ADR Home showing for the High Availability Service (HAS) targets in Enterprise Manager (EM) 12c Cloud Control as incorrect.
The actual ADR home is (for example) "/u01/app/grid/diag/crs/<Short Hostname>/crs"
EM configuration instead shows this as "/u01/app/grid/diag/crs/<Fully Qualified Hostname>/crs"

In the OEM agent log, Found that 12.1.0.6.0 plugin script "alertAdr.pl" is reporting an "Invalid alert directory"

$ tail -1000 emagent_perl.trc|grep ERROR|grep crs|tail -1
-->> alertlogAdr.pl: Mon Apr 11 18:35:02 2016: ERROR: Invalid alert directory: /u01/app/grid/diag/crs/<Fully Qualified Hostname>/crs/alert

Verifying the location directly:

$ ls -l /u01/app/grid/diag/crs/<Fully Qualified Hostname>/crs/alert
-->> ls: cannot access /u01/app/grid/diag/crs/<Fully Qualified Hostname>/crs/alert: No such file or directory

Verifying the location using the short hostname:

$ ls -l /u01/app/grid/diag/crs/<Short Hostname>/crs/alert
-->> total 1176
-->> -rw-rw---- 1 grid oinstall 1199085 Apr 11 18:25 log.xml



Changes

 

Cause

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