Redundancy
Jump to Section
Application-level redundancy allows a second instance of the Intelligence Hub to act as a backup in the event the primary instance fails.
Set up application redundancy
- Install two copies of the HighByte Intelligence Hub. Identify one as the primary instance and the other as the backup instance.
- Configure and start the primary instance.
- Configure and start the backup instance.
- Enable the backup instance by updating the redundancy settings either through the UI Settings page or by editing the
intelligencehub-settings.json
manually. See Application Settings for details.
- Enable the backup instance by updating the redundancy settings either through the UI Settings page or by editing the
With the primary and backup instances running, application-level redundancy operates as follows:
- The backup starts in standby mode. No pipelines are started.
- The backup pings the primary’s
v1/info
endpoint at a rate set bypingIntervalSeconds
. In the event the primary does not respond, the backup continues to ping the primary until the number of successive failures is equal topingAttempts
. - Once failed
pingAttempts
is reached, the backup transitions to active mode and any pipelines that are enabled are started. - In active mode, the backup continues to ping the primary at a rate set by
pingIntervalSeconds
. - Once the backup successfully pings the primary, all pipelines stop and the backup transitions to standby mode.
- The process repeats until the backup hub is stopped.
There is no automatic project synchronization between the primary and backup instances. The user needs to set up or deploy (through central hub management) a project for the primary and backup.