了解Maclean Liu|向Maclean Liu提问 Oracle ALLSTARS 全明星(群内有多位Oracle高级售后support,N位OCM和ACE) QQ群 # QQ群号:23549328 # 已经升级到 2000人群,空位多多。欢迎有一定基础的Oracle骨友加入,现在入群需要经过Maclean的技术面试,欢迎面试,请加QQ号:47079569 为好友参加面试 2群基础群 适合刚入门的同学,会共享最佳入门实践和资料 QQ群 # QQ群号:171092051 # 已经升级到 500人的超级群,空位多多,无需面试

RAC CSS diagwait参数的作用和设置方法

diagwait 参数的作用延迟节点重启的时间值,以便RAC后台进程写出必要的诊断信息到各自的日志中。 Diagwait: Delay the node reboot for a short time to write all diagnostic messages to the logs. Doesn’t increase of probability of data corruption Setup steps: shutdown CRS crsctl set css diagwait 13 –force restart CRS Set diagwait to 13 Will set the oprocd margin to 10 seconds instead of 500ms Will prevent unneccesary node evictions under high load Is a general recommendation for servers under high load, not specific to Oracle VM Please review Metalink note 559365.1 on how to set this If diagwait > reboottime then OPROCD_DEFAULT_MARGIN := (diagwait - reboottime) * 1000 设置css diagwait的步骤: 1. crsctl stop crs #<CRS_HOME>/bin/oprocd stop <2>. Ensure that Clusterware stack is down on all nodes by executing #ps -ef |egrep "crsd.bin|ocssd.bin|evmd.bin|oprocd" This should return no processes. If there are clusterware processes running and you proceed to the next step, you will corrupt your OCR. Do not continue until the clusterware processes are down on all the nodes of the cluster. <3>. From one node of the cluster, change the value of the "diagwait" parameter to 13 seconds by issuing the command as root: #crsctl set css diagwait 13 -force <4>. Check if diagwait is set successfully by executing. the following command. The command should return 13. If diagwait is not set, the following message will be returned "Configuration parameter diagwait is not defined" #crsctl get css diagwait   <5>. Restart the Oracle Clusterware on all the nodes by executing: #crsctl start crs   <6>. Validate that the node is running by executing: #crsctl check crs   移除diagwait的设置 crsctl unset css diagwait

posted on 2013-03-19 00:48  Oracle和MySQL  阅读(310)  评论(0编辑  收藏  举报

导航