Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...


Installation Steps for Ranger-Admin

  1. Untar the ranger-<verison>-admin.tar.gz

    -> tar zxf ranger-<version>-admin.tar.gz


  2. Change directory to ranger-<version>-admin

    -> cd ranger-<version>-admin

     

  3. Edit install.properties (Enter appropriate values for the below given properties)

     

    db_root_user=

    db_root_password=

    db_host=


    db_name=

    db_user=

    db_password=


    policymgr_external_url=http://<FQDN_OF_Ranger_Admin_Cluster>:6080

    authentication_method=UNIX or LDAP or AD


    spnego_principal=HTTP/<FQDN_OF_Ranger_Admin_Cluster>@<REALM>

    spnego_keytab=<HTTP keytab path>

    token_valid=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 kerberos server and admin are on different host then copy the keytab on admin host and assign permission to “ranger” user

     

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

    • chown ranger <rangeradmin keytab path>

    • chmod 400 <rangeradmin keytab path>


  4. Run setup

    -> ./setup.sh

     

  5. Start Ranger admin server

 

-> ./ranger-admin-services.sh start

Installation Steps for Ranger-Usersync

 

  1. Untar the ranger-<verison>-usersync.tar.gz

    1. tar zxf ranger-<version>-usersync.tar.gz

  2. Change directory to ranger-<version>-usersync

    1. cd ranger-<version>-usersync

  3. Edit install.properties (Enter appropriate values for the below given properties)


 

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 kerberos server and usersync are on different host then copy the keytab on usersync host and assign permission to “ranger” user

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

  • chown ranger <rangeusersync keytab path>

  • chmod 400 <rangerusersync keytab path>


  1. Run setup

    1. ./setup.sh

  2. Start Ranger usersync server

    1. ./ranger-usersync-services.sh start