Multiple ServiceControl instances can be used to create a business continuity / disaster recovery configuration. By forwarding failed and audited messages to backup instances of ServiceControl, it is possible to resume operations in the case that the primary instances are no longer available.
This configuration works by combining multiple ServiceControl instances with audit log forwarding and error log forwarding. Failed and audited messages are forwarded by the primary instances to the backup instances through log forwarding queues.
To install this configuration:
- Create the standard error and audit queues.
- Create the backup error and audit queues.
- Set up the primary ServiceControl instances and configure them to forward errors and audit messages to the backup queues.
- Set up the backup ServiceControl instances and configure them to use the backup queues.
How retrying works
Retrying a message from the primary instance will work as usual, however the backup instances will now update the status of the failed messages to "retry pending". Once the successful audit message is received, the backup instance will be notified as well and the failed message record in both instances will reflect the messages as having been successfully retried.