Grid Control remove host and re-add host

客户购买了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/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/122290/viewspace-586445/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值