Thursday, May 27, 2010

Manually Adding EM Grid Control Host Targets

I had some hosts cloned from other hosts that have EM Grid Control agent installed and managed by one EM Grid Control server. The new cloned hosts will be managed by the second EM Grid Control server.

In order to add the new cloned host targets into the second EM Grid Control server, we can run EM Grid agent configuration assisstant (agentca) to reconfiure (-f option) or rediscover(-d option). Note EM Grid control doesn't support to add host targets directly from the control console.

 ---------------------------------------------------------------------------
[49] /u/BASE/emgrid_agent/agent10g/bin: ./agentca


Either rediscover(-d) or reconfigure(-f) option is mandatory

[50] /u/BASE/emgrid_agent/agent10g/bin: ./agentca -f
Stopping the agent using /u/BASE/emgrid_agent/agent10g/bin/emctl stop agent
Oracle Enterprise Manager 10g Release 5 Grid Control 10.2.0.5.0.
Copyright (c) 1996, 2009 Oracle Corporation. All rights reserved.
Stopping agent ... stopped.
Running agentca using /u/BASE/emgrid_agent/agent10g/oui/bin/runConfig.sh ORACLE_HOME=/u/BASE/emgrid_agent/agent10g ACTION=Configure MODE=Perform RESPONSE_FILE=/u/BASE/emgrid_agent/agent10g/response_file RERUN=TRUE INV_PTR_LOC=/u/BASE/emgrid_agent/agent10g/oraInst.loc COMPONENT_XML={oracle.sysman.top.agent.10_2_0_1_0.xml}
Perform - mode is starting for action: Configure

Perform - mode finished for action: Configure

You can see the log file: /u/BASE/emgrid_agent/agent10g/cfgtoollogs/oui/configActions2010-05-27_09-26-20-AM.log

No comments:

Post a Comment