Table of Contents

Search

  1. Preface
  2. Upgrade Overview
  3. Pre-Upgrade Tasks
  4. Database Tasks
  5. Application Server Tasks
  6. Hub Store Upgrade
  7. Hub Server Upgrade (In-place Upgrade)
  8. Process Server Upgrade (In-place Upgrade)
  9. Resource Kit Upgrade (In-place Upgrade)
  10. Post-Upgrade Tasks
  11. Search Configuration Upgrade
  12. ActiveVOS Post-Installation Tasks for the Application Server
  13. ActiveVOS Post-Upgrade Tasks for Business Entity Adapter
  14. ActiveVOS Post-Upgrade Tasks for Subject Areas Adapter
  15. Troubleshooting the Upgrade Process
  16. Frequently Asked Questions
  17. Processing Existing ActiveVOS Tasks
  18. Configuring Metadata Caching

Upgrading from Version 9.7.1

Upgrading from Version 9.7.1

Step 6. Update the MDM Hub Master Database Schema with the Source DDLs and Data

Step 6. Update the MDM Hub Master Database Schema with the Source DDLs and Data

After you create the MDM Hub Master Database in IBM DB2 with Oracle-compatibility disabled and import seed into it, update with source DDLs and data.
  1. Change directory to the MDM Hub Master Database directory.
  2. To apply any applicable DDL changes to the MDM Hub Master Database schema, run the following command:
    db2 -tvf CMX_SYSTEM.ddl >CMX_SYSTEM.out
    The
    CMX_SYSTEM.out
    file is created.
  3. Check the
    CMX_SYSTEM.out
    file for errors.
    You can ignore the errors for existing tables or indexes.
  4. To populate the MDM Hub Master Database tables, run the following command:
    db2move <
    new database name
    > load -lo REPLACE -u db2admin -p <
    password
    >> db2move_load_cmx_system.out
    The
    db2move_load_cmx_system.out
    file is created.
  5. To connect to the new database, run the following command:
    db2 connect to <
    new database name
    > user db2admin using <
    password
    >
  6. To generate a script for SET INTEGRITY SQL commands, run the following command:
    On UNIX.
    db2 "select 'SET INTEGRITY FOR ' CONCAT trim(BOTH FROM tabschema) CONCAT '.' CONCAT trim(BOTH FROM tabname) CONCAT ' IMMEDIATE CHECKED@' from syscat.tables where tabschema='CMX_SYSTEM' and status='C'" > cmx_system_check.sql
    On Windows.
    db2 select 'SET INTEGRITY FOR ' CONCAT trim(BOTH FROM tabschema) CONCAT '.' CONCAT trim(BOTH FROM tabname) CONCAT ' IMMEDIATE CHECKED@' from syscat.tables where tabschema='CMX_SYSTEM' and status='C' > cmx_system_check.sql
    The
    cmx_system_check.sql
    script is generated.
  7. Review
    cmx_system_check.sql
    and ensure that it contains only SQL statements.
  8. To run the SET INTEGRITY script, run the following command:
    db2 -td@ -vf cmx_system_check.sql
    Run the script three times so that interdependencies between the database tables are covered.

0 COMMENTS

We’d like to hear from you!