首页 > 其他 > 详细

crsctl stop has=shutdown abort

时间:2018-05-24 21:12:32      阅读:351      评论:0      收藏:0      [点我收藏+]
crsctl stop has=shutdown abort ,这样太暴力啦。

正确的操作,大家需要注意啦。

srvctl stop database -d xxxx
crsctl stop has
[root@roidb1 ~]# /u01/app/11.2.0/grid/bin/crsctl start has
CRS-4123: Oracle High Availability Services has been started.
[root@roidb1 ~]# /u01/app/11.2.0/grid/bin/crsctl stop has 
CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on ‘roidb1‘
CRS-2673: Attempting to stop ‘ora.crsd‘ on ‘roidb1‘
CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on ‘roidb1‘
CRS-2673: Attempting to stop ‘ora.LISTENER.lsnr‘ on ‘roidb1‘
CRS-2673: Attempting to stop ‘ora.CRSDG.dg‘ on ‘roidb1‘
CRS-2673: Attempting to stop ‘ora.registry.acfs‘ on ‘roidb1‘
CRS-2673: Attempting to stop ‘ora.orcl.db‘ on ‘roidb1‘
CRS-2677: Stop of ‘ora.LISTENER.lsnr‘ on ‘roidb1‘ succeeded
CRS-2673: Attempting to stop ‘ora.roidb1.vip‘ on ‘roidb1‘
CRS-2677: Stop of ‘ora.registry.acfs‘ on ‘roidb1‘ succeeded
CRS-2677: Stop of ‘ora.orcl.db‘ on ‘roidb1‘ succeeded
CRS-2673: Attempting to stop ‘ora.DATADG.dg‘ on ‘roidb1‘
CRS-2677: Stop of ‘ora.roidb1.vip‘ on ‘roidb1‘ succeeded
CRS-2672: Attempting to start ‘ora.roidb1.vip‘ on ‘roidb2‘
CRS-2677: Stop of ‘ora.DATADG.dg‘ on ‘roidb1‘ succeeded
CRS-2676: Start of ‘ora.roidb1.vip‘ on ‘roidb2‘ succeeded
CRS-2677: Stop of ‘ora.CRSDG.dg‘ on ‘roidb1‘ succeeded
CRS-2673: Attempting to stop ‘ora.asm‘ on ‘roidb1‘
CRS-2677: Stop of ‘ora.asm‘ on ‘roidb1‘ succeeded
CRS-2673: Attempting to stop ‘ora.ons‘ on ‘roidb1‘
CRS-2677: Stop of ‘ora.ons‘ on ‘roidb1‘ succeeded
CRS-2673: Attempting to stop ‘ora.net1.network‘ on ‘roidb1‘
CRS-2677: Stop of ‘ora.net1.network‘ on ‘roidb1‘ succeeded
CRS-2792: Shutdown of Cluster Ready Services-managed resources on ‘roidb1‘ has completed
CRS-2677: Stop of ‘ora.crsd‘ on ‘roidb1‘ succeeded
CRS-2673: Attempting to stop ‘ora.drivers.acfs‘ on ‘roidb1‘
CRS-2673: Attempting to stop ‘ora.ctssd‘ on ‘roidb1‘
CRS-2673: Attempting to stop ‘ora.evmd‘ on ‘roidb1‘
CRS-2673: Attempting to stop ‘ora.asm‘ on ‘roidb1‘
CRS-2673: Attempting to stop ‘ora.mdnsd‘ on ‘roidb1‘
CRS-2677: Stop of ‘ora.evmd‘ on ‘roidb1‘ succeeded
CRS-2677: Stop of ‘ora.mdnsd‘ on ‘roidb1‘ succeeded
CRS-2677: Stop of ‘ora.ctssd‘ on ‘roidb1‘ succeeded
CRS-2677: Stop of ‘ora.asm‘ on ‘roidb1‘ succeeded
CRS-2673: Attempting to stop ‘ora.cluster_interconnect.haip‘ on ‘roidb1‘
CRS-2677: Stop of ‘ora.cluster_interconnect.haip‘ on ‘roidb1‘ succeeded
CRS-2673: Attempting to stop ‘ora.cssd‘ on ‘roidb1‘
CRS-2677: Stop of ‘ora.cssd‘ on ‘roidb1‘ succeeded
CRS-2673: Attempting to stop ‘ora.crf‘ on ‘roidb1‘
CRS-2677: Stop of ‘ora.drivers.acfs‘ on ‘roidb1‘ succeeded
CRS-2677: Stop of ‘ora.crf‘ on ‘roidb1‘ succeeded
CRS-2673: Attempting to stop ‘ora.gipcd‘ on ‘roidb1‘
CRS-2677: Stop of ‘ora.gipcd‘ on ‘roidb1‘ succeeded
CRS-2673: Attempting to stop ‘ora.gpnpd‘ on ‘roidb1‘
CRS-2677: Stop of ‘ora.gpnpd‘ on ‘roidb1‘ succeeded
CRS-2793: Shutdown of Oracle High Availability Services-managed resources on ‘roidb1‘ has completed
CRS-4133: Oracle High Availability Services has been stopped.
[root@roidb1 ~]# 

看日志:
<roidb1:orcl1:/u01/app/oracle/diag/rdbms/orcl/orcl1/trace>$tail -f al*.log

Thu May 24 20:37:36 2018
**Shutting down instance (abort)**
License high water mark = 5
USER (ospid: 5933): terminating the instance
Instance terminated by USER, pid = 5933
Thu May 24 20:37:37 2018
Instance shutdown complete

crsctl stop has=shutdown abort

原文:http://blog.51cto.com/roidba/2120028

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!