Installing Apache Ranger
Also available as:
PDF

Start the Ranger Installation

How to begin installing Ranger via Ambari.

You must have configured a database instance for Ranger.
  1. Log into your Ambari cluster with your designated user credentials.
    The main Ambari Dashboard page will be displayed.
  2. In the left navigation menu, click Actions, then select Add Service.
    The main Ambari Dashboard page with Actions > "+ Add Service" highlighted.
  3. On the Choose Services page, select Ranger, then click Next.
    After clicking Add Service, shows Ranger selected.
    The Ranger Requirements page appears.
  4. Ensure that you have met all of the installation requirements, then select the "I have met all the requirements above" check box and click Proceed.
    1. If you have not already done so, run ambari-server setup --jdbc-db=$database-type --jdbc-driver=$/jdbc/driver/path.
      ambari-server setup --jdbc-db=mysql --jdbc-driver=/usr/share/java/mysql-connector-java.jar
    Ambari > Add Service > Ranger, checkbox "I have met all the requirements above".
    You are then prompted to select the host where Ranger Admin will be installed. This host should have DB admin access to the Ranger DB host and User Sync. Notice in the figure below that both the Ranger Admin and Ranger User Sync services will be installed on the primary node in the cluster (c6401.ambari.apache.org in the example shown below).
  5. You are prompted to Assign Masters. Make a note of the Ranger Admin host for use in subsequent installation steps. Click Next when finished to continue with the installation.
    Ambari > Add Service > Ranger > Assign Masters, Ranger Admin and Ranger Usersync highlighted.
    The Customize Services page appears. These settings are described in the Ranger Installation: Customize Services section.
  6. On the Assign Slaves and Clients page, click Next.
“Customize Services: Admin”