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