Configure ODP Solr for Pulse
To enable Pulse to collect cluster, query, indexing, cache, JVM, and node-level metrics from Apache Solr, configure Java Management Extensions (JMX) for the Solr service in Ambari.
This setup exposes Solr JMX metrics, allowing Pulse to monitor the health, performance, resource utilization, and operational status of your Solr deployment.
There are two ways to expose Solr JMX metrics for Pulse monitoring:
- Direct JMX (default) – Configure the Solr JVM to expose a JMX port. Pulse connects directly to the JMX endpoint to collect metrics. This method is recommended for most deployments and is described on this page.
- JMXTrans Agent – Configure the JMXTrans Agent if direct JMX access is not feasible, such as when JMX port conflicts or network restrictions prevent Pulse from connecting to the Solr JMX endpoint. For more information, see Enable JMXTrans Agent.
Expose Solr JMX Metrics
Configure the Solr JVM to expose JMX metrics that Pulse can collect.
- In the Ambari UI, go to Services > Solr > Configs.
- Under Configs, select Custom solr-env.
- Locate the solr_java_opts property.
- If the property does not exist, click + Add Property and create it.
- Update the solr_java_opts property to include the following JMX options.
Replace <solr-hostname> with the hostname of your Solr server.
-Dcom.sun.management.jmxremote \
-Dcom.sun.management.jmxremote.port=18983 \
-Dcom.sun.management.jmxremote.rmi.port=18983 \
-Dcom.sun.management.jmxremote.authenticate=false \
-Dcom.sun.management.jmxremote.ssl=false \
-Djava.rmi.server.hostname=<Solr_Hostname>
- Save the configuration changes.
- Restart the Solr service for the changes to take effect.
After the service restarts, Pulse can connect to the Solr JMX endpoint and begin collecting metrics for monitoring dashboards, analytics, alerts, and health monitoring.
Note
Ensure that the configured JMX port (default 18983) is reachable from the Pulse server and is not blocked by firewall or network security policies.
Also, configure the same port when prompted during Pulse configuration with the command: accelo config cluster.

Have a suggestion?