Guenadi N Jilevski's Oracle BLOG


Oracle EM Grid Control Agent Target Discovery

Oracle EM Grid Control Agent Target Discovery

Sometimes, you may install the 10g OEM GRID agent before you actually create a new database or you may add a new database to an existing box.

This new database will have to be discovered by GRID CONTROL.

I created a database called db11gr2 on a box which already had a Grid agent running on it.

This database has to be discovered by the agent and their details uploaded to the GRID.

Make sure the ORAINVENTORY location in /etc/oraInst.loc matches the location when you installed the AGENT.

Go to the new AGENT_HOME/bin and issue command agentca- d

[oracle@raclinux2 bin]$ agentca -d

Stopping the agent using /u01/app/oracle/OracleHomes/agent10g/bin/emctl stop agent

Oracle Enterprise Manager 10g Release 5 Grid Control

Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.

Stopping agent … stopped.

Running agentca using /u01/app/oracle/OracleHomes/agent10g/oui/bin/ ORACLE_HOME=/u01/app/oracle/OracleHomes/agent10g ACTION=Configure MODE=Perform RESPONSE_FILE=/u01/app/oracle/OracleHomes/agent10g/response_file RERUN=TRUE INV_PTR_LOC=/u01/app/oracle/OracleHomes/agent10g/oraInst.loc COMPONENT_XML={}

Perform – mode is starting for action: Configure

Perform – mode finished for action: Configure

You can see the log file: /u01/app/oracle/OracleHomes/agent10g/cfgtoollogs/oui/configActions2010-03-05_08-33-08-PM.log

[oracle@raclinux2 bin]$

Now login to the database as sys, unlock the dbsnmp user and also change
the password of dbsnmp user – for example to temp.

Login to the GRID, and click on targets – Select the new database and press configure.

Once this is complete, the GRID screen will show the
database on the targets page.

March 5, 2010 - Posted by | oracle

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: