Search…
Config.json
The config.json is the primary configuration file that holds all required settings in order to run an Exivity instance or node successfully. Theconfig.jsonis divided into several sections related to the individual Exivity software components (i.e. database, mq, etc) and is typically created and modified by the installer. However, in some situations such as multi-node setups, it is required to change this configuration file in order to support different workloads on different nodes. Also when migrating to a different PostgreSQL database or RabbitMQ cluster, it would be required to change the database or mqrelated settings in the config.jsonconfiguration file.

db

The db section contains the settings for the PostgreSQL database engine where the Exivity database is hosted:
1
"db": {
2
"driver": "postgres",
3
"parameters": {
4
"host": "localhost",
5
"port": "5432",
6
"sslmode": "disable",
7
"dbname": "exdb",
8
"user": "postgres",
9
"password": "secretpassword",
10
"connect_timeout": "10",
11
"target_session_attrs": "read-write"
12
}
13
}
Copied!

mq

The mq section contains the settings for the RabbitMQ message engine:
1
"mq": {
2
"servers": [
3
{
4
"host": "localhost",
5
"port": 5672,
6
"secure": false
7
}
8
],
9
"user": "guest",
10
"password": "guest",
11
"vhost": "/",
12
"nodeID": "mqnode01",
13
"redialPeriod": 5
14
}
Copied!

griffon

The griffonsection contains settings for the Exivity Job Manager:
1
"griffon": {
2
"heartbeatPeriod": 5,
3
"TTL": 10
4
}
Copied!

chronos

The chronos section stores information related to the Exivity Scheduling Service:
1
"chronos": {
2
"heartbeatPeriod": 5,
3
"TTL": 60
4
}
Copied!

merlin

The merlin section contains all parameters related to backend components:
1
"merlin": {
2
"reservedCPU": 1,
3
"heartbeatPeriod": 5,
4
"programs": {
5
"extract": {
6
"path": "bin\\use.exe",
7
"queue": "EXTRACT",
8
"CPU": 0.25,
9
"RAM": 100,
10
"params": "${params}"
11
},
12
"transform": {
13
"path": "bin\\transcript.exe",
14
"queue": "TRANSFORM",
15
"CPU": 0.5,
16
"RAM": 250
17
},
18
"report": {
19
"path": "bin\\edify.exe",
20
"queue": "REPORT",
21
"CPU": 1,
22
"RAM": 500
23
},
24
"horizon": {
25
"path": "bin\\horizon.exe",
26
"queue": "BUDGET",
27
"CPU": 0.5,
28
"RAM": 50
29
},
30
"execute": {
31
"path": "${program}",
32
"queue": "EXECUTE",
33
"CPU": 0.25,
34
"RAM": 100
35
},
36
"proximity": {
37
"path": "server\\php\\php.exe",
38
"queue": "PROXIMITY",
39
"CPU": 0.5,
40
"RAM": 1000
41
},
42
"pigeon": {
43
"path": "server\\php\\php.exe",
44
"queue": "PIGEON",
45
"CPU": 0.25,
46
"RAM": 250
47
},
48
"workflow_ended": {
49
"path": "server\\php\\php.exe",
50
"queue": "WORKFLOW_EVENT",
51
"topic": "evt.workflow_status.griffon.#",
52
"params": "common\\pigeon\\pigeon.phar event:post workflow_ended `${payload}`",
53
"CPU": 0.25,
54
"RAM": 250
55
},
56
"report_published": {
57
"path": "server\\php\\php.exe",
58
"queue": "REPORT_PUBLISHED",
59
"topic": "evt.report_published.proximity.#",
60
"params": "common\\pigeon\\pigeon.phar event:post report_published `${payload}`",
61
"CPU": 0.25,
62
"RAM": 250
63
}
64
}
65
}
Copied!
Last modified 4mo ago
Export as PDF
Copy link