欢迎访问 生活随笔!

生活随笔

当前位置: 首页 >

11g crsctl start/stop crs 和 crsctl start/stop cluster 的关系

发布时间:2024/9/21 66 豆豆
生活随笔 收集整理的这篇文章主要介绍了 11g crsctl start/stop crs 和 crsctl start/stop cluster 的关系 小编觉得挺不错的,现在分享给大家,帮大家做个参考.

    11g crsctl start/stop  crs 和 crsctl start/stop cluster 的关系                        


版权声明:本文为博主原创文章,转载请标明出处。


Oracle 的数据库版本是 11.2.0.3,研究了下  crsctl start/stop  crs 和 crsctl start/stop cluster 的关系。

11gr2  oracle 把一些grid类的组件进行了打包,叫做 grid infrastructure ,简称GI,主要包括如下组件:


1) ohas :新增的 oracle high availability service。

2) crs:原有的clusterware 组件,功能有很大改变。

3) asm:以前是集成在dbca,现在单独抽了出来,添加了asmca,增强了asmcmd,增强了advm,acfs。

3) oracle net:就是以前数据库的监听那部分,增加了scan。


知道了这些后,就好理解 crsctl start/stop  crs 和 crsctl start/stop cluster 的关系


1) crsctl start/stop  crs  是对当前节点的相关资源进行操作的,是包含ohas的,通过check 可以查看结果

        [grid@node1 bin]$ ./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

 

       crsctl start/stop  crs 是会影响到 这4种进程的


2) crsctl start/stop  cluster 可对集群的所有节点(当然包括当前节点)的相关资源进行操作的,前提是目标节点ohas必需是OK的,通过check 可以查看结果

        [grid@node1 bin]$ ./crsctl check cluster
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online

        添加 -all  或者 -n node1,node2 参数 可对集群的所有节点或者指定 的 node1,node2 节点操作

[grid@node1 bin]$ ./crsctl check cluster -all
**************************************************************
node1:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
**************************************************************
node2:
CRS-4537: Cluster Ready Services is online
CRS-4529: Cluster Synchronization Services is online
CRS-4533: Event Manager is online
**************************************************************


        crsctl start/stop  cluster  只会影响到 这三种进程,不会影响到 ohas。


        可以通过 crsctl enable/disable has 来控制has的是否随OS的启动而启动。类似crs 也有 crsctl enable/disable crs

        



















本文转自xiaocao1314051CTO博客,原文链接: http://blog.51cto.com/xiaocao13140/1930523,如需转载请自行联系原作者



总结

以上是生活随笔为你收集整理的11g crsctl start/stop crs 和 crsctl start/stop cluster 的关系的全部内容,希望文章能够帮你解决所遇到的问题。

如果觉得生活随笔网站内容还不错,欢迎将生活随笔推荐给好友。