How to connect to JMX

27 views
Skip to first unread message

Vg K222

unread,
Sep 8, 2017, 10:56:39 AM9/8/17
to Datafari
I have install datafari on a linux server and I wan to connect to Jconsole remotly
JMX is active in solr


 used Jconsole to test connection from my windows server to Solr Datafari server

Auto Generated Inline Image 1
Auto Generated Inline Image 2
Auto Generated Inline Image 3

Olivier Tavard

unread,
Nov 14, 2017, 9:10:23 AM11/14/17
to Datafari
Hello,

By default the JMX connection is not activated. You have to enable it. To do it, edit the file /opt/datafari/solr/bin/solr.in.sh.
Then change the property ENABLE_REMOTE_JMX_OPTS to "true" :
# Set to true to activate the JMX RMI connector to allow remote JMX client applications
# to monitor the JVM hosting Solr; set to "false" to disable that behavior
# (false is recommended in production environments)
ENABLE_REMOTE_JMX_OPTS="true"
You will have to restart Datafari.

Best regards,

Olivier
Reply all
Reply to author
Forward
0 new messages