ITPub博客

首页 > 数据库 > Oracle > ASM CRS 实例启动和关闭

ASM CRS 实例启动和关闭

原创 Oracle 作者:it_newbalance 时间:2014-06-04 09:37:41 0 删除 编辑

 

11gR2 + ASM 实例启动和关闭,需要采用如下命令:
crs_stop  -all
crs_start -all


[Hywdatadg]/home/grid$>crs_stat -t -v
Name           Type           R/RA   F/FT   Target    State     Host       
----------------------------------------------------------------------
ora.ARCH.dg    ora....up.type 0/5    0/     OFFLINE   OFFLINE              
ora.CRS.dg     ora....up.type 1/5    0/     ONLINE    OFFLINE              
ora.DATA.dg    ora....up.type 0/5    0/     OFFLINE   OFFLINE              
ora....ER.lsnr ora....er.type 0/5    0/     ONLINE    ONLINE    hywdatadg  
ora.asm        ora.asm.type   0/5    0/     OFFLINE   OFFLINE              
ora.cssd       ora.cssd.type  0/5    0/5    ONLINE    ONLINE    hywdatadg  
ora.dgprd1.db  ora....se.type 0/2    0/1    OFFLINE   OFFLINE              
ora.diskmon    ora....on.type 0/10   0/5    ONLINE    ONLINE    hywdatadg 

1.启动
mydb:grid:/grid>crs_start -all
Attempting to start
`ora.LISTENER.lsnr` on member `mydb`
Attempting to start `ora.cssd` on member
`mydb`
Attempting to start `ora.diskmon` on member `mydb`
Start of
`ora.LISTENER.lsnr` on member `mydb` succeeded.
Start of `ora.diskmon` on
member `mydb` succeeded.
Start of `ora.cssd` on member `mydb`
succeeded.
Attempting to start `ora.asm` on member `mydb`
Start of
`ora.asm` on member `mydb` succeeded.
Attempting to start `ora.DATA.dg` on
member `mydb`
Start of `ora.DATA.dg` on member `mydb` succeeded.


2.查看状态      
mydb:grid:/grid>crs_stat -t
Name          
Type           Target    State     Host       

------------------------------------------------------------
ora.DATA.dg   
ora....up.type ONLINE    ONLINE    mydb       
ora....ER.lsnr ora....er.type
ONLINE    ONLINE    mydb       
ora.asm        ora.asm.type   ONLINE   
ONLINE    mydb       
ora.cssd       ora.cssd.type  ONLINE    ONLINE   
mydb       
ora.diskmon    ora....on.type ONLINE    ONLINE    mydb    


3.关闭
mydb:grid:/grid>crs_stop -all


Attempting to stop `ora.LISTENER.lsnr` on member `mydb`
Attempting to stop
`ora.diskmon` on member `mydb`
Attempting to stop `ora.DATA.dg` on member
`mydb`
Stop of `ora.DATA.dg` on member `mydb` succeeded.
Attempting to
stop `ora.asm` on member `mydb`
Stop of `ora.asm` on member `mydb`
succeeded.
Attempting to stop `ora.cssd` on member `mydb`
Stop of
`ora.cssd` on member `mydb` succeeded.
Stop of `ora.LISTENER.lsnr` on member
`mydb` succeeded.
Stop of `ora.diskmon` on member `mydb` succeeded.


4.查看状态
mydb:grid:/grid>crs_stat -t
Name           Type          
Target    State     Host       

------------------------------------------------------------
ora.DATA.dg   
ora....up.type OFFLINE   OFFLINE              
ora....ER.lsnr ora....er.type
OFFLINE   OFFLINE              
ora.asm        ora.asm.type   OFFLINE  
OFFLINE              
ora.cssd       ora.cssd.type  OFFLINE  
OFFLINE              
ora.diskmon    ora....on.type OFFLINE   OFFLINE  

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/24558279/viewspace-1175138/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2011-03-28

  • 博文量
    143
  • 访问量
    703023