rac中 crsctl start/stop crs and crsctl start/stop cluster 區別
官網解釋:
crsctl start/stop crs - Manage start/stop the entire Oracle Clusterware stack on a node, including the OHASD process, this command is to be used only on the local node..
crsctl start/stop cluster - Manage start/stop the Oracle Clusterware stack on local node if you do not specify either -all or -n and nodes remote if option -n or -all be specified , NOT including the OHASD process. You can't start/stop clusterware stack without OHASD process running .
Despite crsctl start/stop crs manage entire Oracle Clusterware stack on local node crsctl start/stop crs not allow you to manage remote nodes, unlike crsctl start/stop cluster that allows you to manage all the nodes, but if the process OASH is runing.
To manage Oracle Clusterware Stack on remote nodes, the ohasd (Oracle High Availability Services Daemon) must be running on all managed nodes. (i.e using crsctl start cluster -n <node1>, <node2>)
Then if you try use crsctl start cluster -n node1,node2 and your local node is node1 and on node1 or node2 OHASD not running this command will fails.
中文解釋:
1 crsctl start/stop crs 是單節管理
crsctl start/stop cluster [-all 所有節點] 可以管理多個節點
2 crsctl start/stop crs 管理crs 包含程式 OHASD
crsctl start/stop cluster 不包含OHASD程式 必須要先啟動 OHASD程式才可以使用
3 11gr2 rac 手動啟動或關閉過程
使用crsctl start/stop cluster手動啟動和關閉的過程如下:
crsctl start/stop cluster -all 會啟動所有OHAS是啟動狀態的所有節點
使用crsctl start/stop crs手動啟動/關閉流程
節點1
crsctl start/stop crs 實際上後面會把Oracle crs 管理的資源都會啟動
節點2
crsctl start/stop crs
......
Enable CRS to start on reboot
crsctl enable crs
Disable CRS to start on reboot
crsctl disable crs
4 查詢資源啟動情況
crsctl stat res -init -t
注:
crsctl start/stop crs 與crsctl start/stop has 作用相同
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/14377/viewspace-2286407/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- crsctl start/stop crs and crsctl start/stop cluster 區別
- stop/start The CRS, OHAS, ASM, RDBMS & ACFS Services on RAC 11.2_1355977.1ASM
- CRS: Resource in UNKNOWN state and srvctl Cannot Start/Stop Resource_845709.1
- oracle多例項start-stop指令碼Oracle指令碼
- Python標準庫:內建函式slice(stop) slice(start, stop[, step])Python函式
- Oracle 10g isqlplus start/stopOracle 10gSQL
- 【RAC】使用crsctl命令獲取Oracle CRS版本資訊Oracle
- hyperf 服務管理指令碼 start、restart、stop、status指令碼REST
- 10g dbconsole start/stop/status
- linux中守護程式啟停工具start-stop-daemonLinux
- Weblogic and Component(OVD/OID/Web) start, stop和restartWebREST
- oracle rac crsctl 命令大全Oracle
- 使用crsctl工具診斷cluster問題
- 新增 Nginx 為系統服務(service nginx start/stop/force-reload)Nginx
- crsctl工具
- docker stop 與 docker kill的區別Docker
- 【HBase】start master 與 start master --backup 的區別AST
- 11gR2和10gR2中crsctl/srvctl的區別
- [ZT]crs_stop -all 命令後遇到 UNKNOWN
- 【RAC】使用crsctl工具控制Oracle RAC叢集的啟停Oracle
- hp-ux: CRS not Start on One of Nodes in a Two Node Cluster With HP MC_967090.1UX
- oracle10g rac(rhel)_srvctl star執行出錯_crs_stop出錯Oracle
- jQuery stop()jQuery
- stop and stare
- RAC常用開啟關閉命令 - CRSCTL和SRVCTL 用法
- oracle 11gR2 RAC crsctl 命令的增強Oracle
- 【kingsql分享】解決RAC大量UNKNOWN和CRS-0216: Could not stop resourceSQL
- CRS-1205:Auto-start failed for the CRS resourceAI
- [Oracle] crsctl stat res -tOracle
- shut down and start crs for Oracle10GOracle
- start-stop-daemon: matching on world-writable pidfile /var/run/redis/redis-server.pid is insecurefailedRedisServerAI
- Stop runnung job
- crs_stop -all 命令後遇到 UNKNOWN解決及RAC資源啟動順序
- rac維護工具集系列(三)--叢集層crsctl系列
- CRSCTL和SRVCTL的命令用法
- oracle10g rac(rhel4)__crsctl_srvctl_ocrctl命令Oracle
- has、ohasd、crs、cluster區別和聯絡
- docker-compose up start restart區別DockerREST