11g crsctl start/stop crs 和 crsctl start/stop cluster 的关系
?? ?11g crsctl start/stop ?crs 和 crsctl start/stop cluster 的關(guān)系 ? ? ? ? ? ? ? ? ? ?????
版權(quán)聲明:本文為博主原創(chuàng)文章,轉(zhuǎn)載請標明出處。
Oracle?的數(shù)據(jù)庫版本是 11.2.0.3,研究了下??crsctl start/stop ?crs 和 crsctl start/stop cluster 的關(guān)系。
11gr2 ?oracle 把一些grid類的組件進行了打包,叫做?grid infrastructure ,簡稱GI,主要包括如下組件:
1) ohas :新增的 oracle high availability service。
2) crs:原有的clusterware 組件,功能有很大改變。
3) asm:以前是集成在dbca,現(xiàn)在單獨抽了出來,添加了asmca,增強了asmcmd,增強了advm,acfs。
3) oracle net:就是以前數(shù)據(jù)庫的監(jiān)聽那部分,增加了scan。
知道了這些后,就好理解?crsctl start/stop ?crs 和 crsctl start/stop cluster 的關(guān)系
1)?crsctl start/stop ?crs ?是對當前節(jié)點的相關(guān)資源進行操作的,是包含ohas的,通過check 可以查看結(jié)果
? ? ? ??[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 可對集群的所有節(jié)點(當然包括當前節(jié)點)的相關(guān)資源進行操作的,前提是目標節(jié)點ohas必需是OK的,通過check 可以查看結(jié)果
? ? ? ??[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 參數(shù)?可對集群的所有節(jié)點或者指定 的 node1,node2 節(jié)點操作
[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
? ? ? ??
本文轉(zhuǎn)自xiaocao1314051CTO博客,原文鏈接:?http://blog.51cto.com/xiaocao13140/1930523,如需轉(zhuǎn)載請自行聯(lián)系原作者
總結(jié)
以上是生活随笔為你收集整理的11g crsctl start/stop crs 和 crsctl start/stop cluster 的关系的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 亚信安全火力全开猎捕“坏兔子”,全歼详解
- 下一篇: 设置电脑背景颜色为保护眼睛的颜色