(2)經過如下命令查看集羣軟件狀態 -bash-3.2# ./crsctl check cluster -all ************************************************************** t5220-1: CRS-4535: Cannot communicate with Cluster Ready Services CRS-4529: Cluster Synchronization Services is online CRS-4533: Event Manager is online ************************************************************** t5220-2: CRS-4535: Cannot communicate with Cluster Ready Services CRS-4529: Cluster Synchronization Services is online CRS-4533: Event Manager is online ************************************************************** (從上面能夠看出集羣軟件沒有啓動,並且兩個節點同時出現一樣的狀況) (2)首先進入目錄 /export/home/u01/app/11.2.0/grid/bin ,而後使用如下命令查看集羣所用重要資源狀態 -bash-3.2# ./crsctl stat res -t -init -------------------------------------------------------------------------------- NAME TARGET STATE SERVER STATE_DETAILS -------------------------------------------------------------------------------- Cluster Resources -------------------------------------------------------------------------------- ora.asm 1 ONLINE INTERMEDIATE t5220-2 Startup Initiated ora.crsd 1 ONLINE OFFLINE ora.cssd 1 ONLINE ONLINE t5220-2 ora.cssdmonitor 1 ONLINE ONLINE t5220-2 ora.ctssd 1 ONLINE ONLINE t5220-2 ACTIVE:0 ora.diskmon 1 ONLINE ONLINE t5220-2 ora.evmd 1 ONLINE ONLINE t5220-2 ora.gipcd 1 ONLINE ONLINE t5220-2 ora.gpnpd 1 ONLINE ONLINE t5220-2 ora.mdnsd 1 ONLINE ONLINE t5220-2 經過上面發現ASM 沒有正常啓動,因此致使asm和crsd沒有啓動,這就形成了集羣軟件沒法正常啓動, (3)使用su - grid 切換到grid 用戶,使用以下命令 -bash-3.2$ asmcmd Connected to an idle instance. ASMCMD> startup ASM instance started Total System Global Area 300736512 bytes Fixed Size 2147512 bytes Variable Size 273423176 bytes ASM Cache 25165824 bytes ASM diskgroups mounted ASMCMD> exit 在兩個節點上都要同時執行上面的操做。將ASM啓動,並且必須同時在兩個節點上進行。 (4)以上操做成功後再進行以下操做 -bash-3.2# ./crsctl check cluster -all ************************************************************** t5220-1: CRS-4537: Cluster Ready Services is online CRS-4529: Cluster Synchronization Services is online CRS-4533: Event Manager is online ************************************************************** t5220-2: CRS-4537: Cluster Ready Services is online CRS-4529: Cluster Synchronization Services is online CRS-4533: Event Manager is online ************************************************************** 集羣軟件全部重要資源已經都在線運行 (5)使用如下命令查看 -bash-3.2# ./crs_stat -t Name Type Target State Host ------------------------------------------------------------ ora.CRS.dg ora....up.type ONLINE ONLINE t5220-1 ora.FRA.dg ora....up.type OFFLINE OFFLINE ora....ER.lsnr ora....er.type ONLINE ONLINE t5220-1 ora....N1.lsnr ora....er.type ONLINE ONLINE t5220-1 ora....DATA.dg ora....up.type ONLINE ONLINE t5220-1 ora.asm ora.asm.type ONLINE ONLINE t5220-1 ora.eons ora.eons.type ONLINE ONLINE t5220-1 ora.gsd ora.gsd.type OFFLINE OFFLINE ora....network ora....rk.type ONLINE ONLINE t5220-1 ora.oc4j ora.oc4j.type OFFLINE OFFLINE ora.ons ora.ons.type ONLINE ONLINE t5220-1 ora.scan1.vip ora....ip.type ONLINE ONLINE t5220-1 ora....SM1.asm application ONLINE ONLINE t5220-1 ora....-1.lsnr application ONLINE ONLINE t5220-1 ora....0-1.gsd application OFFLINE OFFLINE ora....0-1.ons application ONLINE ONLINE t5220-1 ora....0-1.vip ora....t1.type ONLINE ONLINE t5220-1 ora....SM2.asm application ONLINE ONLINE t5220-2 ora....-2.lsnr application ONLINE ONLINE t5220-2 ora....0-2.gsd application OFFLINE OFFLINE ora....0-2.ons application ONLINE ONLINE t5220-2 ora....0-2.vip ora....t1.type ONLINE ONLINE t5220-2 ora.wjyff.db ora....se.type ONLINE ONLINE t5220-1 集羣軟件啓動成功,數據庫已經啓動