重启操作系统后state还是unknown
[root@node1 ~]# /opt/ora10g/product/10.2.0/crs_1/bin/crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.node1.gsd application ONLINE UNKNOWN node1
ora.node1.ons application ONLINE UNKNOWN node1
ora.node1.vip application ONLINE ONLINE node1
ora.node2.gsd application ONLINE UNKNOWN node2
ora.node2.ons application ONLINE UNKNOWN node2
ora.node2.vip application ONLINE ONLINE node2
方法1)重启crs服务
[oracle@node1 bin]$/opt/ora10g/product/10.2.0/crs_1/bin/crs_stop -all
[oracle@node1 bin]$/opt/ora10g/product/10.2.0/crs_1/bin/crs_start -all
[root@node1 ~]# /opt/ora10g/product/10.2.0/crs_1/bin/crs_stat -t
[root@node1 ~]# /etc/init.d/init.crs stop
[root@node1 ~]# /etc/init.d/init.crs start
方法2)强制重启状态是UNKNOWN的服务
[oracle@node1 ~]$ /opt/ora10g/product/10.2.0/crs_1/bin/crs_stop -f ora.node1.ons
Attempting to stop `ora.node1.ons` on member `node1`
Stop of `ora.node1.ons` on member `node1` succeeded.
[oracle@node1 ~]$ /opt/ora10g/product/10.2.0/crs_1/bin/crs_start -f ora.node1.ons
Attempting to start `ora.node1.ons` on member `node1`
Start of `ora.node1.ons` on member `node1` succeeded.
[root@node1 ~]# /opt/ora10g/product/10.2.0/crs_1/bin/crs_stat -t
Name Type Target State Host
------------------------------------------------------------
ora.node1.gsd application ONLINE ONLINE node1
ora.node1.ons application ONLINE ONLINE node1
ora.node1.vip application ONLINE ONLINE node1
ora.node2.gsd application ONLINE UNKNOWN node2
ora.node2.ons application ONLINE UNKNOWN node2
ora.node2.vip application ONLINE ONLINE node2
[root@node1 ~]#
阅读(1203) | 评论(0) | 转发(0) |