# ORA-15274 Not enough failgroups (3) to create voting files
# APPLIES TO
Operating System - Oracle Linux Server 7.9
Oracle Database - Enterprise Edition - version 11.2.0.3.0
Oracle Grid Infrastructure - version 11.2.0.3.0
# SYMPTOMS
安装 GI 软件,节点 1 执行 root.sh 时,出现如下错误:
clscfg: -install mode specified | |
Successfully accumulated necessary OCR keys. | |
Creating OCR keys for user 'root', privgrp 'root'.. | |
Operation successful. | |
Failed to create voting files on disk group OCR. | |
Change to configuration failed, but was successfully rolled back. | |
CRS-4000: Command Replace failed, or completed with errors. | |
Voting file add failed | |
Failed to add voting disks at /u01/app/11.2.0/grid/crs/install/crsconfig_lib.pm line 6780. | |
/u01/app/11.2.0/grid/perl/bin/perl -I/u01/app/11.2.0/grid/perl/lib -I/u01/app/11.2.0/grid/crs/install /u01/app/11.2.0/grid/crs/install/rootcrs.pl execution failed |
See the /u01/app/grid/diag/asm/+asm/+ASM1/trace/alert_+ASM1.log:
Mon Jun 05 17:42:48 2023 | |
NOTE: updated gpnp profile ASM diskstring: o/100.100.100.*/* | |
Mon Jun 05 17:42:48 2023 | |
NOTE: Creating voting files in diskgroup OCR | |
Mon Jun 05 17:42:58 2023 | |
NOTE: Voting File refresh pending for group 1/0xbdcf9e4b (OCR) | |
Mon Jun 05 17:42:58 2023 | |
NOTE: Attempting voting file creation in diskgroup OCR | |
NOTE: voting file allocation on grp 1 disk OCR_CD_DISK01_EXACELL01 | |
NOTE: voting file allocation on grp 1 disk OCR_CD_DISK01_EXACELL02 | |
ERROR: Voting file allocation failed for group OCR | |
Errors in file /u01/app/grid/diag/asm/+asm/+ASM1/trace/+ASM1_ora_24662.trc: | |
ORA-15274: Not enough failgroups (3) to create voting files | |
NOTE: Attempting voting file refresh on diskgroup OCR | |
NOTE: Voting file relocation is required in diskgroup OCR | |
NOTE: Attempting voting file relocation on diskgroup OCR | |
NOTE: voting file deletion on grp 1 disk OCR_CD_DISK01_EXACELL01 | |
NOTE: voting file deletion on grp 1 disk OCR_CD_DISK01_EXACELL02 | |
Mon Jun 05 20:47:05 2023 | |
NOTE: [ocrcheck.bin@exadb01 (TNS V1-V3) 3827] opening OCR file |
# CAUSE
存放 voting file 的 diskgroup 必须满足下面的要求:
- 如果 diskgroup 是 normal redundant,那么要求有 3 个 failure group 才能存放 vote disk。
- 如果 diskgroup 是 high redundant,那么要求有 5 个 failure group 才能存放 vote disk。
当前 OCR 磁盘组配置的是 normal redundant,而且只有 2 个 failure group,不满足上面的要求 failgroup 不足。
# SOLUTION
重新配置共享磁盘,使其满足 3 个 failure group 要求。