Processing files in the surviving data center

The first step in recovering from a Global Mailbox administrator node failure is to move files to the surviving data center while the issue causing the data center failure is resolved.

Procedure

To move files to the surviving data center, complete the following steps:

  1. Stop the Sterling B2B Integrator adapter containers in the failed data center using stopContainer.sh. This command ensures that the load balancer doesn't send any traffic to this data center while the problem is being resolved.
  2. Redeliver all of the files that failed delivery within the surviving data center.
    1. Use Advanced Search in Sterling File Gateway to find all files where Status=Failed delivery.

      See Redelivering processed files (V2.2.5 or higher) 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 redelivery is complete to proceed.
  3. Replay all of the files that failed routing within the surviving data center.
    1. Use Advanced Search in Sterling File Gateway to find all files where Status=Failed routing.

      See Replaying files (V2.2.5 or later) 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.
  4. 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" --sourceDC=<failed DC> --targetDC=<Surviving DC> --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: See eventUtility script for more information about the eventUtility script and a list of additional parameters.

What to do next

Resolve the issue causing the Global Mailbox admin node failure and then complete the next task, Restoring a failed data center, to return the failed data center back to its original configuration.