Install Ranger KMS
Follow these steps to install Ranger KMS:
Untar the
ranger-<version>-SNAPSHOT-kms.tar.gz file
:tar zxf ranger-<version>-SNAPSHOT-kms.tar.gz
Change directory to
ranger-<version>-SNAPSHOT-kms
.cd ranger-<version>-SNAPSHOT-kms
Edit the
install.properties
file.Enter the appropriate values for each of the following properties:
Table 13.13. install.properties Property Values
Property Value KMS_MASTER_KEY_PASSWD <Master_Key_Password> kms_principal rangerkms/<FQDN_of_ranger_kms host>@<REALM> kms_keytab <ranger_kms_keytab_path> hadoop_conf <hadoop_core-site.xml_path> POLICY_MGR_URL http://<FQDN_of_ranger_admin_host>:6080 Note If the Kerberos server and tagsync are on different hosts, copy the keytab on Ranger KMS host and assign permission to user
kms
:scp the rangerkms keytab file to the respective path of another host.
chown ranger <rangerkms_keytab_path>
chmod 400 <rangerkms_keytab_path>
Run setup.
export JAVA_HOME=<JAVA_path> ./setup.sh
Perform other setup required for a kerberized cluster such as creating keytabs, and adding a proxy user. ???ADD REFERENCE HERE???
Start the Ranger KMS server.
./ranger-kms start