Removing the Storage Foundation for Databases (SFDB) repository after removing the product

After removing the product, you can remove the SFDB repository file and any backups.

Removing the SFDB repository file disables the SFDB tools.

To remove the SFDB repository

  1. Identify the SFDB repositories created on the host.
    # cat /var/vx/vxdba/rep_loc

    Oracle:

     {
        "sfae_rept_version" : 1,
        "oracle" : {
           "SFAEDB" : {
              "location" : "/data/sfaedb/.sfae",
              "old_location" : "",
              "alias" : [
                 "sfaedb"
              ]
           }
        }
     }

    DB2:

     {
       "db2" : {
          "db2inst1_sfaedb2" : {
             "location" : "/db2data/db2inst1/NODE0000/SQL00001/.sfae",
             "old_location" : "",
             "alias" : [
                "db2inst1_sfaedb2"
             ]
          }
       },
       "sfae_rept_version" : 1
    }
  2. Remove the directory identified by the location key.

    Oracle:

    # rm -rf /data/sfaedb/.sfae

    DB2:

    # rm -rf /db2data/db2inst1/NODE0000/SQL00001/.sfae
  3. Remove the repository location file.
    # rm -rf /var/vx/vxdba/rep_loc

    This completes the removal of the SFDB repository.