[oracle@rac01~]$crsctlUsage:crsctlcheckcrs-checkstheviabilityoftheCRSstackcrsctlcheckcssd-checkstheviabilityofCSScrsctlcheckcrsd-checkstheviabilityofCRScrsctlcheckevmd-checkstheviabilityofEVMcrsctlsetcss<parameter><value>-setsaparameteroverridecrsctlgetcss<parameter>-getsthevalueofaCSSparametercrsctlunsetcss<parameter>-setsCSSparametertoitsdefaultcrsctlquerycssvotedisk-liststhevotingdisksusedbyCSScrsctladdcssvotedisk<path>-addsanewvotingdiskcrsctldeletecssvotedisk<path>-removesavotingdiskcrsctlenablecrs-enablesstartupforallCRSdaemonscrsctldisablecrs-disablesstartupforallCRSdaemonscrsctlstartcrs-startsallCRSdaemons.crsctlstopcrs-stopsallCRSdaemons.StopsCRSresourcesincaseofcluster.crsctlstartresources-startsCRSresources.crsctlstopresources-stopsCRSresources.crsctldebugstatedumpevm-dumpsstateinfoforevmobjectscrsctldebugstatedumpcrs-dumpsstateinfoforcrsobjectscrsctldebugstatedumpcss-dumpsstateinfoforcssobjectscrsctldebuglogcss[module:level]{,module:level}...-TurnsondebuggingforCSScrsctldebugtracecss-dumpsCSSin-memorytracingcachecrsctldebuglogcrs[module:level]{,module:level}...-TurnsondebuggingforCRScrsctldebugtracecrs-dumpsCRSin-memorytracingcachecrsctldebuglogevm[module:level]{,module:level}...-TurnsondebuggingforEVMcrsctldebugtraceevm-dumpsEVMin-memorytracingcachecrsctldebuglogres<resname:level>turnsondebuggingforresourcescrsctlquerycrssoftwareversion[<nodename>]-liststheversionofCRSsoftwareinstalledcrsctlquerycrsactiveversion-liststheCRSsoftwareoperatingversioncrsctllsmodulescss-liststheCSSmodulesthatcanbeusedfordebuggingcrsctllsmodulescrs-liststheCRSmodulesthatcanbeusedfordebuggingcrsctllsmodulesevm-liststheEVMmodulesthatcanbeusedfordebuggingIfnecesaryanyofthesecommandscanberunwithadditionaltracingbyaddinga"trace"argumentattheveryfront.Example:crsctltracecheckcss1.检查crs状态[oracle@rac01~]$crsctlcheckcrsCSSappearshealthyCRSappearshealthyEVMappearshealthy以上输出的crscssevm组件都是正常的,若有组件检查失败,输出会给出以下Failure信息:[oracle@rac01~]$crsctlcheckcrsFailure1contactingCSSdaemonCannotcommunicatewithCRSCannotcommunicatewithEVM2.检查crs各个组件的状态信息检查cssd组件状态[oracle@rac01~]$crsctlcheckcssdCSSappearshealthy检查crsd组件状态[oracle@rac01~]$crsctlcheckcrsdCRSappearshealthy检查evmd组件状态[oracle@rac01~]$crsctlcheckevmdEVMappearshealthy3.用以下两条命令来维护crs服务的自动启动,需要用root用户执行[root@rac01~]#/opt/ora10g/product/10.2.0/crs/bin/crsctldisablecrs[root@rac01~]#/opt/ora10g/product/10.2.0/crs/bin/crsctlenablecrs4.用root身份来停止crs服务[root@rac01~]#/opt/ora10g/product/10.2.0/crs/bin/crsctlstopcrsStoppingresources.SuccessfullystoppedCRSresourcesStoppingCSSD.ShuttingdownCSSdaemon.Shutdownrequestsuccessfullyissued.此时我们在rac01节点检查crs各个组件的状态会有以下的信息[oracle@rac01~]$crsctlcheckcrsFailure1contactingCSSdaemonCannotcommunicatewithCRSCannotcommunicatewithEVMrac02节点正常[oracle@rac02~]$crsctlcheckcrsCSSappearshealthyCRSappearshealthyEVMappearshealthy5.用root身份来开启CRS服务[root@rac01~]#/opt/ora10g/product/10.2.0/crs/bin/crsctlstartcrsAttemptingtostartCRSstackTheCRSstackwillbestartedshortly此时系统正在启动CRS,我们来检查此时crs服务的状态,crs组件服务依次开启只要所有组件状态都是healthy[oracle@rac01~]$crsctlcheckcrsCSSappearshealthyCannotcommunicatewithCRSEVMappearshealthy[oracle@rac01~]$crsctlcheckcrsCSSappearshealthyCRSappearshealthyEVMappearshealthy6.查看votedisk的信息[oracle@rac01~]$crsctlquerycssvotedisk0.0/dev/raw/raw1located1votedisk(s).