Database Reference
In-Depth Information
Enter the agentsetup directory and edit the agent response file:
9.
[oracle@target ~]$ cd agentsetup/
[oracle@target agentsetup]$ vi agent.rsp
10.
Enter the following values:
OMS_HOST=cloudcontrol12.testdomain.com
EM_UPLOAD_PORT=4900
AGENT_REGISTRATION_PASSWORD=<registration_password>
AGENT_INSTANCE_HOME=/u01/agent
AGENT_PORT=3872
b_startAgent=true
ORACLE_HOSTNAME=target.testdomain.com
s_agentHomeName="agent12gR2"
Run the agentDeploy.sh script to deploy the agent:
11.
./agentDeploy.sh RESPONSE_FILE=/home/oracle/agentsetup/agent.rsp AGENT_BASE_DIR=/u01/agent
After the script successfully completes, open a new terminal window, log in as ROOT ,
and run the configuration script (the location of the script is written in the output of
agentDeploy.sh ):
12.
[root@target ~]# /u01/agent/core/12.1.0.2.0/root.sh
Finished product-specific root actions.
/etc exist
Finished product-specific root actions.
13.
Check the agent's status:
[oracle@target agentsetup]$ /u01/agent/core/12.1.0.2.0/bin/emctl status agent
Oracle Enterprise Manager Cloud Control 12c Release 2
Copyright (c) 1996, 2012 Oracle Corporation. All rights reserved.
---------------------------------------------------------------
Agent Version : 12.1.0.2.0
OMS Version : 12.1.0.2.0
Protocol Version : 12.1.0.1.0
Agent Home : /u01/agent
Agent Binaries : /u01/agent/core/12.1.0.2.0
Agent Process ID : 14620
Parent Process ID : 14578
Agent URL : https://target.testdomain.com:3872/emd/main/
Repository URL : https://cloudcontrol12.testdomain.com:4900/empbs/upload
Started at : 2012-10-12 06:10:12
Started by user : oracle
Last Reload : (none)
Last successful upload : 2012-10-12 06:12:57
Last attempted upload : 2012-10-12 06:12:57
Total Megabytes of XML files uploaded so far : 0.01
Number of XML files pending upload : 0
 
Search WWH ::




Custom Search