In order to configure a Cassandra Metrics Database for Cloud Director, the Cloud Director Cells must have network access to the Cassandra cluster nodes.
To test if the Cassandra nodes can be reached from Cloud Director you can perform a series of
curl commands to check connectivity of the components:
- Log in to a Cloud Director Cell as root.
- Using the IP address and Cassandra port of one of the Cassandra cluster nodes attempt a curl command to test connectivity:
curl -k -v telnet://1.2.3.4:9042
- If the Cassandra cluster node is reachable at this IP and port from the Cloud Director Cell we would expect output similar to the following:
* Trying 1.2.3.4:9042...
* Connected to 1.2.3.4 (1.2.3.4) port 9042 (#0)
- Repeat the test against all Cassandra nodes in the Cassandra cluster.
If the curl command fails this suggests that there is an issue with connectivity from the Cloud Director Cells to the Cassandra cluster nodes.
Troubleshoot the networking configuration further by using the same curl commands on the Cassandra nodes to themselves and each other.
Continue to curl from other devices further away from the Cassandra nodes at each network hop before the Cloud Director Cells to determine where the network issue may lie.
Once the network issues are resolved and the curl succeeds on the Cloud Director Cells the cell-management-tool cassandra --configure command can be retried.
NOTE: If the curl is not successful from any location then this suggests there is an issue with the Cassandra cluster itself and not with VMware Cloud Director.