【ASK_ORACLE】Relink RAC叢集詳細步驟
說明
相關文章連結:
Relink ASM單例項資料庫詳細步驟: http://blog.itpub.net/69992972/viewspace-2871957/
實驗環境
搭建平臺:VMware Workstation
OS:RHEL 7.6
Grid&DB:Oracle 12.2.0.1
Relink RAC叢集步驟
1. 停止RAC叢集
切換到root使用者
$ su - # $GI_HOME/bin/crsctl stop crs ## 每個節點都要執行!!
注:
(1)$GI_HOME/bin/crsctl stop crs 這條命令可以徹底停止RAC的所有服務,但只適用於本地節點,所以要停止整個RAC叢集必須在每個節點執行!!
(2)$GI_HOME/bin/crsctl stop cluster -all 這條命令不能停止底層的高可用ohas程式
# $GI_HOME/bin/crsctl stop crs ## 在testrac01 節點執行後的輸出 CRS-2791: Starting shutdown of Oracle High Availability Services-managed resources on 'testrac01' CRS-2673: Attempting to stop 'ora.crsd' on 'testrac01' CRS-2790: Starting shutdown of Cluster Ready Services-managed resources on server 'testrac01' CRS-2673: Attempting to stop 'ora.m2test.db' on 'testrac01' CRS-2673: Attempting to stop 'ora.chad' on 'testrac01' CRS-2677: Stop of 'ora.m2test.db' on 'testrac01' succeeded CRS-33673: Attempting to stop resource group 'ora.asmgroup' on server 'testrac01' CRS-2673: Attempting to stop 'ora.DATA.dg' on 'testrac01' CRS-2673: Attempting to stop 'ora.LISTENER.lsnr' on 'testrac01' CRS-2677: Stop of 'ora.LISTENER.lsnr' on 'testrac01' succeeded CRS-2673: Attempting to stop 'ora.testrac01.vip' on 'testrac01' CRS-2677: Stop of 'ora.testrac01.vip' on 'testrac01' succeeded CRS-2677: Stop of 'ora.DATA.dg' on 'testrac01' succeeded CRS-2673: Attempting to stop 'ora.asm' on 'testrac01' CRS-2677: Stop of 'ora.asm' on 'testrac01' succeeded CRS-2673: Attempting to stop 'ora.ASMNET1LSNR_ASM.lsnr' on 'testrac01' CRS-2677: Stop of 'ora.chad' on 'testrac01' succeeded CRS-2677: Stop of 'ora.ASMNET1LSNR_ASM.lsnr' on 'testrac01' succeeded CRS-2673: Attempting to stop 'ora.asmnet1.asmnetwork' on 'testrac01' CRS-2677: Stop of 'ora.asmnet1.asmnetwork' on 'testrac01' succeeded CRS-33677: Stop of resource group 'ora.asmgroup' on server 'testrac01' succeeded. CRS-2672: Attempting to start 'ora.testrac01.vip' on 'cehaovmsp1102' CRS-2676: Start of 'ora.testrac01.vip' on 'cehaovmsp1102' succeeded CRS-2673: Attempting to stop 'ora.ons' on 'testrac01' CRS-2677: Stop of 'ora.ons' on 'testrac01' succeeded CRS-2673: Attempting to stop 'ora.net1.network' on 'testrac01' CRS-2677: Stop of 'ora.net1.network' on 'testrac01' succeeded CRS-2792: Shutdown of Cluster Ready Services-managed resources on 'testrac01' has completed CRS-2677: Stop of 'ora.crsd' on 'testrac01' succeeded CRS-2673: Attempting to stop 'ora.asm' on 'testrac01' CRS-2673: Attempting to stop 'ora.crf' on 'testrac01' CRS-2673: Attempting to stop 'ora.drivers.acfs' on 'testrac01' CRS-2673: Attempting to stop 'ora.mdnsd' on 'testrac01' CRS-2677: Stop of 'ora.drivers.acfs' on 'testrac01' succeeded CRS-2677: Stop of 'ora.crf' on 'testrac01' succeeded CRS-2677: Stop of 'ora.mdnsd' on 'testrac01' succeeded CRS-2677: Stop of 'ora.asm' on 'testrac01' succeeded CRS-2673: Attempting to stop 'ora.cluster_interconnect.haip' on 'testrac01' CRS-2677: Stop of 'ora.cluster_interconnect.haip' on 'testrac01' succeeded CRS-2673: Attempting to stop 'ora.ctssd' on 'testrac01' CRS-2673: Attempting to stop 'ora.evmd' on 'testrac01' CRS-2677: Stop of 'ora.ctssd' on 'testrac01' succeeded CRS-2677: Stop of 'ora.evmd' on 'testrac01' succeeded CRS-2673: Attempting to stop 'ora.cssd' on 'testrac01' CRS-2677: Stop of 'ora.cssd' on 'testrac01' succeeded CRS-2673: Attempting to stop 'ora.driver.afd' on 'testrac01' CRS-2673: Attempting to stop 'ora.gipcd' on 'testrac01' CRS-2673: Attempting to stop 'ora.gpnpd' on 'testrac01' CRS-2677: Stop of 'ora.driver.afd' on 'testrac01' succeeded CRS-2677: Stop of 'ora.gipcd' on 'testrac01' succeeded CRS-2677: Stop of 'ora.gpnpd' on 'testrac01' succeeded CRS-2793: Shutdown of Oracle High Availability Services-managed resources on 'testrac01' has completed CRS-4133: Oracle High Availability Services has been stopped.
2. 在 每個RAC節點執行unlock操作
$ su - # $GI_HOME/crs/install/rootcrs.sh -unlock ##每個節點都要執行!!
3. 在 每個RAC節點執行relink操作
# su - grid $ $GI_HOME/bin/relink all writing relink log to: /oracle/app/grid/product/12.2.0/grid/install/relink.log
4. 在 每個RAC節點執行lock操作
# $GI_HOME/rdbms/install/rootadd_rdbms.sh # $GI_HOME/crs/install/rootcrs.sh -lock
注:
12.1.0.1版本需要使用rootcrs.sh -patch;11g版本使用perl rootcrs.pl -patch
5. 檢查每個RAC節點是否啟動
在每個節點執行完roothas.sh後,每個的CRS服務都會啟動, 保險起見用root或者grid使用者檢查一下,如果沒有啟動,需要用root使用者手動啟動
(1)檢查命令:
$GI_HOME/bin/crsctl status res -t
(2)啟動CRS服務命令
$ su - # $GI_HOME/bin/crsctl start crs ##每個節點都要執行
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/69992972/viewspace-2872417/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【ASK_ORACLE】Relink ASM單例項資料庫詳細步驟OracleASM單例資料庫
- Redis 超詳細的手動搭建Cluster叢集步驟Redis
- Oracle RAC叢集解除安裝步驟Oracle
- 主機os重灌的節點加回RAC叢集步驟示例(11gR2 RAC)
- 配置PLSQL Developer詳細步驟SQLDeveloper
- Oracle Stream配置詳細步驟Oracle
- IOS之GCD詳細步驟iOSGC
- 修改RAC叢集私網地址和子網掩碼的實施步驟
- LVM建立的詳細步驟LVM
- docker安裝portainer詳細步驟DockerAI
- MySQL的安裝步驟(詳細)MySql
- mysql建立master/slave詳細步驟MySqlAST
- Github配置ssh key詳細步驟Github
- 轉貼:上週ORACLE RAC培訓時的安裝RAC的詳細步驟(一)Oracle
- 轉貼:上週ORACLE RAC培訓時的安裝RAC的詳細步驟(三)Oracle
- 轉貼:上週ORACLE RAC培訓時的安裝RAC的詳細步驟(二)Oracle
- 轉貼:上週ORACLE RAC培訓時的安裝RAC的詳細步驟(五)Oracle
- 轉貼:上週ORACLE RAC培訓時的安裝RAC的詳細步驟(四)Oracle
- 轉貼:上週ORACLE RAC培訓時的安裝RAC的詳細步驟(六)Oracle
- greenplum 6.9 for centos7叢集搭建步驟CentOS
- 【BUILD_ORACLE】Oracle RAC配置ASM Filter Driver(ASMFD)(二)詳細配置步驟UIOracleASMFilter
- Rabbitmq叢集高可用部署詳細MQ
- CentOS 7 安裝MongoDB詳細步驟CentOSMongoDB
- 安裝fbprophet模組詳細步驟
- 曲折的gcc升級詳細步驟GC
- Linux安裝JDK詳細步驟LinuxJDK
- NFS伺服器搭建詳細步驟NFS伺服器
- MyBatis的逆向工程詳細步驟操作MyBatis
- Oracle 11g RAC 環境打PSU補丁的詳細步驟Oracle
- CentOS 7上安裝WordPress詳細步驟CentOS
- Linux安裝jdk的詳細步驟。LinuxJDK
- CentOS 7.4安裝redis 4.0詳細步驟CentOSRedis
- CentOS 6.5下Redis安裝詳細步驟CentOSRedis
- mysql 主從複製搭建詳細步驟MySql
- MySQL 升級詳細步驟 (包括 Percona)MySql
- ORACLE資料庫升級詳細步驟Oracle資料庫
- .Net Core Web Api 框架搭建詳細步驟WebAPI框架
- Linux安裝jdk的詳細步驟LinuxJDK