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)載請(qǐng)標(biāo)明出處。
Oracle?的數(shù)據(jù)庫版本是 11.2.0.3,研究了下??crsctl start/stop ?crs 和 crsctl start/stop cluster 的關(guān)系。
11gr2 ?oracle 把一些grid類的組件進(jìn)行了打包,叫做?grid infrastructure ,簡(jiǎn)稱GI,主要包括如下組件:
1) ohas :新增的 oracle high availability service。
2) crs:原有的clusterware 組件,功能有很大改變。
3) asm:以前是集成在dbca,現(xiàn)在單獨(dú)抽了出來,添加了asmca,增強(qiáng)了asmcmd,增強(qiáng)了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 ?是對(duì)當(dāng)前節(jié)點(diǎn)的相關(guān)資源進(jì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 是會(huì)影響到 這4種進(jìn)程的
2)?crsctl start/stop ?cluster 可對(duì)集群的所有節(jié)點(diǎn)(當(dāng)然包括當(dāng)前節(jié)點(diǎn))的相關(guān)資源進(jìn)行操作的,前提是目標(biāo)節(jié)點(diǎn)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ù)?可對(duì)集群的所有節(jié)點(diǎn)或者指定 的 node1,node2 節(jié)點(diǎn)操作
[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 ?只會(huì)影響到 這三種進(jìn)程,不會(huì)影響到 ohas。
? ? ? ? 可以通過 crsctl enable/disable has 來控制has的是否隨OS的啟動(dòng)而啟動(dòng)。類似crs 也有 crsctl enable/disable crs
? ? ? ??
本文轉(zhuǎn)自xiaocao1314051CTO博客,原文鏈接:?http://blog.51cto.com/xiaocao13140/1930523,如需轉(zhuǎn)載請(qǐng)自行聯(lián)系原作者
總結(jié)
以上是生活随笔為你收集整理的11g crsctl start/stop crs 和 crsctl start/stop cluster 的关系的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 亚信安全火力全开猎捕“坏兔子”,全歼详解
- 下一篇: SQL Server扩展事件(Exten