API Portal 10.5 | webMethods API Portal for Administrators | Configuring API Portal | High Availability setup in API Portal
 
High Availability setup in API Portal
 
Setting up API Portal HA setup
Setting up API Portal HA setup with External Database (Oracle)
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. The High Availability setup requires the installation of Zookeeper and Elasticsearch in three nodes. However, the Load balancer, API Portal bundle, and Cloudsearch can be installed in any of two nodes.
*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.