While deploying an X5 Full Rack recently it happened that the Grid Infrastructure Management Repository was not created by onecommand. The GIMR database was optional in 220.127.116.11 and became mandatory in 18.104.22.168 and should be automatically installed with Oracle Grid Infrastructure 12c release 1 (22.214.171.124). For unknown reason to me that didn't happen and I had to create it manually. I've checked all the log files but couldn't find any errors. For reference the OEDA version used was Feb 2015 v15.050, image version on the Exadata was 126.96.36.199.0.141206.1.
To create the database login as the grid user and create file holding the following variables:
cat > /tmp/cfgrsp.properties oracle.assistants.asm|S_ASMPASSWORD=[your ASM password] oracle.assistants.asm|S_ASMMONITORPASSWORD=[your ASM password]
and run the following command:
GRID_HOME=/u01/app/188.8.131.52/grid [oracle@exa01 ~]$ $GRID_HOME/cfgtoollogs/configToolAllCommands RESPONSE_FILE=/tmp/cfgrsp.properties
For reference, here is similar bug I found on MOS:
-MGMTDB Not Created When Using EM12c Provisioning (Doc ID 1983885.1)