oracle19c有备份情况下恢复ocr 和 votedisk
模拟ocr文件所在磁盘组异常(生产环境谨慎操作)
dd if=/dev/zero of=/dev/asmdisk_1 bs=4096 count=1
参考文档:
How to Restore ASM Based OCR After Complete Loss of the CRS Diskgroup on Linux/Unix Systems (Doc ID 1062983.1)
How to recreate shared ASM password file in 12c GI cluster (Doc ID 1929673.1)
- 检查ocr备份所在位置

注意:此处将asm中存储的备份文件拷贝到文件系统/home/grid/ocrbackup/backup00.ocr
- 停集群,再次启动报错

- 停集群
/u01/app/19c/19.3.0/grid/bin/crsctl start crs -f
- 以nocrs方式启动集群
| [root@db3n1 ~]# /u01/app/19c/19.3.0/grid/bin/crsctl start crs -excl -nocrs CRS-4123: Oracle High Availability Services has been started. CRS-2672: Attempting to start 'ora.evmd' on 'db3n1' CRS-2672: Attempting to start 'ora.mdnsd' on 'db3n1' CRS-2676: Start of 'ora.evmd' on 'db3n1' succeeded CRS-2676: Start of 'ora.mdnsd' on 'db3n1' succeeded CRS-2672: Attempting to start 'ora.gpnpd' on 'db3n1' CRS-2676: Start of 'ora.gpnpd' on 'db3n1' succeeded CRS-2672: Attempting to start 'ora.cssdmonitor' on 'db3n1' CRS-2672: Attempting to start 'ora.gipcd' on 'db3n1' CRS-2676: Start of 'ora.cssdmonitor' on 'db3n1' succeeded CRS-2676: Start of 'ora.gipcd' on 'db3n1' succeeded CRS-2672: Attempting to start 'ora.cssd' on 'db3n1' CRS-2672: Attempting to start 'ora.diskmon |

本文介绍在Oracle19c环境下,当OCR文件及Votedisk丢失时的恢复步骤。通过备份文件恢复OCR,使用命令行工具替换Votedisk,重建ASM密码文件,确保集群正常运行。
357

被折叠的 条评论
为什么被折叠?



