|
| 1 | +# Licensed to the Apache Software Foundation (ASF) under one or more |
| 2 | +# contributor license agreements. See the NOTICE file distributed with |
| 3 | +# this work for additional information regarding copyright ownership. |
| 4 | +# The ASF licenses this file to You under the Apache License, Version 2.0 |
| 5 | +# (the "License"); you may not use this file except in compliance with |
| 6 | +# the License. You may obtain a copy of the License at |
| 7 | +# |
| 8 | +# http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | +# |
| 10 | +# Unless required by applicable law or agreed to in writing, software |
| 11 | +# distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | +# See the License for the specific language governing permissions and |
| 14 | +# limitations under the License. |
| 15 | + |
| 16 | +# |
| 17 | +# This file provides a list of the deployment variables for the Policy Manager Web Application |
| 18 | +# |
| 19 | + |
| 20 | +PYTHON_COMMAND_INVOKER=python3 |
| 21 | +RANGER_ADMIN_LOG_DIR=/var/log/ranger |
| 22 | +RANGER_PID_DIR_PATH=/var/run/ranger |
| 23 | +DB_FLAVOR=MSSQL |
| 24 | +SQL_CONNECTOR_JAR=/usr/share/java/mssql.jar |
| 25 | +CONNECTION_STRING_ADDITIONAL_PARAMS="trustServerCertificate=true;" |
| 26 | +RANGER_ADMIN_LOGBACK_CONF_FILE=/opt/ranger/admin/ews/webapp/WEB-INF/classes/conf/logback.xml |
| 27 | + |
| 28 | +db_root_user=sa |
| 29 | +db_root_password=rangerR0cks! |
| 30 | +db_host=ranger-db |
| 31 | + |
| 32 | +db_name=ranger |
| 33 | +db_user=rangeradmin |
| 34 | +db_password=rangerR0cks! |
| 35 | + |
| 36 | +postgres_core_file=db/postgres/optimized/current/ranger_core_db_postgres.sql |
| 37 | +postgres_audit_file=db/postgres/xa_audit_db_postgres.sql |
| 38 | +mysql_core_file=db/mysql/optimized/current/ranger_core_db_mysql.sql |
| 39 | +mysql_audit_file=db/mysql/xa_audit_db.sql |
| 40 | +oracle_core_file=db/oracle/optimized/current/ranger_core_db_oracle.sql |
| 41 | +oracle_audit_file=db/oracle/xa_audit_db_oracle.sql |
| 42 | +sqlserver_core_file=db/sqlserver/optimized/current/ranger_core_db_sqlserver.sql |
| 43 | +sqlserver_audit_file=db/sqlserver/xa_audit_db_sqlserver.sql |
| 44 | + |
| 45 | +# For over-riding the jdbc url |
| 46 | +is_override_db_connection_string=true |
| 47 | +db_override_jdbc_connection_string="jdbc:sqlserver://ranger-db;databaseName=ranger;trustServerCertificate=true;" |
| 48 | + |
| 49 | +rangerAdmin_password=rangerR0cks! |
| 50 | +rangerTagsync_password=rangerR0cks! |
| 51 | +rangerUsersync_password=rangerR0cks! |
| 52 | +keyadmin_password=rangerR0cks! |
| 53 | + |
| 54 | + |
| 55 | +audit_store=solr |
| 56 | +audit_solr_urls=http://ranger-solr:8983/solr/ranger_audits |
| 57 | +audit_solr_collection_name=ranger_audits |
| 58 | + |
| 59 | +# audit_store=elasticsearch |
| 60 | +audit_elasticsearch_urls= |
| 61 | +audit_elasticsearch_port=9200 |
| 62 | +audit_elasticsearch_protocol=http |
| 63 | +audit_elasticsearch_user=elastic |
| 64 | +audit_elasticsearch_password=elasticsearch |
| 65 | +audit_elasticsearch_index=ranger_audits |
| 66 | +audit_elasticsearch_bootstrap_enabled=true |
| 67 | + |
| 68 | +policymgr_external_url=http://ranger-admin:6080 |
| 69 | +policymgr_http_enabled=true |
| 70 | + |
| 71 | +unix_user=ranger |
| 72 | +unix_user_pwd=ranger |
| 73 | +unix_group=ranger |
| 74 | + |
| 75 | +# Following variables are referenced in db_setup.py. Do not remove these |
| 76 | +sqlanywhere_core_file= |
| 77 | +cred_keystore_filename= |
| 78 | + |
| 79 | +# ################# DO NOT MODIFY ANY VARIABLES BELOW ######################### |
| 80 | +# |
| 81 | +# --- These deployment variables are not to be modified unless you understand the full impact of the changes |
| 82 | +# |
| 83 | +################################################################################ |
| 84 | +XAPOLICYMGR_DIR=$PWD |
| 85 | +app_home=$PWD/ews/webapp |
| 86 | +TMPFILE=$PWD/.fi_tmp |
| 87 | +LOGFILE=$PWD/logfile |
| 88 | +LOGFILES="$LOGFILE" |
| 89 | + |
| 90 | +JAVA_BIN='java' |
| 91 | +JAVA_VERSION_REQUIRED='1.8' |
| 92 | + |
| 93 | +ranger_admin_max_heap_size=1g |
| 94 | +#retry DB and Java patches after the given time in seconds. |
| 95 | +PATCH_RETRY_INTERVAL=120 |
| 96 | +STALE_PATCH_ENTRY_HOLD_TIME=10 |
| 97 | + |
| 98 | +hadoop_conf= |
| 99 | +authentication_method=UNIX |
0 commit comments