So my Cassandra cluster is running properly but I cannot execute remote commands using JMX
ie execute nodetool commands on other nodes from one node.
I have added this line in cassandra-env.sh
JVM_OPTS = "$JVM_OPTS -Djava.rmi.server.hostname=my_host_ip"
Are there any more configurations that I have to change ?
Please let me know THanks.
What version of Cassandra are you using?
By default JMX is enabled in version > 2.1 but defaults to Local JMX connections only.
To use remote JMX connections, please change value of LOCAL_JMX
in cassandra-env.sh
ie LOCAL_JMX=false
Hope it helps!
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.