Removing Grid Infrastructure Management Repository

GIMR is desupported in Oracle Database 23ai. If GIMR is configured in your existing Oracle Grid Infrastructure installation, then remove the GIMR.

  1. Confirm if Grid Infrastructure Management Repository (GIMR) is configured in the current release.
    srvctl config mgmtdb

    Note:

    If GIMR is not configured, then do not follow this procedure.
  2. Confirm if Oracle Fleet Patching and Provisioning (Oracle FPP) is configured in central server mode in the current release.
    srvctl config rhpserver

    Note:

    If Oracle FPP is configured on your cluster, then you are recommended to use the Oracle FPP Self-Upgrade feature for smooth migration of the metadata from GIMR to the new metadata repository. Refer to Oracle Fleet Patching and Provisioning Self Upgrade for more information about how to use the Oracle FPP Self-Upgrade feature.
  3. As the grid user, log in to any cluster node and create a new directory owned by grid to store the GIMR deletion script.
    mkdir -p $ORACLE_HOME/gimrdel
    chown grid:oinstall $ORACLE_HOME/gimrdel
  4. Download scriptgimr.zip from the My Oracle Support Note 2972418.1 to the $ORACLE_HOME/gimrdel directory.
  5. Extract the reposScript.sh script from the scriptgimr.zip and ensure that the grid user has read and execute permissions on the reposScript.sh script.
    unzip -q $ORACLE_HOME/gimrdel/scriptgimr.zip
  6. Optional: Query and export the CHA user models.
    Grid_home/bin/chactl query model
    Grid_home/bin/chactl export model -name model_name -file model_name.svm
  7. If Oracle FPP was configured in central mode, then export the Oracle FPP Metadata to re-configure Oracle FPP after upgrading to Oracle Grid Infrastructure 23ai.
    Grid_home/crs/install/reposScript.sh -export_dir=dir_to_export_Oracle_FPP_metadata
  8. Run the reposScript.sh script, in delete mode, from the /gimrdel directory.
    $ORACLE_HOME/gimrdel/reposScript.sh -mode="Delete"

    Note:

    Oracle FPP stops working if you delete the GIMR, but do not upgrade to Oracle Grid Infrastructure 23ai and re-configure Oracle FPP.