User`s guide

Running the Agent
Oracle Management Agent 14-3
To finalize the EM Agent installation login as root and execute the following script:
$EMDROOT/root.sh
The installation of the Management Agent, can also be operated by a background
process. In this case, the parameters
EMDROOT
,
EM-AGENT-PORT
,
EM-OMS-HOST
and
EM-OMS-HTTP-PORT
are mandatory parameters and must be specified with the
following procedure call:
/ENTER-PROCEDURE
$ORAC1120.INSTALL.P.AGENT,(EMDROOT='/u01/app/orac1120/product/emagent',EM-AGENT-PO
RT='1813',EM-OMS-HOST='omshost.example.com',EM-OMS-HTTP-PORT='1159'),
CPU-LIMIT=300
Note:
The installation is logged to the
INSTALL.EMAGENT.LST
file.
It is recommended to use a CPU-LIMIT greater than 200.
14.3 Running the Agent
To run the agent, start a POSIX shell and type the following command:
emctl start agent
If you start the Management Agent with the
emctl
utility in the POSIX shell, then
the Management Agent inherits the
JOB-CLASS
,
CPU-LIMIT
and
RUN-PRIORITY
of
the login process.As a consequence a defined
CPU-LIMIT
causes the Management
Agent to terminate when the limit is reached. If you want to start the Management
Agent without
CPU-LIMIT
, then use the BS2000 start procedure for the
Management Agent. Login to the BS2000 Management Agent user ID and execute
the command:
/ENTER-PROCEDURE
ST-AGENT.PRC,JOB-NAME=EMAGENT,JOB-CLASS=<ntl-j-c>,CPU-LIMIT=*NO,RUN-PRIO=210
To stop the agent, start a POSIX shell and type the following command:
emctl stop agent
To get the status of the agent, start a POSIX shell and type the following command:
emctl status agent
Use the Oracle Management Agent for BS2000/OSD as described in the Oracle
Database 11g Enterprise Manager book set.
Note: Oracle recommends to use the start procedure in the BS2000
environment to start the Management Agent.
EM-OMS-HOST
The host name of the
Oracle Management
Server
EM-OMS-HTTP-PORT
The port of the
Oracle Management
Server
Parameter Description