Adding a CLDB Role Using the CLI

Complete the following steps to add the CLDB role to a node in the cluster:
  1. Install the CLDB package.
  2. Run configure.sh -C -R on the node where you wish to add the new CLDB role.
    Using the -C -R options provide the list of CLDB nodes, and uses the previously configured ZooKeeper nodes mentioned in the warden.conf file. If Warden is running, the CLDB service starts automatically.
  3. Run configure.sh -C -R on all other nodes in the cluster.
    Use the -C -R options, and provide the list of CLDB nodes that includes the new node.
  4. Start or restart Warden on the node where you added the CLDB role.
  5. Perform a rolling restart of Warden on all other nodes. Warden picks up the new CLDB node. Issue the following command to restart Warden on the node where you installed the role:
    % service mapr-warden restart