Enterprise Manager Agent

In the following examples:

Start Agent

To start the agent

$AGENT_HOME/bin/emctl start agent

Stop Agent

To stop the agent

$AGENT_HOME/bin/emctl stop agent

Agent Status

To get the current status of the agent

$AGENT_HOME/bin/emctl status agent

Uploads

The agent periodically uploads information to the OMS using XML files

To initiate an upload from the agent server to the OMS use:

$AGENT_HOME/bin/emctl upload agent

For example:

$AGENT_HOME/bin/emctl upload agent

Oracle Enterprise Manager Cloud Control 12c Release 4
Copyright (c) 1996, 2014 Oracle Corporation. All rights reserved.
-----------------------------------------------------------------
EMD upload completed successfully

Upload files are stored in $EMHOME/agent_inst/sysman/emd/upload/pending

For example:

/usr/oracle/em/agent_inst/sysman/emd/upload/pending

File names are system-generated, for example: D_P4_S1_I56594.xml

GC Home List

A file called /etc/oragchomelist is created on each managed target

This file contains the following:

$EM_HOME/core/12.1.0.4.0:$EM_HOME/agent_inst

For example:

/usr/oracle/em/core/12.1.0.4.0:/usr/oracle/em/agent_inst