Reprocessing failed files
After you resolve the issue causing the active MQ manager and standby MQ manager to fail, reprocess the failed files.
About this task
Procedure
-
Redeliver the files that failed delivery within the surviving data center.
- 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.
- Manually start BP FileGatewayReroute so that file reprocessing occurs immediately rather than on the next scheduled interval.
- Wait until all redelivery is complete to proceed.
- Use Advanced Search in Sterling File Gateway to find files where
Status=Failed delivery.
-
Replay the files that failed routing within the surviving data center.
- 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.
- Manually start BP FileGatewayReroute so that file reprocessing occurs immediately rather than on the next scheduled interval.
- Wait until all routing is complete to proceed.
- Use Advanced Search in Sterling File Gateway to find files where
Status=Failed routing.
-
Ensure that files are being uploaded in both data centers, but all events are being processed
in the data center with the surviving MQ manager. If messages aren't being
processed, use the eventUtility script to resend events for incomplete
messages.
- Run the eventUtility to list the unprocessed files on data
centers.
./eventUtility.sh listEvents --appName=B2Bi --processStatus="PROCESSING" --sourceDC=<failed DC> --targetDC=<Surviving DC> - 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> - 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> - 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. - Run the eventUtility to list the unprocessed files on data
centers.