vCloud Director can collect metrics that provide current and historic information about virtual machine performance and resource consumption for the virtual machines that are in your cloud. Data for historic metrics is stored in a Cassandra cluster.

About this task

Cassandra is an open source database that you can use to provide the backing store for a scalable, high-performance solution for collecting time series data like virtual machine metrics. If you want vCloud Director to support retrieval of historic metrics from virtual machines, you must install and configure a Cassandra cluster and use the cell-management-tool to connect the cluster to vCloud Director. Retrieval of current metrics does not require optional database software.

Prerequisites

Procedure

  1. Use the cell-management-tool utility to configure a connection between vCloud Director and the nodes in the Cassandra cluster.

    Use a command like this, where node1-ip, node2-ip, node3-ip and node4-ip are the IP address of the members of the Cassandra cluster. The default port (9042) is used. Metrics data are retained for 15 days.

    [root@cell1 /opt/vmware/vcloud-director/bin]# ./cell-management-tool cassandra --configure --create-schema \
    --cluster-nodes node1-ip,node2-ip,node3-ip, node4-ip \
    --username admin --password 'P@55w0rd' --ttl 15

    For more information see the "Cell Management Tool Reference" in the vCloud Director Administrator's Guide.

  2. Restart each vCloud Director cell.