Recording data

Record data that is flowing through a message flow.

Before you begin

Ensure that the message flow for which you want to record data has been deployed. For more information, see Deployment rules and guidelines.

About this task

You can record data to a database for audit purposes, or to help with problem determination. To record data, you must identify the source of the data that you want to record and the place that you want to record it to. The steps that you take to record data are shown in the following diagram:
The diagram is described in the surrounding text.

Procedure

Complete the following tasks to set up data recording. The sequence of these tasks is important. If they are not completed exactly as shown, BIP message BIP2194 is generated on startup.

  1. Create and configure your database, and define an ODBC definition for the data source name (DSN). Specify an ID and password for your integration node to use when connecting to the database. See Creating and configuring a database for recording data.
  2. Configure the record and replay store for your integration server. See Configuring data recording.

    Your record and replay topology can include more than one independent integration server or integration node. See Using multiple integration nodes and multiple independent integration servers for record and replay.

  3. Specify a publish/subscribe topic that identifies the source of the data that you want to record, by modifying the topic property of your record and replay source in the server.conf.yaml file for the integration server. For more information, see Configuring data recording.
    Test that your subscription to the topic was successful by retrieving the subscriptions on the queue manager for your integration server.
    Use the runmqsc command to check the subscription. Complete the following steps:
    1. At a command prompt, type runmqsc qmName, where qmName is your queue manager name.
    2. To display all the queue manager subscriptions, type dis sub(*)
    3. Check that the topic name is returned in the list of subscription topics, for example SUB(integrationServerName:myTopic)
    4. To exit the runmqsc environment, type end
  4. To generate the data that you want to record, configure monitoring on your message flows. See Configuring monitoring for recording.

What to do next