High Availability setup in API Portal
The High Availability configuration is a process that allows you configure replicas of an API Portal instance. When there is an technical issue in a instance, the replicated instance becomes live. Thus this setup ensure seamless availability of the system to its users.
This section describes the steps to configure the High Availability set up in API Portal.
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.