Publishing changes

Changes made in LN are staged and publisher bshells read the staging table for messages to publish.

However, when a tenant goes to admin-only mode (during an update), all bshells of that tenant are stopped, including the bshells for publishing changes. After getting a tenant back online, it is important that the publishers start running again.

A job named AUTO_STARTPUBLISHERS is available for new tenants since LN CE 2019.12. This job will periodically restart publishers if required. This is described in KB 2119026.

Verify that the job is activated with reasonable frequency. If this job is not specified, create a job that contains the Start Publishers (ttdpm5225m000) session and activate it:

  1. In LN, navigate to Options > Change Company.
  2. Specify company 0000.
  3. Navigate to Tools > Job Management > Job Data.
  4. Start the Job Data (ttaad5500m000) session.
  5. Verify that the job named AUTO_STARTPUBLISHERS exists. If it does not exist, create the job AUTO_STARTPUBLISHERS.
    • Use the description 'Job for starting the DPM Publishers’.
    • Select the Periodical check box, mark the Suspend Job Until Next Execution, and specify a Period of 1 Hours.
    1. In LN, navigate to Tools > Integration Tools > Data Publishing Management.
    2. Start the Publish Changes (ttdpm5125m000) session.
    3. Click Start Publishers to start the Start Publishers (ttdpm5225m000) session.
    4. Specify Number of Publishers and Maximum Message Size. The default values can be used.
    5. On the session’s Personalization menu, execute Add to Job.
    6. Specify the job AUTO_STARTPUBLISHERS and use Action on error = Interrupt.
    7. Navigate back to the Job Data (ttaad5500m000) session.
  6. Select AUTO_STARTPUBLISHERS > Action menu > Queue Job.

The next execution of the job will check if publishers run and restart bshells if required. To immediately start publishers:

  1. In LN, navigate to Tools > Integration Tools > Data Publishing Management.
  2. Start the Publish Changes (ttdpm5125m000) session.
  3. Click Start Publishers.
  4. Specify the Number of Publishers and Maximum Message Size. Defaults values can be used.