I am trying to get datastax community (cassandra+opscenter) running all on one linux(centos) machine for testing purposes. I have everything installed and cassandra is running fine. Opscenter is communicating with cassandra fine, but it's having trouble with the agent. After debugging, I found this:
netstat -tulpn | less
~# netstat -tulpn | grep 616
tcp 0 0 127.0.0.1:61619 0.0.0.0:* LISTEN 22068/python2.6
tcp 0 0 127.0.0.1:61620 0.0.0.0:* LISTEN 22068/python2.6
~# netstat -tulpn | grep 9160
tcp 0 0 66.160.192.50:9160 0.0.0.0:* LISTEN 19926/java
~# netstat -tulpn | grep 7199
tcp 0 0 0.0.0.0:7199 0.0.0.0:* LISTEN 19926/java
I think the issue is cassandra is running with the public IP but somehow opscenter is opening ports using the loopback address. results from hostname -f and hostname -i look correct. How does opscenter pick an interface when it opens the agent ports?
