Zero Downtime Installation Guide for IBM DB2

Zero Downtime Installation Guide for IBM DB2

Update the Parameters File with User Credentials

Update the Parameters File with User Credentials

On the source system and on the target system, encrypt the password for the Oracle GoldenGate user that you created on the system. Then add a statement to the parameters file.
Oracle GoldenGate Manager must be running.
  1. Encrypt the password for the user.
    1. From the
      Oracle GoldenGate Command Interpreter for DB2
      window, log in to the source database as the Oracle GoldenGate user.
      In the following command, replace the example values with your system values.
      GGSCI > DBLOGIN SOURCEDB
      SRCDB
      UERID
      GG
      PASSWORD
      password
    2. Use Blowfish encryption to encrypt the password.
      GGSCI > ENCRYPT PASSWORD
      password
      BLOWFISH ENCRYPTKEY DEFAULT
    3. Copy the encrypted password.
    4. Disconnect from the database.
  2. On the source system, Open the parameter file.
    GGSCI > edit param mgr
  3. In the file, type the following command. Replace the example values with your system values. Paste the encrypted password into the text.
    SOURCEDB
    SRCDB
    , UERID
    GG
    , PASSWORD
    encrypted password
    , BLOWFISH ENCRYPTKEY DEFAULT
  4. Save and close the file.
  5. If you use the same Oracle GoldenGate user name and password on the target database, you do not need to encrypt the password again. You can skip this step. If the password is different, perform the following substeps.
    1. Log in to the target database as the Oracle GoldenGate user.
      In the following command, replace the example values with your system values.
      GGSCI > DBLOGIN SOURCEDB
      TGTDB
      UERID
      GG
      PASSWORD
      password
    2. Use Blowfish encryption to encrypt the password.
      GGSCI > ENCRYPT PASSWORD
      password
      BLOWFISH ENCRYPTKEY DEFAULT
    3. Copy the encrypted password.
    4. Disconnect from the database.
  6. On the target system, open the parameter file.
    GGSCI > edit param mgr
  7. In the file, type the following command. Replace the example values with your system values. Paste the encrypted password into the text.
    SOURCEDB
    TGTDB
    , UERID
    GG
    , PASSWORD
    encrypted password
    , BLOWFISH ENCRYPTKEY DEFAULT
  8. Save and close the file.

0 COMMENTS

We’d like to hear from you!