0
jolokia (jolokia site) 프록시 및 hawt (hawt site) 프로그램으로 원격 cassandra JMX에 연결하려고하지만 그럴 수 없습니다. jolokia 및 hatw 프로그램에서 configs 및 변경 사항이 필요하다는 것을 알려주십시오.jolokia 프록시로 원격 cassandra JMX에 연결
jolokia (jolokia site) 프록시 및 hawt (hawt site) 프로그램으로 원격 cassandra JMX에 연결하려고하지만 그럴 수 없습니다. jolokia 및 hatw 프로그램에서 configs 및 변경 사항이 필요하다는 것을 알려주십시오.jolokia 프록시로 원격 cassandra JMX에 연결
저는 여기서 사지 않고 카산드라 구성에서 원격 JMX를 활성화하지 않았 음을 제안합니다. datastax documentation에 따르면, 당신은 cassandra-env.sh을 편집해야하며, 필요에 따라 remote_jmx ($LOCAL_JMX = no
설정)을 활성화하고 이러한 행을 편집 :
LOCAL_JMX=no
if [ "$LOCAL_JMX" = "yes" ]; then
JVM_OPTS="$JVM_OPTS -Dcassandra.jmx.local.port=$JMX_PORT -XX:+DisableExplicitGC"
else
JVM_OPTS="$JVM_OPTS -Dcom.sun.management.jmxremote.port=$JMX_PORT"
JVM_OPTS="$JVM_OPTS -Dcom.sun.management.jmxremote.rmi.port=$JMX_PORT"
JVM_OPTS="$JVM_OPTS -Dcom.sun.management.jmxremote.ssl=false"
JVM_OPTS="$JVM_OPTS -Dcom.sun.management.jmxremote.authenticate=true"
JVM_OPTS="$JVM_OPTS -Dcom.sun.management.jmxremote.password.file=/etc/cassandra/jmxremote.password"
# JVM_OPTS="$JVM_OPTS -Djavax.net.ssl.keyStore=/path/to/keystore"
# JVM_OPTS="$JVM_OPTS -Djavax.net.ssl.keyStorePassword=<keystore-password>"
# JVM_OPTS="$JVM_OPTS -Djavax.net.ssl.trustStore=/path/to/truststore"
# JVM_OPTS="$JVM_OPTS -Djavax.net.ssl.trustStorePassword=<truststore-password>"
# JVM_OPTS="$JVM_OPTS -Dcom.sun.management.jmxremote.ssl.need.client.auth=true"
# JVM_OPTS="$JVM_OPTS -Dcom.sun.management.jmxremote.registry.ssl=true"
# JVM_OPTS="$JVM_OPTS -Dcom.sun.management.jmxremote.ssl.enabled.protocols=<enabled-protocols>"
# JVM_OPTS="$JVM_OPTS -Dcom.sun.management.jmxremote.ssl.enabled.cipher.suites=<enabled-cipher-suites>"
fi
당신은 먼저 로컬 설정에 전체 프로세스를 시도, 방화벽 설정을 확인 않았다 . 그런 다음 jmx에 액세스하려는 원격 포트에 액세스 할 수 있는지 확인하십시오. 그것은 당신이 어떤 종류의 네트워킹 문제에 직면하고 있다고 생각합니다. 또한 이미 가지고있는 예외 및 로그를 제공하십시오. –