ITPub博客

首页 > Linux操作系统 > Linux操作系统 > 11g rac 停止与启动

11g rac 停止与启动

原创 Linux操作系统 作者:renjixinchina 时间:2012-12-10 10:16:13 0 删除 编辑
root 用户下
启动:
/u01/app/11.2.0/grid/bin/crsctl start cluster -all
停止:
/u01/app/11.2.0/grid/bin/crsctl stop cluster -all

单个节点:
/u01/app/11.2.0/grid/bin/crsctl start cluster 
/u01/app/11.2.0/grid/bin/crsctl stop cluster

启动和停止的过程如下:
[root@node1 ~]# /u01/app/11.2.0/grid/bin/crsctl stop cluster -all
CRS-2673: Attempting to stop 'ora.crsd' on 'node1'
CRS-2673: Attempting to stop 'ora.crsd' on 'node2'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'node1'
CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'node1'
CRS-2673: Attempting to stop 'ora.CRS.dg' on 'node1'
CRS-2673: Attempting to stop 'ora.racdb.db' on 'node1'
CRS-2673: Attempting to stop 'ora.registry.acfs' on 'node1'
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on 'node2'
CRS-2673: Attempting to stop 'ora.CRS.dg' on 'node2'
CRS-2673: Attempting to stop 'ora.racdb.db' on 'node2'
CRS-2673: Attempting to stop 'ora.registry.acfs' on 'node2'
CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'node2'
CRS-2673: Attempting to stop 'ora.LISTENER_SCAN1.lsnr' on 'node2'
CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'node1' succeeded
CRS-2673: Attempting to stop 'ora.node1.vip' on 'node1'
CRS-2677: Stop of 'ora.node1.vip' on 'node1' succeeded
CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'node2' succeeded
CRS-2673: Attempting to stop 'ora.node2.vip' on 'node2'
CRS-2677: Stop of 'ora.node2.vip' on 'node2' succeeded
CRS-2677: Stop of 'ora.LISTENER_SCAN1.lsnr' on 'node2' succeeded
CRS-2673: Attempting to stop 'ora.scan1.vip' on 'node2'
CRS-2677: Stop of 'ora.scan1.vip' on 'node2' succeeded
CRS-2677: Stop of 'ora.registry.acfs' on 'node2' succeeded
CRS-2677: Stop of 'ora.registry.acfs' on 'node1' succeeded
CRS-2677: Stop of 'ora.CRS.dg' on 'node2' succeeded
CRS-2677: Stop of 'ora.CRS.dg' on 'node1' succeeded
CRS-2677: Stop of 'ora.racdb.db' on 'node2' succeeded
CRS-2673: Attempting to stop 'ora.DATA.dg' on 'node2'
CRS-2677: Stop of 'ora.DATA.dg' on 'node2' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'node2'
CRS-2677: Stop of 'ora.asm' on 'node2' succeeded
CRS-2677: Stop of 'ora.racdb.db' on 'node1' succeeded
CRS-2673: Attempting to stop 'ora.DATA.dg' on 'node1'
CRS-2677: Stop of 'ora.DATA.dg' on 'node1' succeeded
CRS-2673: Attempting to stop 'ora.asm' on 'node1'
CRS-2677: Stop of 'ora.asm' on 'node1' succeeded
CRS-2673: Attempting to stop 'ora.eons' on 'node1'
CRS-2673: Attempting to stop 'ora.ons' on 'node1'
CRS-2677: Stop of 'ora.ons' on 'node1' succeeded
CRS-2673: Attempting to stop 'ora.net1.network' on 'node1'
CRS-2677: Stop of 'ora.net1.network' on 'node1' succeeded
CRS-2677: Stop of 'ora.eons' on 'node1' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'node1' has completed
CRS-2673: Attempting to stop 'ora.eons' on 'node2'
CRS-2673: Attempting to stop 'ora.ons' on 'node2'
CRS-2677: Stop of 'ora.ons' on 'node2' succeeded
CRS-2673: Attempting to stop 'ora.net1.network' on 'node2'
CRS-2677: Stop of 'ora.crsd' on 'node1' succeeded
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'node1'
CRS-2673: Attempting to stop 'ora.ctssd' on 'node1'
CRS-2673: Attempting to stop 'ora.evmd' on 'node1'
CRS-2673: Attempting to stop 'ora.asm' on 'node1'
CRS-2677: Stop of 'ora.net1.network' on 'node2' succeeded
CRS-2677: Stop of 'ora.cssdmonitor' on 'node1' succeeded
CRS-2677: Stop of 'ora.evmd' on 'node1' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'node1' succeeded
CRS-2677: Stop of 'ora.eons' on 'node2' succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'node2' has completed
CRS-2677: Stop of 'ora.crsd' on 'node2' succeeded
CRS-2673: Attempting to stop 'ora.cssdmonitor' on 'node2'
CRS-2673: Attempting to stop 'ora.ctssd' on 'node2'
CRS-2673: Attempting to stop 'ora.evmd' on 'node2'
CRS-2673: Attempting to stop 'ora.asm' on 'node2'
CRS-2677: Stop of 'ora.cssdmonitor' on 'node2' succeeded
CRS-2677: Stop of 'ora.asm' on 'node1' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'node1'
CRS-2677: Stop of 'ora.evmd' on 'node2' succeeded
CRS-2677: Stop of 'ora.cssd' on 'node1' succeeded
CRS-2673: Attempting to stop 'ora.diskmon' on 'node1'
CRS-2677: Stop of 'ora.diskmon' on 'node1' succeeded
CRS-2677: Stop of 'ora.ctssd' on 'node2' succeeded
CRS-2677: Stop of 'ora.asm' on 'node2' succeeded
CRS-2673: Attempting to stop 'ora.cssd' on 'node2'
CRS-2677: Stop of 'ora.cssd' on 'node2' succeeded
CRS-2673: Attempting to stop 'ora.diskmon' on 'node2'
CRS-2677: Stop of 'ora.diskmon' on 'node2' succeeded
[root@node1 ~]# /u01/app/11.2.0/grid/bin/crsctl start cluster -all
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'node1'
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'node2'
CRS-2676: Start of 'ora.cssdmonitor' on 'node1' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'node1'
CRS-2672: Attempting to start 'ora.diskmon' on 'node1'
CRS-2676: Start of 'ora.cssdmonitor' on 'node2' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'node2'
CRS-2672: Attempting to start 'ora.diskmon' on 'node2'
CRS-2676: Start of 'ora.diskmon' on 'node1' succeeded
CRS-2676: Start of 'ora.diskmon' on 'node2' succeeded
CRS-2676: Start of 'ora.cssd' on 'node2' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'node2'
CRS-2676: Start of 'ora.cssd' on 'node1' succeeded
CRS-2672: Attempting to start 'ora.ctssd' on 'node1'
CRS-2676: Start of 'ora.ctssd' on 'node2' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'node2'
CRS-2672: Attempting to start 'ora.evmd' on 'node2'
CRS-2676: Start of 'ora.ctssd' on 'node1' succeeded
CRS-2672: Attempting to start 'ora.evmd' on 'node1'
CRS-2672: Attempting to start 'ora.asm' on 'node1'
CRS-2676: Start of 'ora.evmd' on 'node2' succeeded
CRS-2676: Start of 'ora.evmd' on 'node1' succeeded
CRS-2676: Start of 'ora.asm' on 'node1' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'node1'
CRS-2676: Start of 'ora.asm' on 'node2' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'node2'
CRS-2676: Start of 'ora.crsd' on 'node1' succeeded
CRS-2676: Start of 'ora.crsd' on 'node2' succeeded
注意:11g RAC 下 crs_stop 不能停止asm ocr 服务的信息存放在asm 磁盘上,是依赖于asm的 ,所以要关闭crs

直接CRS_STOP -ALL 结果如下:
[grid@node1 ~]$ crs_stop -all
CRS-2500: Cannot stop resource 'ora.gsd' as it is not running
CRS-2500: Cannot stop resource 'ora.oc4j' as it is not running
Attempting to stop `ora.eons` on member `node2`
Attempting to stop `ora.LISTENER.lsnr` on member `node2`
Attempting to stop `ora.LISTENER.lsnr` on member `node1`
Attempting to stop `ora.eons` on member `node1`
CRS-2789: Cannot stop resource 'ora.gsd' as it is not running on server 'node1'
Attempting to stop `ora.CRS.dg` on member `node1`
Attempting to stop `ora.DATA.dg` on member `node1`
Attempting to stop `ora.racdb.db` on member `node1`
Attempting to stop `ora.registry.acfs` on member `node1`
CRS-2789: Cannot stop resource 'ora.gsd' as it is not running on server 'node2'
Attempting to stop `ora.CRS.dg` on member `node2`
Attempting to stop `ora.DATA.dg` on member `node2`
Attempting to stop `ora.racdb.db` on member `node2`
Attempting to stop `ora.registry.acfs` on member `node2`
Stop of `ora.LISTENER.lsnr` on member `node2` succeeded.
Attempting to stop `ora.ons` on member `node2`
Attempting to stop `ora.node2.vip` on member `node2`
Stop of `ora.node2.vip` on member `node2` succeeded.
Stop of `ora.LISTENER.lsnr` on member `node1` succeeded.
Attempting to stop `ora.ons` on member `node1`
Attempting to stop `ora.node1.vip` on member `node1`
Attempting to stop `ora.LISTENER_SCAN1.lsnr` on member `node1`
Stop of `ora.node1.vip` on member `node1` succeeded.
Stop of `ora.LISTENER_SCAN1.lsnr` on member `node1` succeeded.
Attempting to stop `ora.scan1.vip` on member `node1`
Stop of `ora.scan1.vip` on member `node1` succeeded.
Stop of `ora.ons` on member `node2` succeeded.
CRS-2789: Cannot stop resource 'ora.ons' as it is not running on server 'node2'
Attempting to stop `ora.net1.network` on member `node2`
Stop of `ora.net1.network` on member `node2` succeeded.
Stop of `ora.registry.acfs` on member `node2` succeeded.
Stop of `ora.eons` on member `node2` succeeded.
Stop of `ora.ons` on member `node1` succeeded.
CRS-2789: Cannot stop resource 'ora.ons' as it is not running on server 'node1'
Attempting to stop `ora.net1.network` on member `node1`
Stop of `ora.net1.network` on member `node1` succeeded.
Stop of `ora.registry.acfs` on member `node1` succeeded.
Stop of `ora.CRS.dg` on member `node2` succeeded.
Stop of `ora.DATA.dg` on member `node2` succeeded.
Stop of `ora.eons` on member `node1` succeeded.
Stop of `ora.CRS.dg` on member `node1` succeeded.
Stop of `ora.racdb.db` on member `node2` succeeded.
Attempting to stop `ora.asm` on member `node2`
CRS-2673: Attempting to stop 'ora.asm' on 'node2'
ORA-15097: cannot SHUTDOWN ASM instance with connected client
CRS-2675: Stop of 'ora.asm' on 'node2' failed

Stop of `ora.racdb.db` on member `node1` succeeded.
CRS-0216: Could not stop resource 'ora.asm node1 1'.

CRS-0216: Could not stop resource 'ora.asm node2 1'.

CRS-0216: Could not stop resource 'ora.gsd'.

CRS-0216: Could not stop resource 'ora.gsd node1 1'.

CRS-0216: Could not stop resource 'ora.gsd node2 1'.

CRS-0216: Could not stop resource 'ora.oc4j'.

CRS-0216: Could not stop resource 'ora.ons node1 1'.

CRS-0216: Could not stop resource 'ora.ons node2 1'.


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

上一篇: DDL触发器
下一篇: oracle 补丁号查询
请登录后发表评论 登录
全部评论

注册时间:2011-01-30

  • 博文量
    373
  • 访问量
    2161066