agentca getting the wrong hostname

From: Dba DBA <>
Date: Wed, 15 Jun 2011 11:17:26 -0400
Message-ID: <>

agent: (will be upgraded)
oms host: linux redhat 4
agent host: hp-unix

I noticed that my targets.xml file had he wrong hostname for all of the targets. I do not know how the server was configured. So I re-created the targets.xml file and followed the note listed below. Same problem. So I started reading the script and found another note that lead me to, but I don't know perl. Does anyone know how oracle discovers the host?

Here are the notes I used and then I will list the oracle scripts I am reading.

Grid Control Target Maintenance: How To Recreate the Targets.xml File in Grid Control 10.2.x Using 'agentca' Commands [ID 365252.1]   *Grid Control Target Maintenance: Overview of Target Discovery in 10g Grid Control [ID 239224.1]*



Here is what I think is doing the discovery, but I can't find, nmep_printHostTarget(). I checked the library below, but don't see it. It may be part of oraPerl, but I don't know where to find that. This is in the script:

($emdRoot,$hostName,$crsHome) = _at_ARGV; require "$emdRoot/sysman/admin/scripts/"; print "<Targets>\n";
print "</Targets>\n";

Received on Wed Jun 15 2011 - 10:17:26 CDT

Original text of this message