Failover and Error Recovery Profile Overview
One of the most common situations during data processing is when an error occurs in the middle of a processing cycle, resulting in data loss or the creation of duplicates of some partially processed results. Edifecs XEServer provides various built-in recovery tools for you to choose from based on your business needs. This profile shows you how to use the route component Checkpoint along with the components Data Storage or FS to store an intermediate data state and recover the data if the processing fails.
Profile Location
Edifecs Library / Best Practices / Recovery / Failover and Error Recovery
Requirements
- Edifecs XEngine 8.8.1 or later
- Edifecs XEServer 8.8.1 or later
- Edifecs Application Manager (EAM) 8.8.1 or later
- Edifecs HIPAA Standards 8.8.1 or later
Profile Execution
Test 1: Data Recovery using Data Storage
- In Edifecs Application Manager, add the profile Failover and Error Recovery from the Edifecs Library. For more information, see Edifecs Library Help Center.
- Go to the folder ${XESProfile}/bin and run start.bat to start the profile.
- Go to the folder ${XESProfileConfig}/configuration/testdata and copy the sample file 5010_837P_x222_A1.dat to the folder ${XESWorkspace}/test-data/ds/inbound.
- The route DS checkpoint throws an error initiating the second cycle of processing.
- Go to the folder ${XESWorkspace}/test-data/ds to view the processing results:
- The directory ${XESWorkspace}/test-data/ds/Reports contains 4 reports generated during the second processing attempt.
- The directory ${XESWorkspace}/test-data/ds/Validated contains the validated file.
Test 2: Data Recovery using File System
- Go to the folder ${XESProfileConfig}/configuration/testdata and copy the sample file 5010_837P_x222_A1.dat to the folder ${XESWorkspace}/test-data/fs/inbound.
- The route FS checkpoint throws an error initiating the second processing cycle.
- Go to the folder ${XESWorkspace}/test-data/fs to view the processing results:
- The directory ${XESWorkspace}/test-data/fs/Reports contains 4 reports generated during the second processing attempt.
- The directory ${XESWorkspace}/test-data/fs/Validated contains the validated file.
- The directory ${XESWorkspace}/test-data/fs/storage/received is empty.