博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
RAC节点服务ora.rac2.gsd的offline问题解决方法
阅读量:6757 次
发布时间:2019-06-26

本文共 2414 字,大约阅读时间需要 8 分钟。

模拟节点故障时,rac2的vip顠到了rac1,CRS重构后,rac2重新启动.发现如下情况:
 
[oracle@rac2 bin]$ ./crs_stat -t -v
Name Type R/RA F/FT Target State Host 
----------------------------------------------------------------------
ora....C1.inst application 0/5 0/0 ONLINE ONLINE rac1 
ora....C2.inst application 0/5 0/0 ONLINE ONLINE rac2 
ora.RAC.db application 0/1 0/1 ONLINE ONLINE rac2 
ora....SM1.asm application 0/5 0/0 ONLINE ONLINE rac1 
ora....C1.lsnr application 0/5 0/0 ONLINE ONLINE rac1 
ora.rac1.gsd application 0/5 0/0 ONLINE ONLINE rac1 
ora.rac1.ons application 0/3 0/0 ONLINE ONLINE rac1 
ora.rac1.vip application 0/0 0/0 ONLINE ONLINE rac1 
ora....SM2.asm application 0/5 0/0 ONLINE ONLINE rac2 
ora....C2.lsnr application 0/5 0/0 ONLINE ONLINE rac2 
ora.rac2.gsd application 0/5 0/0 ONLINE OFFLINE 
ora.rac2.ons application 0/3 0/0 ONLINE ONLINE rac2 
ora.rac2.vip application 0/0 0/0 ONLINE ONLINE rac2
 
检查节点一: 
[oracle@rac2 bin]$ ./srvctl status nodeapps -n rac1
VIP is running on node: rac1
GSD is running on node: rac1
Listener is running on node: rac1
ONS daemon is running on node: rac1
 
检查节点二:
[oracle@rac2 bin]$ ./srvctl status nodeapps -n rac2
VIP is running on node: rac2
GSD is not running on node: rac2
Listener is running on node: rac2
ONS daemon is running on node: rac2
 
手工重启服务:
[oracle@rac2 bin]$ ./srvctl start nodeapps -n rac2
 
再次检查如下:
[oracle@rac2 bin]$ ./srvctl status nodeapps -n rac2
VIP is running on node: rac2
GSD is running on node: rac2
Listener is running on node: rac2
ONS daemon is running on node: rac2
 
这时候,服务一切正常:
[oracle@rac2 bin]$ ./crs_stat -t -v
Name Type R/RA F/FT Target State Host 
----------------------------------------------------------------------
ora....C1.inst application 0/5 0/0 ONLINE ONLINE rac1 
ora....C2.inst application 0/5 0/0 ONLINE ONLINE rac2 
ora.RAC.db application 0/1 0/1 ONLINE ONLINE rac2 
ora....SM1.asm application 0/5 0/0 ONLINE ONLINE rac1 
ora....C1.lsnr application 0/5 0/0 ONLINE ONLINE rac1 
ora.rac1.gsd application 0/5 0/0 ONLINE ONLINE rac1 
ora.rac1.ons application 0/3 0/0 ONLINE ONLINE rac1 
ora.rac1.vip application 0/0 0/0 ONLINE ONLINE rac1 
ora....SM2.asm application 0/5 0/0 ONLINE ONLINE rac2 
ora....C2.lsnr application 0/5 0/0 ONLINE ONLINE rac2 
ora.rac2.gsd application 0/5 0/0 ONLINE ONLINE rac2 
ora.rac2.ons application 0/3 0/0 ONLINE ONLINE rac2 
ora.rac2.vip application 0/0 0/0 ONLINE ONLINE rac2

 

 

    本文转自vcdog 51CTO博客,原文链接:http://blog.51cto.com/255361/837558,如需转载请自行联系原作者

你可能感兴趣的文章
ASP.NET-FineUI开发实践-16(二)
查看>>
Visual Studio2012使用技巧
查看>>
编程思想
查看>>
在Hadoop伪分布式模式下安装Hive(derby,mysql)
查看>>
经典布局样式
查看>>
python小白之np功能快速查
查看>>
Authorization Bypass in RSA NetWitness
查看>>
把ISO文件当作光盘挂载
查看>>
Algs4-2.3.26子数组大小直方图
查看>>
C#下Emgucv的配置
查看>>
你未必了解的DNS
查看>>
pycharm的放大和缩小字体的显示 和ubunt的截圖工具使用 ubuntu上安装qq微信等工具...
查看>>
【Java基础】sun.misc.BASE64和Java 8 java.util.Base64区别
查看>>
响应式开发的思路和断点的选择
查看>>
使用PL/SQL连接Oracle时报错ORA-12541: TNS: 无监听程序
查看>>
Mac011--DbWrench Database安装
查看>>
[原]Flash研究(一)——本地通讯
查看>>
bootStrap table 和 JS 开发过程中遇到问题汇总
查看>>
【小知识点】input输入框在安卓以及IOS手机中光标及字体不居中解决方法
查看>>
selenium
查看>>