Configure ODP Ranger

This page describes configuring JMX for Ranger in ODP so Pulse can collect metrics.

Steps to Configure JMX

  1. In the Ambari UI, navigate to Ranger > Configs > Advanced.

  2. In the ranger-env template section, locate configurations for:

    • ranger_admin
    • ranger_usersync
    • ranger_tagsync (if deployed)
  3. In ranger-env template, choose and add one of the following JMX configurations based on your security needs.

Enable JMX without Security on JMX Remote Port

To enable JMX port without any security, add the following parameters at the end of the file:

Bash
Copy

Enable Basic Authentication on JMX Remote Port (Optional)

To enable basic authentication on the JMX remote port, add the following parameters:

Bash
Copy

Enable TLS/SSL on the JMX Remote Port (Optional)

To enable TLS/SSL authentication on the JMX remote port, add the following parameters:

Bash
Copy
  1. Save the configurations.
  2. Restart the Ranger service.

Result

  • Ranger exposes metrics on the configured port.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard