Thursday, 21 June 2012

OEM Agent Installation in AIX(comman for all unix flavours)


Step 1:Download and unzip the agent 11g software
$ pwd
/agt12c/agent11g
$ unzip –o Linux_x86_64_Grid_Control_agent_download_11_1_0_1_0.zip
Step 2: Copy the ‘additional_agent.rsp’ file . 
$ cd /agt12c/agent11g/aix/response
$pwd
/agt12c/agent11g/aix/response
$cp additional_agent.rsp /agt12c/agent11g/aix/agent /
Step 3: Edit the copied file and modify the parameters given below according to your environment.
$ cd  agt12c/agent11g/aix/agent /
$ vi additional_agent.rsp
Change the Values in ‘additional_agent.rsp’  ,
SECURITY_UPDATES_VIA_MYORACLESUPPORT=false
DECLINE_SECURITY_UPDATES=true

INSTALL_UPDATES_SELECTION="skip"

ORACLE_AGENT_HOME_LOCATION=/agt12c/agent11g
b_silentInstall=true

OMS_HOST=190.01.01.14
OMS_PORT=7799
AGENT_REGISTRATION_PASSWORD=****** (provide your password here)

FROM_LOCATION="/agt12c/agent11g/aix/agent/stage/products.xml"
b_upgrade=false
EM_INSTALL_TYPE="AGENT"

Step 4:  Run the runInstaller,
$ pwd
/agt12c/agent11g/aix/agent

$ ls
additional_agent.rsp  install               runInstaller          stage


$ ./runInstaller -silent –responsefile /agt12c/agent11g/aix/agent/additional_agent.rsp

 Error Recieved:


For the above Error Open the below ports for connectivity,  In our case 190.01.01.14 is oem server and 190.10.100.127 is the Target where we installed the Agent.
Soruce IP
/Subnet
 Protocol
Source
 Port
Destination
 IP/Subnet
Destination
 Port
Remarks
190.10.100.127
TCP
ANY
190.01.01.14
4889
OEM
Ports
190.10.100.127
TCP
ANY
190.01.01.14
4900
190.10.100.127
TCP
ANY
190.01.01.14
7799
190.10.100.127
TCP
ANY
190.01.01.14
7403
190.10.100.127
TCP
ANY
190.01.01.14
7202
190.10.100.127
TCP
ANY
190.01.01.14
7788
190.10.100.127
TCP
ANY
190.01.01.14
3872
190.10.100.127
TCP
ANY
190.01.01.14
7101
190.10.100.127
TCP
ANY
190.01.01.14
7301
190.01.01.14
TCP
ANY
190.10.100.127
1524
190.01.01.14
TCP
ANY
190.10.100.127
8003
190.01.01.14
TCP
ANY
190.10.100.127
1830
& 1831

Perform The Step 4 Again.

$ ./runInstaller -silent –responsefile /agt12c/agent11g/aix/agent/additional_agent.rsp


Completion of Installation will display these below lines finally,

Configuration assistant "Agent Configuration Assistant" Succeeded
AgentPlugIn:agent configuration finished with status = true
Running Configuration assistant "Agent Add-on Plug-in"
Configuration assistant "Agent Add-on Plug-in" Succeeded

Step 5: Check the status of Agent .
$ cd  /agt12c/agent11g/agent11g/bin
$ pwd
/agt12c/agent11g/agent11g/bin
$ ./emctl status agent
Oracle Enterprise Manager 11g Release 1 Grid Control 11.1.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation.  All rights reserved.
---------------------------------------------------------------
Agent Version     : 11.1.0.1.0
OMS Version       : 11.1.0.1.0
Protocol Version  : 11.1.0.0.0
Agent Home        : /agt12c/agent11g/agent11g
Agent binaries    : /agt12c/agent11g/agent11g
Agent Process ID  : 34406466
Parent Process ID : 23527534
Agent URL         : https://TSTKKKMAAIND.ds.name.local:3872/emd/main/
Repository URL    : https://MANKKKMAAIND.ds.name.local:4900/em/upload
Started at        : 2012-06-21 15:08:32
Started by user   : oragnt
Last Reload       : 2012-06-21 15:08:32
Last successful upload                       : 2012-06-21 16:49:04
Total Megabytes of XML files uploaded so far :    11.95
Number of XML files pending upload           :        0
Size of XML files pending upload(MB)         :     0.00
Available disk space on upload filesystem    :    13.27%
Last successful heartbeat to OMS             : 2012-06-21 17:01:57
---------------------------------------------------------------
Agent is Running and Ready

Step 6:  Check the Target in OEM.