Now you can add the internal database MGMTDB after the GI installation.

Follow the note «MDBUtil: GI Management Repository configuration tool (Doc ID 2065175.1)»

In our case we check that the GIMR not exist:

[root@nodo01 tmp]# crsctl stat res -w "NAME = ora.mgmtdb"

Check where is the path for this installation on ASM:

[root@nodo01 sfw]# crsctl stat res -t -w "TYPE = ora.diskgroup.type"
--------------------------------------------------------------------------------
Name           Target  State        Server                   State details
--------------------------------------------------------------------------------
Cluster Resources
--------------------------------------------------------------------------------
ora.PROADMIN.dg(ora.asmgroup)
      1        ONLINE  ONLINE       nodo01           STABLE
      2        ONLINE  ONLINE       nodo02           STABLE
ora.PRODATA.dg(ora.asmgroup)
      1        ONLINE  ONLINE       nodo01           STABLE
      2        ONLINE  ONLINE       nodo02           STABLE
ora.PROFRA.dg(ora.asmgroup)
      1        ONLINE  ONLINE       nodo01           STABLE
      2        ONLINE  ONLINE       nodo02           STABLE
ora.PROMGMTDB.dg(ora.asmgroup)
      1        ONLINE  ONLINE       nodo01           STABLE
      2        ONLINE  ONLINE       nodo02           STABLE
ora.PROVOTOCR.dg(ora.asmgroup)
      1        ONLINE  ONLINE       nodo01           STABLE
      2        ONLINE  ONLINE       nodo02           STABLE
--------------------------------------------------------------------------------
 
[root@nodo01 sfw]# asmcmd lsdg PROMGMTDB
State    Type    Rebal  Sector  Logical_Sector  Block       AU  Total_MB  Free_MB  Req_mir_free_MB  Usable_file_MB  Offline_disks  Voting_files  Name
MOUNTED  NORMAL  N         512             512   4096  4194304    547200   543608           136800          203404              0             N  PROMGMTDB/

Important!! You need the script in every node in your cluster in the same path.

Add the database:

[oracle@nodo01 sfw]$ ./mdbutil.pl --addmdb --target=+PROMGMTDB
mdbutil.pl version : 1.98
2019-07-19 11:25:38: I Starting To Configure MGMTDB at +PROMGMTDB...
2019-07-19 11:26:13: I Container database creation in progress... for GI 19.0.0.0.0
2019-07-19 12:22:38: I Plugable database creation in progress...
2019-07-19 12:35:24: I Executing "/tmp/mdbutil.pl --addchm" on nodo01 as root to configure CHM.
root@nodo01's password:
2019-07-19 12:49:54: I Executing "/tmp/mdbutil.pl --addchm" on nodo02 as root to configure CHM.
root@nodo02's password:
2019-07-19 12:51:57: I MGMTDB & CHM configuration done!

Check status for GIMR:

[root@nodo01 tmp]# crsctl stat res -w "NAME = ora.mgmtdb"
NAME=ora.mgmtdb
ENGINE=ora.mgmtdb.type
TARGET=ONLINE
STATE=ONLINE on nodo01