Symantec logo

Dropping the repository database for DB2 and Oracle

When uninstalling Veritas Storage Foundation for DB2 or Veritas Storage Foundation for Oracle, drop the repository database. If you want to recreate the repository database, you can drop the existing repository database using these steps.

 To drop the repository database in a stand-alone configuration

  1. Make sure the repository database volume is mounted using the df command.

    If the repository database volume is not mounted, run the sfua_rep_mount command to mount the volume:

    # /opt/VRTSdbcom/config/sfua_rep_mount start

  2. Use the sfua_db_config command with the -o dropdb option to remove the database.

    # /opt/VRTS/bin/sfua_db_config -o dropdb

 To drop the repository database in a DB2 or Oracle cluster or Oracle RAC configuration

  1. Drop the repository database from the VCS configuration and deport the repository disk group.

    # /opt/VRTS/bin/sfua_db_config -o unconfig_cluster

  2. Import the repository database disk group.

    # /opt/VRTS/bin/vxdg import repository_diskgroup_name

  3. Run the sfua_rep_mount command to mount the repository database volume.

    # /opt/VRTSdbcom/config/sfua_rep_mount start

  4. Use the sfua_db_config command with the -o dropdb option to remove the database.

    # /opt/VRTS/bin/sfua_db_config -o dropdb