Script:Collect vip resource Diagnostic Information
生活随笔
收集整理的這篇文章主要介紹了
Script:Collect vip resource Diagnostic Information
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.
以下腳本可以用于收集 Oracle RAC中vip 資源或其他CRS resource的診斷信息: ? action plan:./runcluvfy.sh stage -post crsinst -n all? -verbose./runcluvfy.sh stage -pre crsinst -n all? -verboseorcluvfy stage -post crsinst -n all -verbosecluvfy stage -pre? crsinst -n all -verbose1. Please upload the following logs of all two nodes:
$CRS_HOME/log/<nodename>/*.log
$CRS_HOME/log/<nodename>/crsd/*.log
$CRS_HOME/log/<nodename>/cssd/*.log
$CRS_HOME/log/<nodename>/racg/*.log
$CRS_HOME/log/<nodename>/client/*.log
$CRS_HOME/log/<nodename>/evmd/*.log/etc/oracle/oprocd/*.log.* or /var/opt/oracle/oprocd/*.log.* (If have)$crs_stat –t
$crsctl check crs
$crsctl check boot2. Please consult your sysadmin and make sure that the gateway is pingable all the time 1- test the gw on every node
consult your sysadmin to create a crontab unix shell script to ping the
gateway of your public interface every 2 seconds for example and the result is to be
spooled in /tmp/test_gw_<nodename>.logping your gateway? and upload the ping log 2- increase the tracing level of the vip resource ?as root user# cd $ORA_CRS_HOME/bin# crsctl debug log res <resname:level># crsctl debug log res <vip resourfce name>:53- restart the clusterware3- execute this test on both nodes at the same time$ script /tmp/testvip_<nodename>.log$ cd $ORA_CRS_HOME/bin$ hostname$ date$ cat /etc/hosts$ ifconfig -a$ oifcfg getif ?$ netstat -rn$ oifcfg iflist$ srvctl config nodeapps -n <nodename> -a -g -s -l?????????????? (repeate it for all nodes)$ crs_stat –t$ exit4- reset the tracing level of the vip resource ?as root user# cd $ORA_CRS_HOME/bin# crsctl debug log res <resname:level># crsctl debug log res <vip resourfce name>:1Up on the next occurence, please upload the following information from all nodesa-? /tmp/test_gw_<nodename>.logb- /tmp/testvip_<nodename>.logc- the crsd logd. The resource racg$ORA_CRS_HOME/log/<nodename>/racg/vip*e. the racgvip script from$ORA_CRS_HOME/bin/racgvipf- RDA from all the nodesNote 314422.1 Remote Diagnostic Agent (RDA) 4.0 – Overviewg- the o/s message fileIBM: /bin/errpt -a > messages.outLinux: /var/log/messagesSolaris: /var/adm/messages3. CRS Diagnosticsnote 330358.1 -- CRS Diagnostic Collection Guide, please use (all .gz files especially crsData_$HOST.tar.gz
need to be uploaded)diagcollection.pl --collect Please make sure to include *ALL* requested files (missing any will delay or prevendting from
identifying root cause) from *ALL* nodes in a single zip and upload.Note 330358.1 - CRS 10gR2/ 11gR1/ 11gR2 Diagnostic Collection Guide ?? ? ?
Note 298895.1 - Modifying the default gateway address used by the Oracle 10g VIP
Note 399213.1 - VIP Going Offline Intermittantly - Slow Response from Default Gateway
Note 401783.1 - Changes in Oracle Clusterware after applying 10.2.0.3 Patchset
總結(jié)
以上是生活随笔為你收集整理的Script:Collect vip resource Diagnostic Information的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Silverlight 4.0添加鼠标右
- 下一篇: 写MySQL存储过程实现动态执行SQL