Configuring the OpenTSDB service startup command

This procedure configures the OpenTSDB service to use the external HBase cluster on startup.
  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. Near the top of the service details page, click Edit Service.
  6. In the Edit Service dialog box, change the value of the Startup Command field.
    1. Delete the Go language template expression.
      The expression is everything after start-opentsdb.sh.
    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. Between start-opentsdb.sh and the ZooKeeper quorum list, include at least one empty space.
      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
  7. Click Save Changes.
  8. At the top of the page, click Stop, and then click Start.
  9. For the other OpenTSDB service (reader or writer), repeat the preceding steps.