Wednesday, September 19, 2012

Incorrect password during Grid agent (OMA) installation

Installing agent an incorrect password was specified for agent resulted in OMA not being able to do a handshake with OMS

servvertst1:/app/oracle/product/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 : /app/oracle/product/agent11g/agent11g
Agent binaries : /app/oracle/product/agent11g/agent11g
Agent Process ID : 20447384
Parent Process ID : 23068916
Agent URL : http://servvertst1:3872/emd/main/
Repository URL : https://xx.xxx.xxx.xx:1159/em/upload/
Started at : 2012-09-18 16:07:44
Started by user : oracle
Last Reload : 2012-09-18 16:07:44
Last successful upload : (none)
Last attempted upload : (none)Total Megabytes of XML files uploaded so far : 0.00
Number of XML files pending upload : 417
Size of XML files pending upload(MB) : 18.89
Available disk space on upload filesystem : 18.80%
Last attempted heartbeat to OMS : 2012-09-19 16:37:18
Last successful heartbeat to OMS : unknown
---------------------------------------------------------------
Agent is Running and Ready
 
 
To resolve the issue follow the below steps
Go to grid_agent_home/bin

servvertst1:/app/oracle/product/agent11g/agent11g/bin-->./emctl unsecure agentOracle Enterprise Manager 11g Release 1 Grid Control 11.1.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
DelKeyWallet: Cannot open wallet. (error=28759):/app/oracle/product/agent11g/agent11g/sysman/config
clearsudoprops error: Could not delete key from wallet.
Checking Agent for HTTP... Done.
Agent is already unsecured.


Now we can assign the correct password

servvertst1:/app/oracle/product/agent11g/agent11g/bin-->./emctl secure agent
Oracle Enterprise Manager 11g Release 1 Grid Control 11.1.0.1.0
Copyright (c) 1996, 2010 Oracle Corporation. All rights reserved.
Agent successfully stopped... Done.
Securing agent... Started.
Enter Agent Registration Password :specify_correct_passwd_here

Agent successfully restarted... Done.
Securing agent... Successful.

servvertst1:/app/oracle/product/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 : 10.2.0.3.0
Protocol Version : 10.2.0.3.0
Agent Home : /app/oracle/product/agent11g/agent11g
Agent binaries : /app/oracle/product/agent11g/agent11g
Agent Process ID : 22282428
Parent Process ID : 18415688
Agent URL : https://servvertst1:3872/emd/main/
Repository URL : https://gridserver:1159/em/upload
Started at : 2012-09-19 16:40:34
Started by user : oracle
Last Reload : 2012-09-19 16:40:34
Last successful upload : 2012-09-19 16:41:03
Total Megabytes of XML files uploaded so far : 8.65
Number of XML files pending upload : 1
Size of XML files pending upload(MB) : 0.01

Available disk space on upload filesystem : 19.45%
Last successful heartbeat to OMS : 2012-09-19 16:40:40

---------------------------------------------------------------
Agent is Running and Ready



This indicates that OMA was able to do a handshake with OMS, once this is done you can go to grid control & add the new target

No comments:

Post a Comment