High Availability setup in API Portal
The High Availability(HA) set up in API Portal ensures continuous operation in cases of a fail-over scenario where up to one runnable of each kind or a whole machine becomes unavailable.
Prerequisites:
A minimum of three machines with
API Portal set up on each of them.
Switch-off firewalls or open appropriate ports on each machine so that they can access all components on the other machines.
Ensure that the same username and password is provided for all ElasticSearch instances in a cluster.
On installing API Portal, the runnables are installed and are visible in the API Portal Cloud Controller (ACC).
The figure below depicts a general 3-machine API Portal setup with the runnables installed.
The figure below depicts a 3-machine HA set up for API Portal and the distribution of the runnables there after.
Machine 2 and 3 are configured the same way. Either when the full machine goes down or the runnables zoo and elastic stop working, with the runnables on machine 2 and 3 running properly, the system is still in the operation mode.