-
Notifications
You must be signed in to change notification settings - Fork 1
/
archiver.conf
72 lines (65 loc) · 2.78 KB
/
archiver.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# IMPORTANTE: Considere um cenário onde cada componente esta rodando em uma máquina diferente.
# Nesse caso, o arquivo de configuração deve ser editado para que cada componente aponte para o IP da máquina onde ele está rodando.
# Exemplo:
# archiver_ip = 10.11.19.80
# arrebol_ip = 10.11.19.103
# catalgo_ip = 10.11.19.41
# dispatcher_ip = 10.11.19.49
# scheduler_ip = 10.11.19.28
# $catalog_db_name = catalog_db_name
# $catalog_user = catalog_user
# $catalog_passwd = catalog_passwd
##### Catalog Service #####
# URL prefix (default = jdbc:postgresql://)
datastore_url_prefix=jdbc:postgresql://
# IP address (e.g. 10.10.10.1)
datastore_ip=10.11.19.41
# Port (default = 5432)
datastore_port=5432
# DB name (e.g. db-saps)
datastore_name=catalog_db_name
# Driver (default = org.postgresql.Driver)
datastore_driver=org.postgresql.Driver
# Username (e.g. db-user-saps)
datastore_username=catalog_user
# Password (e.g. db-user-pass)
datastore_password=catalog_passwd
###### Permanent Storage ######
# Permanent storage tasks directory (default = archiver)
permanent_storage_tasks_dir=archiver
# Permanent storage debug tasks directory (default = trash)
# Note: This property would only be used if saps_debug_mode=true
permanent_storage_debug_tasks_dir=trash
###### Swift Permanent Storage ######
#### Openstack Service ####
# Openstack identity service API URL (e.g. https://<domain>:5000)
openstack_identity_service_api_url=$openstack_identity_service_api_url
# Openstack project ID
openstack_project_id=$openstack_project_id
# Openstack user ID
openstack_user_id=$openstack_user_id
# Openstack user password
openstack_user_password=$openstack_user_password
# Openstack object store service API URL
openstack_object_store_service_api_url=$openstack_object_store_service_api_url
# Openstack object store service container name
openstack_object_store_service_container_name=$openstack_object_store_service_container_name
# Openstack object store service key
openstack_object_store_service_key=$openstack_object_store_service_key
##### NFS Permanent Storage #####
# NFS permanent storage path (default = /nfs)
nfs_permanent_storage_path=/nfs
# NFS Permanent storage base URL (default = http://<domain>:80/archiver)
permanent_storage_base_url=http://10.11.19.80:80/
##### Archiver Component #####
# Time sleep in seconds to run the archiving routine (default = 300)
saps_execution_period_archiver=300
# Time sleep in seconds to run the failed task cleanup routine (default = 30)
saps_execution_period_garbage_collector=30
# Temporary storage path mounted by the NFS client
saps_temp_storage_path=/nfs
# Permanent storage type [swift | nfs]
saps_permanent_storage_type=nfs
# Debug mode [true | false]
# When executing in debug mode, the output generated by failed tasks are also kept in the permanent storage
saps_debug_mode=$saps_debug_mode