Configuring vCD 9.0 To Send Metric Data to Cassandra DB

By | 05/10/2017

In last post of this series, we learnt how to install and configure Cassandra DB for collecting metrics data from vCD. We also discussed that kairosdb is no longer needed to be installed alongwith cassandra for this purpose.

In this post we will learn how to configure vCD 9.0 to send metrics data to Cassandra DB.

This configuration is done by using cell management tool utility which is located in /opt/vmware/vcloud-director/bin directory. 

Run cell-management-tool cassandra –help command to see all available options which you need to specify to configure vCD correctly so that it start sending all metrics data to cassandra.

vcd-cass.PNG

Typically this is the command to do so:

[root@vcd90 ~]# /opt/vmware/vcloud-director/bin/cell-management-tool cassandra –configure –create-schema –cluster-nodes 192.168.109.53 –username cassandra –password cassandra –port 9042 –ttl 15

Now restart vcd cell service by running command service vmware-vcd restart. Also tail cell.log to verify vCD has initialized correctly.

And thats it. vCD will now start sending metrics data to cassandra DB.

I hope you find this post informational. Feel free to share this on social media if it is worth sharing. Be sociable 🙂