同事報生產環境的ons offline.但是神奇的是rac的node並沒有影響,記錄一下解決過程
[root@oracle02 trace]# which crs_start
/u01/app/11.1.0/crs/bin/crs_start
[root@oracle02 trace]# which crs_stop
/u01/app/11.1.0/crs/bin/crs_stop
這個的ora.oracle02.ons 可以從ora....e02.ons 和 host
[root@oracle02 trace]# crs_stop ora.oracle02.ons (Name 和Host)這兩個地方找到
Target set to OFFLINE for `ora.oracle02.ons`
[root@oracle02 trace]# crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....b5.inst application ONLINE OFFLINE
ora.crpb5.db application ONLINE OFFLINE
ora....d1.inst application ONLINE ONLINE oracle01
ora....d2.inst application ONLINE ONLINE oracle02
ora.crprod.db application ONLINE ONLINE oracle01
ora....SM1.asm application ONLINE ONLINE oracle01
ora....01.lsnr application ONLINE ONLINE oracle01
ora....e01.gsd application ONLINE ONLINE oracle01
ora....e01.ons application ONLINE ONLINE oracle01
ora....e01.vip application ONLINE ONLINE oracle01
ora....SM2.asm application ONLINE ONLINE oracle02
ora....02.lsnr application ONLINE ONLINE oracle02
ora....e02.gsd application ONLINE ONLINE oracle02
ora....e02.ons application OFFLINE OFFLINE
ora....e02.vip application ONLINE ONLINE oracle02
[root@oracle02 trace]# crs_start ora.oracle02.ons
Attempting to start `ora.oracle02.ons` on member `oracle02`
Start of `ora.oracle02.ons` on member `oracle02` succeeded.
[root@oracle02 trace]# crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora....b5.inst application ONLINE OFFLINE
ora.crpb5.db application ONLINE OFFLINE
ora....d1.inst application ONLINE ONLINE oracle01
ora....d2.inst application ONLINE ONLINE oracle02
ora.crprod.db application ONLINE ONLINE oracle01
ora....SM1.asm application ONLINE ONLINE oracle01
ora....01.lsnr application ONLINE ONLINE oracle01
ora....e01.gsd application ONLINE ONLINE oracle01
ora....e01.ons application ONLINE ONLINE oracle01
ora....e01.vip application ONLINE ONLINE oracle01
ora....SM2.asm application ONLINE ONLINE oracle02
ora....02.lsnr application ONLINE ONLINE oracle02
ora....e02.gsd application ONLINE ONLINE oracle02
ora....e02.ons application ONLINE ONLINE oracle02
ora....e02.vip application ONLINE ONLINE oracle02
[root@oracle02 trace]#
之前嘗試 onsctl stop |start 沒有什麼效果,原因待查
[root@oracle02 trace]# onsctl help
usage: /u01/app/oracle/product/11.1.0/bin/onsctl start|stop|ping|reconfig|debug
start - Start opmn only.
stop - Stop ons daemon
ping - Test to see if ons daemon is running
debug - Display debug information for the ons daemon
reconfig - Reload the ons configuration
help - Print a short syntax description (this).
detailed - Print a verbose syntax description.
[root@oracle02 trace]#
ref: http://blog.roodo.com/mywork/archives/11858971.html
關於ons,好像是跟jdbc連接有關係,我們application使用的是dot net.所以沒有看到影響。得空研究一下。
没有评论:
发表评论