【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
- 【BUILD_ORACLE】Oracle RAC配置ASM Filter Driver(ASMFD)(二)詳細配置步驟UIOracleASMFilter
- 配置PLSQL Developer詳細步驟SQLDeveloper
- LVM建立的詳細步驟LVM
- Github配置ssh key詳細步驟Github
- OpenHarmony執行docker詳細步驟Docker
- docker安裝portainer詳細步驟DockerAI
- MySQL的安裝步驟(詳細)MySql
- 12.1.0.2 單機 升級 19.16 RAC步驟詳解
- greenplum 6.9 for centos7叢集搭建步驟CentOS
- CentOS 7 安裝MongoDB詳細步驟CentOSMongoDB
- Linux安裝jdk的詳細步驟LinuxJDK
- Linux安裝jdk的詳細步驟。LinuxJDK
- ubuntu 18.04安裝kalibr(詳細步驟)Ubuntu
- MyBatis的逆向工程詳細步驟操作MyBatis
- 安裝fbprophet模組詳細步驟
- Ubuntu上搭建Hadoop叢集環境的步驟UbuntuHadoop
- GBase 8a 叢集修改 IP 地址操作步驟
- CentOS 7.4安裝redis 4.0詳細步驟CentOSRedis
- .Net Core Web Api 框架搭建詳細步驟WebAPI框架
- CentOS 7上安裝WordPress詳細步驟CentOS
- Mongodb叢集搭建一篇就夠了-複製集、分片、帶認證、不帶認證等(帶詳細步驟說明)MongoDB
- DKHhadoop叢集新增節點管理功能的操作步驟Hadoop
- 節點加入k8s 叢集的步驟K8S
- 第76篇 Redis叢集詳細介紹Redis
- rac叢集日常維護命令
- UBUNTU手動安裝JDK的詳細步驟UbuntuJDK
- Git學習2 --- Git安裝詳細步驟Git
- NodeJS入門(一)---nodejs詳細安裝步驟NodeJS
- CentOS 7.4下安裝nginx的詳細步驟CentOSNginx
- Virtualbox7安裝及使用詳細步驟
- 特別詳細的react專案搭建步驟React
- KeyShot9.3安裝教程(附詳細步驟)
- 使用.NET Core建立Windows服務詳細步驟Windows
- Centos MySQL資料庫遷移詳細步驟CentOSMySql資料庫
- doris編譯和安裝部署詳細步驟編譯