ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Grid Control remove host and re-add host

Grid Control remove host and re-add host

原创 Linux操作系统 作者:Allen2312 时间:2009-04-07 10:49:09 0 删除 编辑

客户购买了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:

exec mgmt_admin.cleanup_agent(':');


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

5.1 Edit the agent agent side edit the $ORACLE_HOME/sysman/config/emd.properties
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.

It is strongly suggest always to use the procedure
exec mgmt_admin.cleanup_agent(':');
to remove entire host targets from the Grid Control.
This avoid that anything not deleted correctly
 
Grid control 功能挺不错的,但是构架比较恶心,不易处理故障!有点黑盒的感觉!!!

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/122290/viewspace-586445/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-11-03

  • 博文量
    12
  • 访问量
    69318