Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change 
notification.

The following page has been changed by ShalinMangar:
http://wiki.apache.org/solr/SolrJMX

The comment on the change is:
Details on the upcoming JMX support

New page:
<!> ["Solr1.3"]

[[TableOfContents]]

= Introduction =
Solr can expose runtime statistics as Dynamic MBeans which can be leveraged to 
setup monitoring using JMX clients such as jconsole.

= Configuration =
JMX configuration is provided in solrconfig.xml

'''Note''' -- Enabling/disabling JMX and securing access to M!BeanServers is 
left upto the user by specifying appropriate JVM parameters and configuration. 
Please explore the 
[http://java.sun.com/javase/technologies/core/mntr-mgmt/javamanagement/ JMX 
Technology Home Page] for more details.

== Existing MBeanServer ==
{{{
<jmx />
}}}
Enables JMX support in Solr if and only if an existing M!BeanServer is found. 
Use this if you want to configure JMX through JVM parameters. Remove this to 
disable exposing Solr configuration and statistics to JMX. If this is specified 
then Solr will try to list all available M!BeanServers and use the first one to 
register MBeans.

== Existing MBeanServer with agentId ==
{{{
<jmx agentId="myMBeanServer" />
}}}
Enables JMX support in Solr if and only if an existing M!BeanServer is found 
matching the given agentId. If multiple servers are found then the first one is 
used. If none is found, an exception is raised and depending on the 
configuration, Solr may refuse to start.

== New MBeanServer ==
{{{
<jmx serviceurl="service:jmx:rmi:///jndi/rmi://localhost:9999/solrjmx" />
}}}
Creates a new M!BeanServer exposed for remote monitoring at the specific 
service url. If the JMX!ConnectorServer can't be started (probably because the 
serviceUrl is bad) then an exception is thrown.

= Where to find it =
Support for JMX is being built at 
[https://issues.apache.org/jira/browse/SOLR-256 SOLR-256 Stats via JMX]

Use the SOLR-256.patch attached in the above issue to try out the JMX support. 
Please help us by giving your feedback, comments and suggestions.

Reply via email to