在 Metalink Note: 559365.1 中,详细说明了如果设置这个参数。[@more@]设这个参数的目的是在节点被踢出时,留点时间去写跟踪日志。559365文档的标题就是:
Using Diagwait as a diagnostic to get more information for diagnosing Oracle Clusterware Node evictions
什么地方提到了这个文档呢?RACGuides_Rac10gR2OnLinux.pdf
依据文档设置这个参数又遇到了什么问题呢?
原来做RAC集群,都是参考installGuide和前人的经验去搞,没有看过RACGuides_Rac10gR2OnLinux.pdf
昨天为了备考OCM,特地重新安装了REDHAT3 下载了这篇文档对照着看,发现一些小细节挺有意思。
在设置diagwait参数时,依据文档所述,在两个节点上分别停止crs,确认没有oprocd进程之后,
[root@as3node1 bin]# ./crsctl get css diagwait
Configuration parameter diagwait is not defined.
[root@as3node1 bin]#
[root@as3node1 bin]# ./crsctl set css diagwait 13 -force
Failure 32 in main OCR context initialization:
PROC-32: Cluster Ready Services on the local node is not running Messaging error [9]
[root@as3node1 bin]# ./crsctl get css diagwait
Configuration parameter diagwait is not defined.
[root@as3node1 bin]# ./crsctl start crs
Attempting to start CRS stack
The CRS stack will be started shortly
[root@as3node1 bin]# crsctl get css diagwait
Configuration parameter diagwait is not defined.
[root@as3node1 bin]#
[root@as3node1 bin]# crsctl set css diagwait 13
Configuration parameter diagwait is now set to 13.
[root@as3node1 bin]#
[root@as3node1 bin]# crsctl get css diagwait
13[root@as3node1 bin]#
再去2号节点,启动crs之后,查询diagwait,已经改成了13。
因为与文档操作不符,特此标注一下。
Using Diagwait as a diagnostic to get more information for diagnosing Oracle Clusterware Node evictions
什么地方提到了这个文档呢?RACGuides_Rac10gR2OnLinux.pdf
依据文档设置这个参数又遇到了什么问题呢?
原来做RAC集群,都是参考installGuide和前人的经验去搞,没有看过RACGuides_Rac10gR2OnLinux.pdf
昨天为了备考OCM,特地重新安装了REDHAT3 下载了这篇文档对照着看,发现一些小细节挺有意思。
在设置diagwait参数时,依据文档所述,在两个节点上分别停止crs,确认没有oprocd进程之后,
[root@as3node1 bin]# ./crsctl get css diagwait
Configuration parameter diagwait is not defined.
[root@as3node1 bin]#
[root@as3node1 bin]# ./crsctl set css diagwait 13 -force
Failure 32 in main OCR context initialization:
PROC-32: Cluster Ready Services on the local node is not running Messaging error [9]
[root@as3node1 bin]# ./crsctl get css diagwait
Configuration parameter diagwait is not defined.
[root@as3node1 bin]# ./crsctl start crs
Attempting to start CRS stack
The CRS stack will be started shortly
[root@as3node1 bin]# crsctl get css diagwait
Configuration parameter diagwait is not defined.
[root@as3node1 bin]#
[root@as3node1 bin]# crsctl set css diagwait 13
Configuration parameter diagwait is now set to 13.
[root@as3node1 bin]#
[root@as3node1 bin]# crsctl get css diagwait
13[root@as3node1 bin]#
再去2号节点,启动crs之后,查询diagwait,已经改成了13。
因为与文档操作不符,特此标注一下。
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/271063/viewspace-1056645/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/271063/viewspace-1056645/