7.2.24.2. Configuration / fichiers utiles¶
Les fichiers de configuration sont gérés par les procédures d’installation ou de mise à niveau de l’environnement VITAM. Se référer au DIN.
Les fichiers de configuration sont définis sous /vitam/conf/storage-engine
.
7.2.24.2.1. Fichier driver-location.conf
¶
driverLocation: {{vitam_folder_lib}}
7.2.24.2.2. Fichier driver-mapping.conf
¶
driverMappingPath: {{vitam_folder_data}}/
delimiter: ;
7.2.24.2.3. Fichier static-offer.json
¶
{% if vitam.storageofferdefault.https_enabled==true %}
{% set protocol = 'https' %}
{% else %}
{% set protocol = 'http' %}
{% endif %}
[
{% for item in vitam_strategy %}
{
"id" : "{{ item.name }}.service.{{ item.vitam_site_name |default(vitam_site_name) }}.{{ consul_domain }}",
"baseUrl" : "{{ protocol }}://{{ item.name }}.service.{{ item.vitam_site_name |default(vitam_site_name) }}.{{ consul_domain }}:{{ vitam.storageofferdefault.port_service }}",
"parameters" : {
{% if vitam.storageofferdefault.https_enabled==true %}
"keyStore-keyPath": "{{vitam_folder_conf}}/keystore_storage.p12",
"keyStore-keyPassword": "{{keystores.client_storage.storage}}",
"trustStore-keyPath": "{{vitam_folder_conf}}/truststore_storage.jks",
"trustStore-keyPassword": "{{truststores.client_storage}}"
{% endif %}
}
}
{% if not loop.last %},
{% endif %}
{% endfor %}
]
7.2.24.2.4. Fichier static-strategy.json
¶
{
"id" : "default",
"hot" : {
"copy" : {{ vitam_strategy|length }},
"offers" : [
{% for item in vitam_strategy %}
{"id" : "{{ item.name }}.service.{{ item.vitam_site_name |default(vitam_site_name) }}.{{ consul_domain }}"{% if item.referent is defined %}{% if item.referent|lower == "true" %}, "referent" : true{% endif %}{% endif %}}{% if not loop.last %},{% endif %}
{% endfor %}
]
}
}
7.2.24.2.5. Fichier storage-engine.conf
¶
urlWorkspace: {{ vitam.workspace | client_url }}
timeoutMsPerKB: 100
jettyConfig: jetty-config.xml
zippingDirecorty: {{vitam_folder_data}}/storage_archives
loggingDirectory: {{vitam_folder_log}}
p12LogbookPassword: {{keystores.timestamping.secure_storage}}
p12LogbookFile: keystore_{{vitam_timestamp_usage}}.p12
storageTraceabilityOverlapDelay: {{ vitam.storageengine.storageTraceabilityOverlapDelay }}
restoreBulkSize: {{vitam.storageengine.restoreBulkSize}}
#Basic Authentication
adminBasicAuth:
- userName: {{ admin_basic_auth_user }}
password: {{ admin_basic_auth_password }}