-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbackup.json
executable file
·49 lines (49 loc) · 1.04 KB
/
backup.json
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
{
"server": {
"primary": [
{
"host": "10.11.14.54:801",
"weight": 1
},
{
"host": "10.11.14.54:802",
"weight": 1
},
],
"backup": [
{
"host": "10.11.14.54:801",
}
]
}
"resolver": {
"nameservers": ["10.11.16.10"],
"retrans": 5,
"timeout": 2000
},
"retries":3,
"healthcheck":{
"active": {
"type":"http",
"http_path":"/",
"healthy": {
"interval": 2,
"successes": 1
},
"unhealthy": {
"interval": 1,
"http_failures": 2
}
},
"passive":{
"healthy":{
"successes":3
},
"unhealthy":{
"timeouts": 5,
"http_failures":10,
"tcp_failures":3
}
}
}
}