Install Ranger Admin
Follow these steps to install Ranger Admin:
Untar the ranger-<version>-admin.tar.gz file:
tar zxf ranger-<version>-admin.tar.gz
Change directory to
ranger-<version>-admin
.cd ranger-<version>-admin
Edit the
install.properties
file.Enter the appropriate values for each of the following properties:
Table 6.10. install.properties Property Values
Property Value db_root_use db_root_password db_host db_name db_user db_password policymgr_external_url http://<FQDN_OF_Ranger_Admin_Cluster>:6080 authentication_method UNIX, LDAP, or AD spnego_principal HTTP/<FQDN_OF_Ranger_Admin_Cluster>@<REALM> spnego_keytab <HTTP keytab path> token_value 30 cookie_domain <FQDN_OF_Ranger_Admin_Cluster> cookie_path / admin_principal rangeradmin/<FQDN_OF_Ranger_Admin_Cluster>@<REALM> admin_keytab <rangeradmin keytab path> lookup_principal rangerlookup/<FQDN_OF_Ranger_Admin_Cluster>@<REALM> lookup_keytab <rangerlookup_keytab_path> hadoop_conf /etc/hadoop/conf Note If the Kerberos server and admin are on different hosts, copy the keytab to admin host and assign permission to user
ranger
:scp the
rangeradmin
keytab file to the respective path of another host.chown ranger <rangeradmin_keytab_path>
chmod 400 <rangeradmin_keytab_path>
Run setup.
./setup.sh
Start the Ranger admin server.
./ranger-admin-services.sh start