Symantec logo

Upgrading to the new repository database for DB2 and Oracle

If you are installing or upgrading Veritas Storage Foundation for DB2 or installing Veritas Storage Foundation for Oracle, you need to migrate your old repository database to the new one or you need to create a new repository database. To use the db2ed_update or dbed_update command, you must be the instance owner or database administrator.

 To upgrade your repository database

  1. Create and configure the new repository database with the sfua_db_config command.

    # /opt/VRTSdbcom/bin/sfua_db_config

  2. Migrate your old repository information into the new repository database.

    If you are upgrading Veritas Storage Foundation for DB2 in a single-host environment, run the db2ed_update command.

    # /opt/VRTS/bin/db2ed_update -D DB2DATABASE

If you are upgrading Veritas Storage Foundation for DB2 in a high availability (HA) environment, run the db2ed_update command with the -G option.

# /opt/VRTS/bin/db2ed_update -D DB2DATABASE -G service_group

If you are upgrading Veritas Storage Foundation for Oracle in a single-host environment, run the dbed_update command.

# /opt/VRTS/bin/dbed_update -S $ORACLE_SID -H $ORACLE_HOME

If you are upgrading Veritas Storage Foundation for Oracle in a high availability (HA) environment, run the dbed_update command with the -G option.

# /opt/VRTS/bin/dbed_update -S $ORACLE_SID -H $ORACLE_HOME \

-G service_group

After the upgrade, the old repository database will be makred with a hidden file name, such as /etc/vx/vxdba/.upgrade_to_5.0, to prevent further updates. If you need to perform an additional upgrade, the file must be removed.