Oracle RAC中停止has、crs、cluster的区别

1.首先介绍一下这3个服务

Has是高可用服务,用在restart环境,可以是单机环境也可以是RAC环境,不管单机环境还是RAC环境,都可以执行crsctl check has,在RAC环境下,可以简单理解成cluster的一部分
crs是集群就绪服务,用在RAC环境,单机环境不能执行crsctl check crs,crsctl start crs不单单启动CRSD了,等于启动OHASD、CRSD、CSSD三者了
cluster就是集群的意思,用在RAC环境,单机环境不能执行crsctl check cluster

2.通过命令查看hascrscluster管理的内容

[root@nxybj1 ~]# crsctl check has

CRS-4638: Oracle High Availability Services is online

[root@nxybj1 ~]# crsctl check crs

CRS-4638: Oracle High Availability Services is online

CRS-4537: Cluster Ready Services is online

CRS-4529: Cluster Synchronization Services is online

CRS-4533: Event Manager is online

[root@nxybj1 ~]# crsctl check cluster

CRS-4537: Cluster Ready Services is online

CRS-4529: Cluster Synchronization Services is online

CRS-4533: Event Manager is online

这里可以看到,crs管理的内容是has管理的内容和cluster管理的内容。

3.分别执行3条命令查看结果显示

3.1 停止cluster服务

root@nxybj1 ~]# crsctl stop cluster

CRS-2673: Attempting to stop ‘ora.crsd’ on ’nxybj1′

CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on ’nxybj1′

CRS-2673: Attempting to stop ‘ora.LISTENER.lsnr’ on ’nxybj1′

CRS-2673: Attempting to stop ‘ora.LISTENER_SCAN1.lsnr’ on ’nxybj1′

CRS-2673: Attempting to stop ‘ora.CRS.dg’ on ’nxybj1′

CRS-2673: Attempting to stop ‘ora.power.db’ on ’nxybj1′

CRS-2677: Stop of ‘ora.LISTENER.lsnr’ on ’nxybj1′ succeeded

CRS-2673: Attempting to stop ‘ora.nxybj1.vip’ on ’nxybj1′

CRS-2677: Stop of ‘ora.LISTENER_SCAN1.lsnr’ on ’nxybj1′ succeeded

CRS-2673: Attempting to stop ‘ora.scan1.vip’ on ’nxybj1′

CRS-2677: Stop of ‘ora.scan1.vip’ on ’nxybj1′ succeeded

CRS-2672: Attempting to start ‘ora.scan1.vip’ on ’nxybj2′

CRS-2677: Stop of ‘ora.nxybj1.vip’ on ’nxybj1′ succeeded

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值