> 数据库 > Oracle >

启动oracle rac步骤三

 [root@raw1bin]#./crs_stat-t

NameTypeTargetStateHost

------------------------------------------------------------

ora.raw.dbapplicationONLINEONLINEraw1

ora.raw.raw.csapplicationONLINEONLINEraw1

ora....aw1.srvapplicationONLINEONLINEraw1

ora....aw2.srvapplicationONLINEONLINEraw2

ora....w1.instapplicationONLINEONLINEraw1

ora....w2.instapplicationONLINEONLINEraw2

ora....SM1.asmapplicationONLINEONLINEraw1

ora....W1.lsnrapplicationONLINEONLINEraw1

ora.raw1.gsdapplicationONLINEONLINEraw1

ora.raw1.onsapplicationONLINEONLINEraw1

ora.raw1.vipapplicationONLINEONLINEraw1

ora....SM2.asmapplicationONLINEONLINEraw2

ora....W2.lsnrapplicationONLINEONLINEraw2

ora.raw2.gsdapplicationONLINEONLINEraw2

ora.raw2.onsapplicationONLINEONLINEraw2

ora.raw2.vipapplicationONLINEONLINEraw2

 

[oracle@raw1~]$emctlstopdbconsole

TZsettoPRC

OracleEnterpriseManager10gDatabaseControlRelease10.2.0.1.0

Copyright(c)1996,2005OracleCorporation.Allrightsreserved.

http://raw1:1158/em/console/aboutApplication

StoppingOracleEnterpriseManager10gDatabaseControl...

...Stopped.

[oracle@raw1~]$srvctlstopinstance-draw-iraw1

[oracle@raw1~]$srvctlstopinstance-draw-iraw2

[oracle@raw1~]$srvctlstopasm-nraw1

[oracle@raw1~]$srvctlstopasm-nraw2

[oracle@raw1~]$srvctlstopnodeapps-nraw1

[oracle@raw1~]$srvctlstopnodeapps-nraw2

 

[oracle@raw1bin]$crs_stat-t

NameTypeTargetStateHost

------------------------------------------------------------

ora.raw.dbapplicationOFFLINEOFFLINE

Ora.raw.raw.csapplicationOFFLINEOFFLINE

ora....aw1.srvapplicationOFFLINEOFFLINE

ora....aw2.srvapplicationOFFLINEOFFLINE

ora....w1.instapplicationOFFLINEOFFLINE

ora....w2.instapplicationOFFLINEOFFLINE

ora....SM1.asmapplicationOFFLINEOFFLINE

ora....W1.lsnrapplicationOFFLINEOFFLINE

ora.raw1.gsdapplicationOFFLINEOFFLINE

ora.raw1.onsapplicationOFFLINEOFFLINE

ora.raw1.vipapplicationOFFLINEOFFLINE

ora....SM2.asmapplicationOFFLINEOFFLINE

ora....W2.lsnrapplicationOFFLINEOFFLINE

ora.raw2.gsdapplicationOFFLINEOFFLINE

ora.raw2.onsapplicationOFFLINEOFFLINE

ora.raw2.vipapplicationOFFLINEOFFLINE

 

 

四.在启动的过程中最好检测着crsASM和数据库的日志:

 

crs日志:

[oracle@rac1~]$tail-f/u01/app/oracle/product/10.2.0/crs_1/log/rac1/alertrac1.log

[oracle@rac2~]$tail-f/u01/app/oracle/product/10.2.0/crs_1/log/rac2/alertrac2.log

 

ASM日志:

[oracle@rac1~]$tail-f/u01/app/oracle/admin/+ASM/bdump/alert_+ASM1.log

[oracle@rac2~]$tail-f/u01/app/oracle/admin/+ASM/bdump/alert_+ASM2.log

 

数据库日志:

[oracle@rac1~]$tail-f/u01/app/oracle/admin/ora9i/bdump/alert_ora9i1.log

[oracle@rac2~]$tail-f/u01/app/oracle/admin/ora9i/bdump/alert_ora9i2.log

 

注:tail-f命令可用于监视另一个进程正在写入的文件的增长。




(责任编辑:IT)