Hello,
Whats the way of connecting JConsole or VisualVM to a remote ES (assuming
no firewall is active)?
I've read the docs from here:
http://www.elasticsearch.org/guide/reference/modules/jmx.html, but
they didn't help me to much.
In the documentation there it is said that I have to set a port setting:
where do I set it?
And what would be the connection string for connecting to it? is it:
my.domain.com:9450 if I set the jmx port to 9450?
Thanks in advance,
Alex
I nailed it down, from the following 2 resources:
http://visualvm.java.net/jmx_connections.html
So the following settings are needed:
in elasticsearch.yml:
jmx.create_connector: true
jmx.port: 9400-9500
jmx.domain: elasticsearch
when running it:
./bin/elasticsearch -Dcom.sun.management.jmxremote.ssl=false
-Dcom.sun.management.jmxremote.authenticate=false
-Dcom.sun.management.jmxremote.port=3333
Make sure: 3333, 9400-9500 ports are open.
Cheers,
Alex
On Thu, Aug 2, 2012 at 3:48 PM, Sisu Alexandru sisu.eugen@gmail.com wrote:
Hello,
Whats the way of connecting JConsole or VisualVM to a remote ES (assuming
no firewall is active)?
I've read the docs from here:
Elasticsearch Platform — Find real-time answers at scale | Elastic, but
they didn't help me to much.
In the documentation there it is said that I have to set a port setting:
where do I set it?
And what would be the connection string for connecting to it? is it:
my.domain.com:9450 if I set the jmx port to 9450?
Thanks in advance,
Alex