I have installed 2 community instances if dsc-cassandra-1.0.7 each in their own vserver. Both cassandra's communicate to each other and are working fine. I followed one of the datastax tutorials.
I installed the opscenter on one of the vservers and as far as I can tell it works properly.
I then installed opscenter-agent on each. However, when I run these they both try to connect to JMX on 127.0.0.1:7199 and fail since cassandra JMX port is on the server IP and not 127.0.0.1
Opscenter reports both nodes as down.
I am assuming this is opscenter-agent connecting to cassandra?
The error is
INFO [pool-4-thread-1] 2012-03-05 08:47:39,362 New JMX connection (127.0.0.1:7199)
ERROR [pool-4-thread-1] 2012-03-05 08:47:39,364 Error connecting via JMX: java.io.IOException: Failed to retrieve RMIServer stub: javax.naming.ServiceUnavailableException [Root exception is java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is:
java.net.ConnectException: Connection refused]
I have tried many things to try and force cassandra to have JMX bound to 127.0.0.1 and I have tried to force opscenter-agent to connect to the right IP.
My address,yaml looks like this
-------
stomp_interface: "xxx.xxx.xx.77"
local_interface: "xxx.xxx.xx.77"
-------
Anyone got any ideas with this?
Dan