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/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- RAC 管理(crs_stat、crsctl、srvctl)
- hyperf 服務管理指令碼 start、restart、stop、status指令碼REST
- [20190507]crs_stat與crsctl.txt
- start-stop-daemon: matching on world-writable pidfile /var/run/redis/redis-server.pid is insecurefailedRedisServerAI
- [20210506]RAC crsctl status ... -v 獲取last started or status changes資訊.txtAST
- docker-compose up start restart區別DockerREST
- docker run 與docker start的區別,為容器命名Docker
- start uniappAPP
- SharePoint 2013 workflows stop working (Failed on started.)AI
- pg_ctl stop 的三種模式模式
- 3.1.5.6 Forcing an Instance to Start
- 開發springboot startSpring Boot
- uboot中start.s原始碼指令boot原始碼
- jQuery: 動畫佇列與停止動畫 stopjQuery動畫佇列
- java面試題之Thread的run()和start()方法有什麼區別Java面試題thread
- 在Java中如何優雅的停止一個執行緒?可別再用Thread.stop()了!Java執行緒thread
- AUTO START ORACLE ON LINUX(zt)OracleLinux
- where to start, from where the end
- [Kick Start] 2021 Round B
- ORACLE opatch 打補丁fuser command output for /u01/.../crsctl.bin is FailureOracleAI
- 解決mysqld_multi stop命令無效問題MySql
- 為什麼GC(垃圾回收)必須stop-the-world?GC
- Teamcenter 《POM has not start》處理
- Oracle start with connect by PostgreSQL recursive cteOracleSQL
- Thread中run和start方法的模板設計模式thread設計模式
- linux重新啟動後,阿里的oceanbase啟動不了,用這個命令obd cluster start demoLinux阿里
- Oracle Database Cloud - Database as a Service Quick StartOracleDatabaseCloudUI
- React-App:NPM start 報錯ReactAPPNPM
- Linux下安裝Apollo (Quick Start)LinuxUI
- Failed to start docker.service: Unit not foundAIDocker
- 從零開始寫 Docker(十二)---實現 mydocker stop 停止容器Docker
- MySQL:從庫binlog 使用mysqlbinlog stop-datetime過濾問題MySql
- mysql服務啟動報錯Redirecting to systemctl start mysqld.serviceFailed to start mysqld.service:Unit not found.MySqlAI
- SAP CRM中介軟體Generic stop set的錯誤如何解決
- Spring Boot 動手寫一個 StartSpring Boot
- [fabric]Cannot start service orderer: Mounts denied: In MacMac
- PostgreSQL pg_ctl start超時分析SQL
- linux start_udev 導致VIP漂移Linuxdev