Installing a ZooKeeper node
ZooKeeper installation is supported on Linux® platform only.
Before you install a ZooKeeper node, complete the following steps:
- Complete your topology and installation planning and keep it ready for reference. For more information on topology planning, see Planning the topology and Planning for installation.
- Complete the worksheet for ZooKeeper and Cassandra installation. For more information, see Installation checklist: Cassandra and ZooKeeper.
- Install IBM® JDK and set the appropriate path. For more information, see Setting Java variables on Linux.
- Download Sterling B2B Integrator V6.0 media package from IBM Fix Central or IBM Passport Advantage.
- Extract the package to a folder, go to the media directory and locate the following files:
- IM_Linux.zip in the InstallationManager folder
- Common_Repo.zip
- Extract the files to a common directory. After you extract the files, the directory must have
the following subdirectories:
- IM_Linux
- b2birepo
- gmrepo
- Default port numbers are assigned to various ports that the ZooKeeper utilities use. If you do not intend to use the default port numbers, keep the custom port numbers handy. Enter the port numbers when you define the ZooKeeper topology.
- Install an appropriate windowing system to view the IBM Installation Manager user interface on the Linux system.
- Set the shell LANG variable as appropriate and export the variable. For
example in sh, ksh or bash:
For example in csh:LANG=en_US; export LANG
The LANG environment variable must be the same across all Cassandra and ZooKeeper nodes.setenv LANG en_US
You must define all the ZooKeeper nodes that are required in all your data centers
when installing each ZooKeeper node. However, you must install each node separately on the required
system.
Attention: You can install Cassandra and ZooKeeper on a single node at the same
time, for which you must choose both Global Mailbox Cassandra Node and
Global Mailbox Zookeeper Node options. However, you must not install multiple
instances of Cassandra and ZooKeeper on the same server.
To install a single ZooKeeper node on a Linux system, complete the following steps: