Reprocessing failed files

After you resolve the issue causing the active WebSphere® MQ manager and standby WebSphere MQ manager to fail, reprocess the failed files.

About this task

Complete the following procedure to reprocess failed files:

Procedure

  1. Redeliver the files that failed delivery within the surviving data center.
    1. Use Advanced Search in Sterling File Gateway to find files where Status=Failed delivery.

      For more information, see Redelivering processed files in the Sterling File Gateway online documentation.

    2. Manually start BP FileGatewayReroute so that file reprocessing occurs immediately rather than on the next scheduled interval.
    3. Wait until all redelivery is complete to proceed.
  2. Replay the files that failed routing within the surviving data center.
    1. Use Advanced Search in Sterling File Gateway to find files where Status=Failed routing.

      See Replaying files in the Sterling File Gateway IBM Knowledge Center for more information.

    2. Manually start BP FileGatewayReroute so that file reprocessing occurs immediately rather than on the next scheduled interval.
    3. Wait until all routing is complete to proceed.
  3. Ensure that files are being uploaded in both data centers, but all events are being processed in the data center with the surviving WebSphere MQ manager. If messages aren't being processed, use the eventUtility script to resend events for incomplete messages.
    1. Run the eventUtility to list the unprocessed files on data centers.
      ./eventUtility.sh listEvents --appName=B2Bi --processStatus="PROCESSING" --sourceDC=<failed DC> --targetDC=<Surviving DC>
    2. Run the eventUtility to resend events for files that were in the middle of processing in the failed data center:
      ./eventUtility.sh resendEvents --appName=B2Bi --processStatus="PROCESSING" --sourceDC=<failed DC> --targetDC=<Surviving DC> --adminUser=<userid> --adminPassword=<password>
    3. Run the eventUtility to resend events for unprocessed files in the failed data center:
      ./eventUtility.sh resendEvents --appName=B2Bi --processStatus="UNPROCESSED" --adminUser=<userid> --adminPassword=<password>
    4. Run the eventUtility to complete an Evaluate for messages that do not have an event associated with them:
      ./eventUtility.sh evaluateRules --appName=B2Bi --outputFile=<file name> --adminUser=admin --adminPassword=<password>
    Tip: For more information about the eventUtility script and a list of additional parameters, see eventUtility script.

What to do next

Complete the procedures within the next topic, Restoring the failed queue managers.