Zero Downtime Installation Guide for IBM DB2

Zero Downtime Installation Guide for IBM DB2

Enable Debug Logging

Enable Debug Logging

After you install Zero Downtime, enable debug logging on both the source database and the target database.
  1. In a database tool, connect to the source database.
  2. Select the schema for the Operational Reference Store, for example, MDM_SAMPLE.
  3. Run the following commands on the schema. Substitute source system values for the example values.
    UPDATE C_REPOS_DB_RELEASE SET DEBUG_FILE_PATH='
    C:\TEMP
    ', DEBUG_FILE_NAME='
    cmx_debug_SRCDB.log
    ', DEBUG_IND=1, DEBUG_LEVEL=500 SET PATH
    MDM_SAMPLE
    , CURRENT PATH
  4. Verify that logging works on the source system.
    1. Run the following command:
      CALL CMXLOG.DEBUG('TEST')
    2. Navigate to the directory that you specified and open the
      cmx_debug_SRCDB.log
      file.
    3. Verify that there is a recent entry that ends with the following text:
      GG::DEBUG:TEST
  5. In the database tool, connect to the target database.
  6. Select the schema for the Operational Reference Store, for example, MDM_SAMPLE.
  7. Run the following commands on the schema. Substitute target system values for the example values.
    UPDATE C_REPOS_DB_RELEASE SET DEBUG_FILE_PATH='
    C:\TEMP
    ', DEBUG_FILE_NAME='
    cmx_debug_TGTDB.log
    ', DEBUG_IND=1, DEBUG_LEVEL=500 SET PATH
    MDM_SAMPLE
    , CURRENT PATH
  8. Verify that logging works on the target system.

0 COMMENTS

We’d like to hear from you!