GI 12.1.0.2 Error Recreating the MGMTDB
This is a three-node cluster; GI 12.1.0.2 on Oracle Linux release 6, distribution 3.8.13-44.1.1.el6uek.x86_64. The GI installation is complete, and MGMTDB was created in the OCR_VOTE disk group, as mandatory with OUI.
There's not enough space in OCR_VOTE, so I'm following the note "How to Move GI Management Repository to Different Shared Storage (Diskgroup, CFS or NFS etc) (Doc ID 1589394.1)." Steps 1 and 2 are complete; MGMTDB is removed from OCR_VOTE. Step 3 is failing with the error "–autoGeneratePasswords is an invalid command line argument." The complete command I issued is
dbca -silent -createDatabase -sid -MGMTDB -createAsContainerDatabase true -templateName MGMTSeed_Database.dbc -gdbName _mgmtdb -storageType ASM -diskGroupName +RECOVERY_ASM -datafileJarLocation $ORACLE_HOME/assistants/dbca/templates -characterset AL32UTF8 –autoGeneratePasswords -skipUserTemplateCheck