Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Log in to the monitoring server

  2. Edit the Cassandra configuration file at:

    Code Block
    /etc/cassandra/conf/cassandra.yaml
    1. Check the seeds value, which should be the IP of the monitoring VM (or the master VM in the cluster)

      Code Block
      seeds: x.x.x.x
  3. Edit the KairosDB properties file at:

    Code Block
    /opt/kairosdb/conf/kairosdb.properties
    1. Remove the this property

      Code Block
      kairosdb.datastore.cassandra.host_list
    2. Add this property and set the value as the IP address of the monitoring server, without the port. (warning) Note the cql_ in the name. For example.

      Code Block
      kairosdb.datastore.cassandra.cql_host_list=10.60.10.102
  4. Edit the watchtower configuration files at:

    Code Block
    /etc/abiquo/watchtower/delorean.conf 
    /etc/abiquo/watchtower/emmett.conf
    1. Set the URL of the mysql server connection (as on the API server) with the IP address of the watchtower server

    2. Set the database credentials as for the Abiquo server

  5. Edit the watchtower properties files at:

    Code Block
    /etc/abiquo/watchtower/delorean.properties
    /etc/abiquo/watchtower/emmett.properties
    1. Add the port of the RabbitMQ connection to the datanode services server address

      Code Block
      abiquo.rabbitmq.addresses = 10.60.10.102:5672
  6. StopCheck the status of the monitoring services

    Code Block
    systemctl status abiquo-delorean.service abiquo-emmett.service kairosdb.service cassandra.service

    1. If they are running, stop monitoring services

      Code Block
      systemctl stop abiquo-delorean.service abiquo-emmett.service kairosdb.service cassandra.service
    2. Check if Cassandra is really dead

      Code Block
      ps auwx | grep cassandra

      Get the process number for Cassandra (the first number in the output of the previous command), and kill it. In this example, Cassandra is process 12345.

      Code Block
      kill -9 12345
    3. Stop the firewalld (and allow connections as required)

      Code Block
      systemctl stop firewalld.service
  7. Start cassandra and wait 5 minutes before continuing

  8. Start kairosdb and wait 1 minute

  9. Start abiquo-emmett and abiquo-delorean (the order is not important here)

  10. Start firewalld

The monitoring cluster of one server should now be fully functioning.

...

  1. This step assumes you have followed the Abiquo quick tutorial to deploy a VM in Abiquo

  2. Log in to the Abiquo UI and create a new VM and edit it

  3. Go to Monitoring and select the Fetch metrics checkbox and the metrics to display

  4. Save the VM and deploy it

  5. Wait for Abiquo to obtain metrics for the VM (around 5 minutes)

  6. On the VM icon, click the graph metrics button to display your VM metrics

...