Install Ranger Usersync
Follow these steps to install Ranger Usersync:
Untar the
ranger-<version>-usersync.tar.gz
file:tar zxf ranger-<version>-usersync.tar.gz
Change directory to
ranger-<version>-usersync
.cd ranger-<version>-usersync
Edit the
install.properties
file.Enter the appropriate values for each of the following properties:
Table 6.11. install.properties Property Values
Property Value POLICY_MGR_URL http://<FQDN_OF_Ranger_Admin_Cluster>:6080 usersync_principal rangerusersync/<FQDN>@<REALM> usersync_keytab <rangerusersync keytab path> hadoop_conf /etc/hadoop/conf 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>
Run setup.
./setup.sh
Start the Ranger usersync server.
./ranger-usersync-services.sh start