位于OCR磁盤組上的文件類型
遷移步驟
[grid@rac1 ~]$ asmcmd pwget --asm
+CRS/orapwASM
2)遷移ASM密碼文件
[grid@rac1 ~]$ asmcmd pwmove --asm -f +CRS/orapwASM +GRID/orapwASM
moving +CRS/orapwASM -> +GRID/orapwASM
3)確認文件新路徑
[grid@rac1 ~]$ asmcmd pwget --asm
+GRID/orapwASM
2. 遷移ASM spfile
[grid@rac1 ~]$ asmcmd spget
+CRS/ora12c-cluster/ASMPARAMETERFILE/registry.253.1096127159
[grid@rac1 ~]$ asmcmd spmove +CRS/ora12c-cluster/ASMPARAMETERFILE/registry.253.1096127159 +GRID/ora12c-cluster/ASMPARAMETERFILE/spfileASM
ORA-15032: not all alterations performed
ORA-15028: ASM file +CRS/ora12c-cluster/ASMPARAMETERFILE/registry.253.1096127159 not dropped; currently being accessed (DBD ERROR: OCIStmtExecute)
[grid@rac1 ~]$ asmcmd spget
+GRID/marirac/ASMPARAMETERFILE/spfileASM
[grid@rac1 ~]$ ocrcheck -config
Oracle Cluster Registry configuration is :
Device/File Name : +CRS
2)遷移OCR
[grid@rac1 ~]$ ocrconfig -add +GRID
PROT-20: Insufficient permission to proceed. Require privileged user
[grid@rac1 ~]$ exit
logout
[root@rac1 ~]# ocrconfig -add +GRID
[root@rac1 ~]# ocrconfig -delete +CRS
[root@rac1 ~]# ocrcheck -config
Oracle Cluster Registry configuration is :
Device/File Name : +GRID
[root@rac1 ~]# crsctl query css votedisk
## STATE File Universal Id File Name Disk group
-- ----- ----------------- --------- ---------
1. ONLINE 544b7b2dc9f14f8dbf8f5c560a32a95f (/dev/asmdisk/asmdisk1) [OCR]
2. ONLINE c4035c7009be4f26bffd663651e4d520 (/dev/asmdisk/asmdisk2) [OCR]
3. ONLINE 5737c31731574fa8bf2acc107fbbd364 (/dev/asmdisk/asmdisk3) [OCR]
2)遷移
[root@rac1 ~]# crsctl replace votedisk +GRID
Successful addition of voting disk c82576064f384f98bf982381bba6e65e.
Successful addition of voting disk e85f4992c30d4ffabf96d91b28e58b72.
Successful addition of voting disk 4744602e92a64feebf66b3168810c9c5.
Successful deletion of voting disk 544b7b2dc9f14f8dbf8f5c560a32a95f.
Successful deletion of voting disk c4035c7009be4f26bffd663651e4d520.
Successful deletion of voting disk 5737c31731574fa8bf2acc107fbbd364.
Successfully replaced voting disk group with +GRID.
CRS-4266: Voting file(s) successfully replaced
[root@rac1 ~]# crsctl query css votedisk
## STATE File Universal Id File Name Disk group
-- ----- ----------------- --------- ---------
1. ONLINE c82576064f384f98bf982381bba6e65e (/dev/asmdisk/asmdisk6) [GRID]
2. ONLINE e85f4992c30d4ffabf96d91b28e58b72 (/dev/asmdisk/asmdisk7) [GRID]
3. ONLINE 4744602e92a64feebf66b3168810c9c5 (/dev/asmdisk/asmdisk8) [GRID]
Located 3 voting disk(s).
[root@rac1 ~]# ocrconfig -showbackup
rac2 2022/04/29 07:55:40 +CRS:/ora12c-cluster/OCRBACKUP/backup00.ocr.260.1103270133 3342960164
rac2 2022/04/29 03:55:31 +CRS:/ora12c-cluster/OCRBACKUP/backup01.ocr.266.1103255723 3342960164
rac2 2022/04/28 23:55:22 +CRS:/ora12c-cluster/OCRBACKUP/backup02.ocr.264.1103241313 3342960164
rac2 2022/04/28 03:54:17 +CRS:/ora12c-cluster/OCRBACKUP/day.ocr.259.1103169257 3342960164
rac1 2022/04/19 08:04:16 +CRS:/ora12c-cluster/OCRBACKUP/week.ocr.261.1102406657 3342960164
PROT-25: Manual backups for the Oracle Cluster Registry are not available
2)重新配置OCR備份路徑,并備份一次
[root@rac1 ~]# ocrconfig -backuploc +GRID
There are automatic OCR backups that are taken in the past 4 hours, 8 hours, 12 hours, and in the last day and week. Until this time passes, we can run manual backup for safety:
[root@rac1 ~]# ocrconfig -manualbackup
rac2 2022/04/29 10:38:54 +GRID:/ora12c-cluster/OCRBACKUP/backup_20220429_103854.ocr.257.1089980415 3342960164
[root@rac1 ~]# ocrconfig -showbackup
rac2 2022/04/29 07:55:40 +CRS:/ora12c-cluster/OCRBACKUP/backup00.ocr.260.1103270133 3342960164
rac2 2022/04/29 03:55:31 +CRS:/ora12c-cluster/OCRBACKUP/backup01.ocr.266.1103255723 3342960164
rac2 2022/04/28 23:55:22 +CRS:/ora12c-cluster/OCRBACKUP/backup02.ocr.264.1103241313 3342960164
rac2 2022/04/28 03:54:17 +CRS:/ora12c-cluster/OCRBACKUP/day.ocr.259.1103169257 3342960164
rac1 2022/04/19 08:04:16 +CRS:/ora12c-cluster/OCRBACKUP/week.ocr.261.1102406657 3342960164
rac2 2022/04/29 10:38:54 +GRID:/ora12c-cluster/OCRBACKUP/backup_20220429_103854.ocr.257.1089980415 3342960164
文章版權歸作者所有,未經允許請勿轉載,若此文章存在違規行為,您可以聯系管理員刪除。
轉載請注明本文地址:http://specialneedsforspecialkids.com/yun/129422.html
摘要:但在現實中,企業云端漫步的道路從來都不是康莊大道,而是隱藏著各種陷阱和困難。如果企業選擇云計算服務,那么這些技術人員很多將被解聘。 如今,越來越多的大企業禁不住應用軟件廠商的誘惑,開始考慮將原來運行在私有數據中心的大型應用系統遷移到云端。而關于云計算的商業價值,形形色色 的云計算服務商通常會告訴企業:云計算可以幫助企業節省成本,增強IT系統與業務靈活性,加快應用部署速度,增強業務創新能力…相...
摘要:今天,阿里資深技術專家天羽為我們講述阿里數據庫的極致彈性之路。二容器化彈性,提升資源效率隨著單機服務器的能力提升,阿里數據庫在年就開始使用單機多實例的方案,通過和文件系統目錄端口的部署隔離,支持單機多實例,把單機資源利用起來。 showImg(https://segmentfault.com/img/remote/1460000017333275); 阿里妹導讀:數據庫從IOE(IBM...
摘要:今天,阿里資深技術專家天羽為我們講述阿里數據庫的極致彈性之路。二容器化彈性,提升資源效率隨著單機服務器的能力提升,阿里數據庫在年就開始使用單機多實例的方案,通過和文件系統目錄端口的部署隔離,支持單機多實例,把單機資源利用起來。 showImg(https://segmentfault.com/img/remote/1460000017333275); 阿里妹導讀:數據庫從IOE(IBM...
摘要:可以通過大數據生態的一系列工具生態來解決大數據問題數據分片主要有兩種方式哈希和范圍。哈希的問題是范圍查詢支持不佳,范圍的問題是可能冷熱數據不均。 后端好書閱讀與推薦系列文章:后端好書閱讀與推薦后端好書閱讀與推薦(續)后端好書閱讀與推薦(續二)后端好書閱讀與推薦(續三)后端好書閱讀與推薦(續四)后端好書閱讀與推薦(續五)后端好書閱讀與推薦(續六) Elasticsearch權威指南 El...
摘要:可以通過大數據生態的一系列工具生態來解決大數據問題數據分片主要有兩種方式哈希和范圍。哈希的問題是范圍查詢支持不佳,范圍的問題是可能冷熱數據不均。 后端好書閱讀與推薦系列文章:后端好書閱讀與推薦后端好書閱讀與推薦(續)后端好書閱讀與推薦(續二)后端好書閱讀與推薦(續三)后端好書閱讀與推薦(續四)后端好書閱讀與推薦(續五)后端好書閱讀與推薦(續六) Elasticsearch權威指南 El...
閱讀 1347·2023-01-11 13:20
閱讀 1686·2023-01-11 13:20
閱讀 1133·2023-01-11 13:20
閱讀 1861·2023-01-11 13:20
閱讀 4104·2023-01-11 13:20
閱讀 2705·2023-01-11 13:20
閱讀 1386·2023-01-11 13:20
閱讀 3599·2023-01-11 13:20