Configuring OpenTSDB for an external HBase cluster

To perform this procedure, install and start Resource Manager.
This procedure configures OpenTSDB to use an external HBase cluster, rather than the HBase cluster that is included in the Resource Manager application.
  1. Log in to the Control Center browser interface.
  2. In the Applications table, click Zenoss.resmgr.
  3. Scroll down to the Services table and locate the OpenTSDB services reader and writer.
    If you do not see reader and writer, expand the OpenTSDB service node.
  4. Click reader or writer.
    You will repeat the procedure for the other service.
  5. On the service details page, scroll down to the Configuration Files table and in the Actions column, click Edit.
  6. In the Edit Configuration dialog box, replace the value of the tsd.storage.hbase.zk_quorum key with the ZooKeeper quorum of the external HBase cluster.
    1. Delete the existing value.
      The default value is a Go language template expression.
    2. Specify the ZooKeeper quorum of the external HBase cluster.
      To specify a ZooKeeper quorum, create a comma-separated list of all quorum members. Specify each member of the quorum with a hostname or IP address, the colon character (:), and then the port number on which the ZooKeeper service is listening.
      The following example shows the correct syntax for a 3-member ZooKeeper quorum:
      zk-1.example.com:2181,zk-2.example.com:2181,zk-3.example.com:2181
    3. Click Save.
  7. At the top of the page, click Stop, and then click Start.
  8. For the other OpenTSDB service (reader or writer), repeat the preceding steps.