After you resolve the network issue causing split-brain, process the stuck files to
resend events.
Procedure
To process the stuck files, complete the following steps:
-
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" --sourceDC=<failed DC> --targetDC=<Surviving DC> --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: See eventUtility script for more information about the
eventUtility script and a list of additional parameters.
-
Ensure that files are being uploaded to both data centers and that messages are
processing.