Installing Ranger through Ambari
This topic lists the steps to install Ranger through Ambari.
- Log in to Ambari UI.
-
Add the Ranger service. Click Ambari dashboard > Actions > Add Service.
Figure 1. Ambari dashboard -
On the Choose Services page, select Ranger and
Ranger KMS.
-
Customize the services. In the Ranger Admin dashboard, configure the following:
- Under “DB Flavor”, select MYSQL.
- For the Ranger DB host, the host name must be the location of MYSQL.
- For Ranger DB username, set the value to rangeradmin.
- For Ranger DB password, set the value to rangeradmin.
- For the Database Administrator (DBA) username, set the value to root.
- For the Database Administrator (DBA) password, set the value to password for root user.
- Click on the Test Connection button and ensure that the connection result is OK.
- In ADVANCED tab set password for:
- Ranger Usersync user's password
- Ranger Tagsync user's password
- Ranger KMS keyadmin user's password
- Provide password for 'Advanced ranger-env' tab for 'Ranger Admin user's password'
- In the Ranger Audit tab, ensure that the Audit to Solr option is disabled.
-
Customize the services, In the 'RANGER KMS'
- Under “DB Flavor”, select MYSQL.
- For the 'Ranger KMS DB host', the hostname must be the location of MYSQL.
- For Ranger KMS DB username, set the value to rangerkms.
- For Ranger KMS DB password, set the value to rangerkms.
- For 'Database Administrator (DBA) password', set the root user password.
- For 'KMS master key password' set new password.
- Deploy and complete the installation.
Assign the Ranger server to be on the same node as the HDFS Transparency NameNode for better performance.
Select Next > Next > Deploy.