eth1192.168.1.121globalcluster_interconnect
eth1192.168.1.0globalcluster_interconnect
--查看public类型的网卡
[root@raw1bin]#./oifcfggetiftypepublic
eth010.85.10.119globalpublic
eth010.85.10.121globalpublic
eth010.85.10.0globalpublic
--删除接口配置
[root@raw1bin]#./oifcfgdelif-global
--添加接口配置
[root@raw1bin]#./oifcfgsetif-globaleth0/192.168.1.119:public
[root@raw1bin]#./oifcfgsetif-globaleth1/10.85.10.119:cluster_interconnect
三.集群层
集群层是指由Clusterware组成的核心集群,这一层负责维护集群内的共享设备,并为应用集群提供完整的集群状态视图,应用集群依据这个视图进行调整。这一
层共有4个命令:crsctl,ocrcheck,ocrdump,ocrconfig.后三个是针对OCR磁盘的。
3.1CRSCTL
Crsctl命令可以用来检查CRS进程栈,每个crs进程状态,管理Votedisk,跟踪CRS进程功能。
[root@raw1bin]#./crsctl
Usage:crsctlcheckcrscheckstheviabilityoftheCRSstack
crsctlcheckcssdcheckstheviabilityofCSS
crsctlcheckcrsdcheckstheviabilityofCRS
crsctlcheckevmdcheckstheviabilityofEVM
crsctlsetcss<parameter><value>setsaparameteroverride
crsctlgetcss<parameter>getsthevalueofaCSSparameter
crsctlunsetcss<parameter>setsCSSparametertoitsdefault
crsctlquerycssvotediskliststhevotingdisksusedbyCSS
crsctladdcssvotedisk<path>addsanewvotingdisk
crsctldeletecssvotedisk<path>removesavotingdisk
crsctlenablecrsenablesstartupforallCRSdaemons
crsctldisablecrsdisablesstartupforallCRSdaemons
crsctlstartcrsstartsallCRSdaemons.
crsctlstopcrsstopsallCRSdaemons.StopsCRSresourcesincaseofcluster.
crsctlstartresourcesstartsCRSresources.
crsctlstopresourcesstopsCRSresources.
crsctldebugstatedumpevmdumpsstateinfoforevmobjects
crsctldebugstatedumpcrsdumpsstateinfoforcrsobjects
crsctldebugstatedumpcssdumpsstateinfoforcssobjects
crsctldebuglogcss[module:level]{,module:level}...
TurnsondebuggingforCSS
crsctldebugtracecssdumpsCSSinmemorytracingcache
crsctldebuglogcrs[module:level]{,module:level}...
TurnsondebuggingforCRS
crsctldebugtracecrsdumpsCRSinmemorytracingcache
crsctldebuglogevm[module:level]{,module:level}...
TurnsondebuggingforEVM
crsctldebugtraceevmdumpsEVMinmemorytracingcache
crsctldebuglogres<resname:level>turnsondebuggingforresources
crsctlquerycrssoftwareversion[<nodename>]liststheversionofCRSsoftwareinstalled
crsctlquerycrsactiveversionliststheCRSsoftwareoperatingversion
crsctllsmodulescssliststheCSSmodulesthatcanbeusedfordebugging
crsctllsmodulescrsliststheCRSmodulesthatcanbeusedfordebugging
crsctllsmodulesevmliststheEVMmodulesthatcanbeusedfordebugging
Ifnecesaryanyofthesecommandscanberunwithadditionaltracingby
addinga"trace"argumentattheveryfront.
Example:crsctltracecheckcss
3.1.1检查CRS状态
[root@raw1bin]#./crsctlcheckcrs
CSSappearshealthy