Command Line Installation
Also available as:
PDF
loading table of contents...

Install Ranger Usersync

Follow these steps to install Ranger Usersync:

  1. Untar the ranger-<version>-usersync.tar.gz file:

     tar zxf ranger-<version>-usersync.tar.gz
  2. Change directory to ranger-<version>-usersync.

    cd ranger-<version>-usersync
  3. Edit the install.properties file.

    Enter the appropriate values for each of the following properties:

    Table 6.11. install.properties Property Values

    PropertyValue
    POLICY_MGR_URLhttp://<FQDN_OF_Ranger_Admin_Cluster>:6080
    usersync_principalrangerusersync/<FQDN>@<REALM>
    usersync_keytab<rangerusersync keytab path>
    hadoop_conf/etc/hadoop/conf

    [Note]Note

    If the Kerberos server and usersync are on different hosts, copy the keytab on usersync host and assign permission to user ranger:

    • scp the rangerusersync keytab file to the respective path of another host

    • chown ranger <rangerusersync_keytab_path>

    • chmod 400 <rangerusersync_keytab_path>

  4. Run setup.

    ./setup.sh
  5. Start the Ranger usersync server.

    ./ranger-usersync-services.sh start