位于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
文章版权归作者所有,未经允许请勿转载,若此文章存在违规行为,您可以联系管理员删除。
转载请注明本文地址:https://www.ucloud.cn/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
阅读 1685·2023-01-11 13:20
阅读 1133·2023-01-11 13:20
阅读 1860·2023-01-11 13:20
阅读 4101·2023-01-11 13:20
阅读 2705·2023-01-11 13:20
阅读 1386·2023-01-11 13:20
阅读 3598·2023-01-11 13:20