webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only

ZooKeeper runnable in the distributed environment 

Mon October 01, 2018 05:14 AM

webMethods API Portal guide

In the article, Role of ZooKeeper in API Portal, you would have seen the basic details about ZooKeeper and its usage in API Portal. In this section, you will see about the role of ZooKeeper in the distributed installation.

ZooKeeper in the distributed environment

As ZooKeeper act as the service registry for various components (aka) runnables, the availability of the ZooKeeper is the critical for functioning of the product. For this, more than one ZooKeeper runnable are grouped to form a cluster and we call it as "ensemble".

This ensemble ensures, the output of the changes done in one of the ZooKeeper runnable is synced across all the ZooKeeper nodes. 

ACC Commands

To add a zookeeper runnable in the current node,

add zk

To add a zookeeper runnable in the node n1

on n1 add zk

To remove a zookeeper instance which has id=2, (property myid = 2 on executing the command, how runnable <instance id of zookeeper>),

remove zk myid 2


#API-Portal
#webMethods
#wiki

Statistics
0 Favorited
0 Views
0 Files
0 Shares
0 Downloads