Zero Downtime Installation Guide for IBM DB2

Zero Downtime Installation Guide for IBM DB2

Install Stored Procedures

Install Stored Procedures

Stored procedures for Zero Downtime reside in the repository table C_REPOS_ZDT_STATUS. The table is empty until you run a script to add the stored procedures to the table.
On each system, find and edit the 1_INSTALL_ZDT.db2 script file. Replace the example values with values that reflect the
Multidomain MDM
environment, such as specifying the local or remote environment name, the remote manager port, and the local or remote schema name. Run the script.
  1. On the source system, navigate to the following directory:
    <MDM installation directory>/database/db2/zdt/samples/SOURCE
  2. Open the script
    1_INSTALL_ZDT.db2
    .
  3. Replace the example values with system values. See your planning document for system values.
    The
    REPLICATION_TARGET_IND
    must be
    0
    on the source system.
  4. Save the file.
  5. Run the script:
    ../database/db2/zdt/samples/SOURCE > db2 -tvf 1_INSTALL_ZDT.db2
  6. On the source system, navigate to the following directory:
    <MDM installation directory>/database/db2/zdt/samples/TARGET
  7. Open the script
    1_INSTALL_ZDT.db2
    .
  8. Replace the example values with system values. See your planning document for system values.
    The
    REPLICATION_TARGET_IND
    must be
    1
    on the target system.
  9. Save the file.
  10. Run the script:
    ../database/db2/zdt/samples/TARGET > db2 -tvf 1_INSTALL_ZDT.db2

0 COMMENTS

We’d like to hear from you!