Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Improve Cassandra and KairosDB update (Zendesk 7213)

...

  • On the Abiquo Server, restart the HTTP daemon to refresh the user interface files, and bring up the Tomcat server.

    Code Block
    service httpd restart
    service abiquo-tomcat start


  • On the Remote Services server, start the Tomcat server

    Code Block
    service abiquo-tomcat start


  • On the Monitoring Server, start the Cassandra service

    Code Block
    sudo service cassandra start
  • WAIT about 5 minutes until the service is up and running
  • Start the KairosDB service

    Code Block
    sudo service kairosdb start

    WAIT about 1 minute until the service is up and running. If the startup process fails and there are entries in the log file `: edit the file /opt/kairosdb/logconf/kairosdb.log` that look like this "Unable to setup cassandra schema com.datastax.driver.core.exceptions.NoHostAvailableException: All host(s) tried for query failed", then:

  • Edit the file /opt/kairosdb/conf/kairosdb.properties .
  • properties to update the name of this variable and to remove the port from it:

    • Replace the line kairosdb.datastore.cassandra.host_list=192.168.888.999:9160 .
    • With this line kairosdb.datastore.cassandra.cql_host_list=192.168.888.999 . Please note the new cql_ preffix for this property.Remove this property from
  • On the Monitoring Server: edit the file /etc/cassandra/conf/cassandra.yml " OR /etc/cassandra/default.conf/cassandra.yaml (whichever exists) to remove a variable:
    • Remove the line starting with kairosdb.datastore.cassandra.datapoint_ttl" and add it on and save and close the file.
  • On the Monitoring Server: edit the file /opt/kairosdb/conf/kairosdb.properties . Set it to 15768000. [to add a new variable (ref: Internal JIRA SUP-333]):
    • kairosdb.datastore.cassandra.datapoint_ttl = 15768000
  • On the Monitoring Server: start the Cassandra service

    Code Block
    sudo service cassandra start


  • WAIT about 5 minutes until the service is up and running
  • Start the KairosDB service

    Code Block
    sudo service kairosdb start


  • Start the other services in this order

    Code Block
    sudo service abiquo-emmett start
    sudo service abiquo-delorean start