Today I created a RAC for a migration when in one of the steps I received the error Below. Specifically, I was creating the password file of the database in the ASM.
orapwd file='+MYDB_DG' password=SECRET dbuniquename=MYBD entries=10
OPW-00010: Could not create the password file.
ORA-15056: additional error message
ORA-15221: ASM operation requires compatible.asm of 12.1.0.0.0 or higher
ORA-06512: at line 4
The problem in this case comes because compatible.asm does not support password files at the level it is on. It can be hot swapped and uploaded. I also take this opportunity to upload the RDBMS.
select name, database_compatibility,compatibility from v$asm_diskgroup where name like 'MYDB%' order by 1 asc
NAME DATABASE_COMPATIBILITY COMPATIBILITY
------------------------------ ------------------------------------------------------------ ------------------------------------------------------------
MYDB_ARC_DG 10.1.0.0.0 10.1.0.0.0
MYDB_DAT_DG 10.1.0.0.0 10.1.0.0.0
MYDB_R1_DG 10.1.0.0.0 10.1.0.0.0
MYDB_R2_DG 10.1.0.0.0 10.1.0.0.0
We execute from the user owner of the grid the following commands to make the change;
SYS@ASM> ALTER DISKGROUP MYDB_ARC_DG SET ATTRIBUTE 'compatible.asm' = '12.1.0.2.0';
Diskgroup altered.
SYS@ASM> ALTER DISKGROUP MYDB_DATOS_DG SET ATTRIBUTE 'compatible.asm' = '12.1.0.2.0';
Diskgroup altered.
SYS@ASM> ALTER DISKGROUP MYDB_PROD_R1_DG SET ATTRIBUTE 'compatible.asm' = '12.1.0.2.0';
Diskgroup altered.
SYS@ASM> ALTER DISKGROUP MYDB_PROD_R2_DG SET ATTRIBUTE 'compatible.asm' = '12.1.0.2.0';
Diskgroup altered.
SYS@ASM> ALTER DISKGROUP MYDB_ARC_DG SET ATTRIBUTE 'compatible.rdbms' = '12.1.0.2.0';
Diskgroup altered.
SYS@ASM> ALTER DISKGROUP MYDB_DAT_DG SET ATTRIBUTE 'compatible.rdbms' = '12.1.0.2.0';
Diskgroup altered.
SYS@ASM> ALTER DISKGROUP MYDB_R1_DG SET ATTRIBUTE 'compatible.rdbms' = '12.1.0.2.0';
Diskgroup altered.
SYS@ASM> ALTER DISKGROUP MYDB_R2_DG SET ATTRIBUTE 'compatible.rdbms' = '12.1.0.2.0';
Diskgroup altered.
SYS@ASM>
Check the result;
SQL> select name, database_compatibility,compatibility from v$asm_diskgroup where name like 'MYDB%' order by 1 asc
2 ;
NAME DATABASE_COMPATIBILITY COMPATIBILITY
------------------------------ ------------------------------------------------------------ ------------------------------------------------------------
MYDB_ARC_DG 12.1.0.2.0 12.1.0.2.0
MYDB_DAT_DG 12.1.0.2.0 12.1.0.2.0
MYDB_R1_DG 12.1.0.2.0 12.1.0.2.0
MYDB_R2_DG 12.1.0.2.0 12.1.0.2.0
HTH – Antonio NAVARRO