Created 03-31-2017 09:13 AM
I am planning to Install Ranger and Ranger KMS on 6 Node cluster managed on Azure VM's. I already have default Ambari postgresql DB installed on Ambari Server . Can anyone please clarify below mentioned doubts i have for ranger installation
1) Can i use the same PostgreSQL DB for creating ranger Audit and Policy DB's?
2) I already have Ambari Infra installed on Cluster? Do i need to use URL as http://solr_host:6083/solr/ranger_audits? where solr_host will be the hostname of machine where Ambari Metrics is installed?
3) Do we need to setup Knox with kerberos before installing Ranger or can it be done later as well?
Any help would be appreciated?
Thanks
Rahul
Created 03-31-2017 09:53 AM
Please find below your answers:
1) Can i use the same PostgreSQL DB for creating ranger Audit and Policy DB's?
Yes you can. However audit to DB has been removed so essentially db will be used for policy only.
2) I already have Ambari Infra installed on Cluster? Do i need to use URL as http://solr_host:6083/solr/ranger_audits? where solr_host will be the hostname of machine where Ambari Metrics is installed?
Solr URL will be host where Ambari Infra is installed.
3) Do we need to setup Knox with kerberos before installing Ranger or can it be done later as well?
Any help would be appreciated?
Can you please share more details on this? Do you see any document to setup Knox with kerberos?
Created 03-31-2017 09:16 AM
Created 03-31-2017 09:53 AM
Please find below your answers:
1) Can i use the same PostgreSQL DB for creating ranger Audit and Policy DB's?
Yes you can. However audit to DB has been removed so essentially db will be used for policy only.
2) I already have Ambari Infra installed on Cluster? Do i need to use URL as http://solr_host:6083/solr/ranger_audits? where solr_host will be the hostname of machine where Ambari Metrics is installed?
Solr URL will be host where Ambari Infra is installed.
3) Do we need to setup Knox with kerberos before installing Ranger or can it be done later as well?
Any help would be appreciated?
Can you please share more details on this? Do you see any document to setup Knox with kerberos?
Created 03-31-2017 10:05 AM
Thanks for your answer.
I was looking at below mentioned Knox Installation document. One thing does kerberos needs to be setup before installing Ranger/Ranger KMS?
Created 03-31-2017 10:12 AM
No, it is not cumpulsory to have kerberos before installing Ranger/Ranger KMS
Created on 03-31-2017 09:58 AM - edited 08-18-2019 01:47 AM
1) Can i use the same PostgreSQL DB for creating ranger Audit and Policy DB's?
>> audit to db support is removed hdp-2.5 onwards, only audit to solr and audit to hdfs is supported , but you can use MSSQL as policy DB ,
2) I already have Ambari Infra installed on Cluster? Do i need to use URL as http://solr_host:6083/solr/ranger_audits? where solr_host will be the hostname of machine where Ambari Metrics is installed?
>> if ambari infra is installed and you select Audit to solr options, then select solr cloud option and ambari infra/solr url will automatically populate
3) Do we need to setup Knox with kerberos before installing Ranger or can it be done later as well?
>> knox is not the dependency for ranger , so it can be done later also.
Created 03-31-2017 10:03 AM
Thanks for your answer.
1) Can i create Ranger DB's on existing Postgres Ambari DB and then provide DB configuration during Ambari installatio. Is that a viable solution?
2) Does kerberos needs to be setup before installing Ranger/Ranger KMS or is there a way to set up Ranger/Ranger KMS on non kerborized cluster?
Thanks
Created 03-31-2017 10:21 AM
1) Can i create Ranger DB's on existing Postgres Ambari DB and then provide DB configuration during Ambari installatio. Is that a viable solution?
>> yes you can use existing postgres ambari db and configure it while installing ranger,
2) Does kerberos needs to be setup before installing Ranger/Ranger KMS or is there a way to set up Ranger/Ranger KMS on non kerborized cluster?
-> you can setup ranger/ranger kms on non kerborized cluster , that will not be a problem , but it is recommended to have security + ranger.
Created 02-12-2019 05:27 AM
While installing ambari, we set up a DB for it. Can we use the same DB for ranger?
Also why do we need to run ambari-server setup --jdbc-db={database-type} --jdbc-driver={/jdbc/driver/path} command while installing ranger?
Will running the above command override the DB used by ambari already?
Created 02-12-2019 07:02 AM
This is a closed thread (2017) can you open a new one and copy past this content.