搜尋此網誌

星期一, 8月 08, 2011

Grid Control can't discover target like ias etc..(GC無法自動抓到TARGET)

I installed GC agent at a IAS Server.

But, the agent always couldn't discover Oracle IAS instance.

Even, I use "agentca -f" to reconfig, or "agentca -d " to rediscover. Target was still one host and one agent.

OK, I got some information that I should add oratab file to add Oracle IAS Home.

I did and the rediscover was still missing this target.

 Doc ID 789532.1


Finally, the doc help me to solve this problem.


I didn't do any step on the doc.


I check the targets.xml at AS_HOME (IAS_HOME)


The file privilege is .. 



-rw-r-----    1 oracle   oinstall     6921 Aug  8 15:06 targets.xml

and 

Oracle Agent owner privilege is.. 

uid=502(oragc) gid=502(oragc) groups=502(oragc),501(dba)

So, I understood the agent have enough privilege to access IAS's targets.xml

After I add oragc user to oinstall group the agent can discover this IAS instance.


===============================================


Oracle Grid Control Agent 若要去自動搜尋到相關的target,有二個條件

1、要將目的端的ORACLE_HOME加入到oratab中

2、目的端的ORACLE_HOME/sysman/emd/targets.xml 要能讓Agent 有讀取權限,才能自動抓到。





沒有留言: