Setting up the TLOG Processor v1.0 sample

You can configure and set up the samples on one of two ways. You can use the configured BAR files, or you can configure the message flows and then deploy them. The following steps show both of the alternatives.

On Windows: DB2 scripts and batch files must be run from the DB2 console window on Windows.

On UNIX: You must have the necessary permissions to perform DB2 commands.

Use the configured BAR files

  1. Configure the XSL path:
  2. Create the queues that are required by the message flows:
  3. Create the Monitor and ARTS databases that are required by the message flows:

    For more information about creating DSNs, see Enabling ODBC connections to the databases in the WebSphere Message Broker documentation.

  4. Configure the broker with the user identifier and password to use when accessing the database:

    Use the mqsisetdbparms command to specify a user identifier and password for the broker to use with the two data source names TLOGMON and TLOGARTS. This user identifier must be the same user identifier that you used when you created the database in the previous step.

    1. Open a command console window in which you can run WebSphere Message Broker commands. Enter the following command to specify the user identifier and password.
      mqsisetdbparms MB8BROKER -n TLOGMON -u <user ID> -p <password>
      mqsisetdbparms MB8BROKER -n TLOGARTS -u <user ID> -p <password>
    2. Enter the following command to reload the execution group.
      mqsireload MB8BROKER -e TLogV1
  5. Deploy the BAR files:

Configure and deploy the message flows

  1. Configure the XSL path:
  2. Configure the log path:
  3. Save the message flows.
  4. Rebuild the BAR files for Windows and UNIX, create a new BAR file for z/OS.
  5. Create the queues that are required by the message flows:
  6. Create the Monitor and ARTS databases that are required by the message flows:

    For more information about creating DSNs, see Enabling ODBC connections to the databases in the WebSphere Message Broker documentation.

  7. Configure the broker with the user identifier and password to use when accessing the database:

    Use the mqsisetdbparms command to specify a user identifier and password for the broker to use with the two data source names TLOGMON and TLOGARTS. This user identifier must be the same user identifier that you used when you created the database in the previous step.

    1. Open a command console window in which you can run WebSphere Message Broker commands. Enter the following command to specify the user identifier and password.
      mqsisetdbparms MB8BROKER -n TLOGMON -u <user ID> -p <password>
      mqsisetdbparms MB8BROKER -n TLOGARTS -u <user ID> -p <password>
    2. Enter the following command to reload the execution group.
      mqsireload MB8BROKER -e TLogV1
  8. Deploy the BAR files manually:

Back to sample home