Configuration file datafari.properties
This is the main configuration file of Datafari. It is located into $DATAFARI_HOME/tomcat/conf
Property name | Applies for | Mandatory | Possible values | Explanations |
---|---|---|---|---|
INSTALLER_TYPE | ALL TYPES | YES | interactive machine | If set to interactive, the script will ask questions to the user to fill the datafari.properties file |
NODETYPE | ALL TYPES | YES | monoserver main solr mcf | Â |
NODEHOST | ALL TYPES | YES | Â | Enter the IP of the server |
SOLRNUMSHARDS | SOLR MAIN | YES | Â | Enther the number of shards you want for your Solr collection |
SOLRHOSTS | MAIN SOLR MCF | YES | Â | Specify the ZK hosts with the port and separated with commas. For exemple: 127.0.0.1:2181,192.168.0.1:2181 (automatically filled for monoserver) |
SOLRMAINCOLLECTION | Â | YES | Â | Enter the name of the Solr collection |
TEMPADMINPASSORD | MONOSERVER MAIN MCF | YES | Â | Enter the password for Datafari |
TEMPPGSQLPASSWORD | MONOSERVER MAIN MCF | YES | Â | Enter the password for PostgreSQL |
MCFPASSWORD | MONOSERVER MCF | YES | Â | Enter the password for MCF |
POSTGRESQL_EXTERNAL | MONOSERVER MAIN MCF | YES | true/false | Indicate if Datafari uses an externalized PostgreSQL database |
POSTGRESQL_HOSTNAME | MONOSERVER MAIN MCF | only if POSTGRESQL_EXTERNAL = true | Â | Â |
POSTGRESQL_DATABASE | MONOSERVER MAIN MCF | only if POSTGRESQL_EXTERNAL = true | Â | Â |
POSTGRESQL_USERNAME | MONOSERVER MAIN MCF | only if POSTGRESQL_EXTERNAL = true | Â | Â |
POSTGRESQL_PORT | MONOSERVER MAIN MCF | only if POSTGRESQL_EXTERNAL = true | Â | Â |
SSD_DISK | MONOSERVER MAIN MCF | YES | Â | indicate if the disk is SSD or not |
solrNodesNumber | MAIN | YES | Â | Enter the number of Solr servers that you have |
mcfNodesNumber | MAIN | YES | Â | Enter the number of MCF servers you have (enter 0 if none) |
MCFHOSTS | MAIN | YES if mcfNodesNumber > 0 | Â | Enter the IP of the MCF servers you have (enter only if you have one or more MCF servers) |
currentMCFNumber | MCF | YES | Â | Enther the number of the current MCF server you install |
currentSolrNumber | SOLR | YES | Â | Enther the number of the current Solr server you install |
MAINNODEHOST | SOLR | YES | Â | Enter the IP of the main node host |
replicationFactor | MAIN | YES | Â | indicate the replication factor of the Solr collection (ie indicate if the shards are present only one time or if they are replicated) |
sessionTimeoutUnauthenticated | MONOSERVER MAIN MCF | YES | Â | 60 represents the time in second a session remains active before being logged out by Tomcat. |
sessionTimeoutAuthenticated | MONOSERVER MAIN MCF | YES | Â | 1500 represents the time in second a session remains active before being logged out by Tomcat. |
maxConcurrentSessions | MONOSERVER MAIN MCF | YES | Â | Number maximum of sessions |
IS_LIKES_AND_FAVORITES_ENABLED | MONOSERVER MAIN Â | YES | Â | Activate or not the likes and favorites |
ontologyLanguageSelection | MONOSERVER MAIN MCF | YES | Â | Â |
ontologyChildrenLabels | MONOSERVER MAIN MCF | YES | Â | Â |
ontologyParentsLabels | MONOSERVER MAIN MCF | YES | Â | Â |
ontologyEnabled | MONOSERVER MAIN MCF | YES | Â | Â |
ontologyNodeLabels | MONOSERVER MAIN MCF | YES | Â | Â |
OCR | MONOSERVER MAIN MCF | YES | Â | Indicates if OCR is activated |
emailLicense | MONOSERVER MAIN MCF | YES | Â | email address to contact to get licenses of Datafari |
TIKASERVER | MONOSERVER MAIN MCF | YES | Â | indicates if there is a Tika server activated |
TIKASERVER_ANNOTATOR | Â | Â | Â | indicates if there is a Tika server for annotators activated |
TIKASERVER_OCR | Â | Â | Â | indicates if there is a Tika server for OCR activated |
userAllowedHandlers | MONOSERVER MAIN MCF | YES | Â | List of handlers allowed into Datafari |
ALLOWLOCALFILEREADING | MONOSERVER MAIN MCF | YES | Â | Indicates if it is possible to access local files |
IP_SSH_ADMIN | Â | Â | Â | Indicates if there is a SSH IP admin address different than the IP of the server |
SSH_PORT | ALL_TYPES | Yes | Â | Starting from Datafari 5.4.1. Default value is 22 |
remote_timeout | Â | Â | Â | The timeout of SSH commands into multiservers mode |
AnalyticsActivation | ALL TYPES | No | true false (default) | If you want to activate the Analytics stack on the main/monoserver and Logstash on the other servers |
 |  |  |  |  |
MONIT_STATE | Â | Â | Â | Indicates if Monit is activated or not |
log_retention | ALL TYPES | Yes if you use the monitoring scripts | Â | Indicates the number of days that we retain the logs |
 |  |  |  |  |
ALERT_STATE | Â | Â | Â | Indicates if the Alerts global monitoring script was executed and the alerts system configured |
 |  |  |  |  |
email_servername | ALL TYPES | Yes if you use the monitoring and alert scripts | Â | the name of the server to monitor |
smtp_authentication | Â | Â | Â | indicates if there is a smtp authentication or not |
smtp_username | Â | Â | Â | username of the smtp account |
smtp_password | ALL TYPES | Yes if you use the monitoring and alert scripts | Â | password of the smtp account |
smtp_address | ALL TYPES | Yes if you use the monitoring and alert scripts | Â | the domain name of the smtp server |
smtp_port | ALL TYPES | Yes if you use the monitoring and alert scripts | Â | the port of the smtp server |
smtp_tls | Â | Â | Â | indicates if tls is activated or not |
smtp_starttls | Â | Â | Â | indicates if there is starttls or not |
email_recipient | Â | Â | Â | the email of the recipient of the alerts |
email_sender | Â | Â | Â | the email of the sender of the alerts |
 |  |  |  |  |
iptables_activation | Â | Â | Â | indicates if iptables rules are applied or not |
 |  |  |  |  |
global_backup_folder | Â | Â | Â | the path of the backup folder |
global_restore_folder | Â | Â | Â | the path of the restore folder |
backup_cassandra_retention_time | Â | Â | Â | number of days of retention of Cassandra logs |
backup_mcf_retention_time | Â | Â | Â | number of days of retention of MCF logs |
backup_configuration_retention_time | Â | Â | Â | number of days of retention of Cassandra logs |
backup_solr_retention_time | Â | Â | Â | number of days of retention of Cassandra logs |
 |  |  |  |  |
certificate_folder | Â | Â | Â | folder of the SSL certificate |
certificate_file | Â | Â | Â | the filename of the SSL certificate (generally use the same thing than full_certificate_file) |
full_certificate_file | Â | Â | Â | the entire certificate chain in a single file (typically |
private_key_certificate | Â | Â | Â | the private key for your certificate |
 |  |  |  |  |
python_version | Â | Â | Â | indicates the version of Datafari. Starting from Datafari 6, not needed anymore |
 |  |  |  |  |
email_feedbacks | Â | Â | Â | The email that will be used to send feedback about Datafari |
email_dpo | Â | Â | Â | The email of the Data Protection Officer (DPO) regarding RGPD questions |
email_bugs | Â | Â | Â | The email that will be used to send bugs questions oe reports about Datafari |
 |  |  |  |  |
ENABLE_MONITORING_TIMER | ALL_TYPES | No | true false (default) | Starting from Datafari 6.1. If you want to activate Monitoring Timers |
Â