Installing ZooKeeper and Watchdog on the new data center
The fourth step to adding a data center to your existing setup is to install ZooKeeper and Watchdog.
To install ZooKeeper and Watchdog, complete the following steps:
When the installer is run, the IP addresses and ports of the new ZooKeeper nodes in the new data center are added to the global.properties through the following properties:
com.ibm.mailbox.database.zookeeper.conn.<n+1> = <IP address of ZK host 1>:<ZK client port>
com.ibm.mailbox.database.zookeeper.conn.<n+2> = <IP address of ZK host 2>:<ZK client port>
where n is number of ZooKeeper nodes already installed
For example, if the existing data centers have six existing ZooKeeper nodes, the file has entries from com.ibm.mailbox.database.zookeeper.conn.1 to com.ibm.mailbox.database.zookeeper.conn.6 for the existing nodes. If you add three more nodes, properties from com.ibm.mailbox.database.zookeeper.conn.7 to com.ibm.mailbox.database.zookeeper.conn.9 are added to the file.