Managing Auditing
Also available as:

Install Externally-Managed SolrCloud

How to install externally-managed SolrCloud when using Apache Solr for Ranger audits.

You can download the Solr package from Apache Solr Downloads (link below). Make sure that the Solr version is 5.2 or above. You can also use the Ranger script to automatically download, install, and configure Solr. If you would like to use the script to install Solr, set the following properties in the files, along with the settings from the one of the configuration options in the following sections.
  1. Run the following commands:
    cd $HOME
    git clone
    cd incubator-ranger/security-admin/contrib/solr_for_audit_setup
  2. Edit the file (see the instructions in the following sections).
    Table 1. Solr Values for script
    Property Name Value Description
    SOLR_INSTALL true When set to true, script will download the Solr package and install it.
    SOLR_DOWNLOAD_URL It is recommended that you use one for Apache mirror sites to download the Solr package. You can choose a mirror site at
    SOLR_INSTALL_FOLDER /opt/solr The Solr install folder.
  3. Run the ./ script.
  4. Refer to $SOLR_RANGER_HOME/install_notes.txt for additional instructions.