客户购买了Grid Control,结果由于某些操作,发现有一个节点无法正确得到相关状态,需要现场处理下!
我第一次到客户现场,折腾了一天也没什么效果,最后就是把host给删除了,还是费了好大劲,然后就回去看文档了,后来就有去折腾了一次还是没有搞定,这个郁闷!
废话半天,第三次终于给搞定了,发现就是host没有完全清除,在em database中还有信息保留,清除,然后重新配置agent文件,反复重试两次,搞定!
参考metalink 文档:454081.1
内容大体如下:
1. Please ensure that the agent is stopped.
2. Logon with sqlplus against the repository database as user sysman
and run following command:
3. If this program are deleting anything end with submit
4. If the procedure find something to delete you can now start the agent again.
5. If this procedure doesn't find anything for delete
Change the port number in:
EMD_URL=https://server:port/emd/main/
to the next free port at this node
5.2 Save the emd.properties
5.3 Confirm that the Agent home $ORACLE_HOME/sysman/emd/targets.xml file has the new port number defined for the emd agent.
5.4 Start the agent.
The agent will be now added with the new port number.
exec mgmt_admin.cleanup_agent(':');
to remove entire host targets from the Grid Control.
This avoid that anything not deleted correctly
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/122290/viewspace-586445/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/122290/viewspace-586445/