forked from opencurve/curve
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtopo_example.json
49 lines (49 loc) · 1.13 KB
/
topo_example.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
{
"poolsets": [
{
"name": "SSD",
"type": "SSD"
},
{
"name": "HDD",
"type": "HDD"
}
],
"servers": [{
"name": "server1",
"internalip": "127.0.0.1",
"internalport": 8200,
"externalip": "127.0.0.1",
"externalport": 8200,
"zone": "zone1",
"physicalpool": "pool1",
"poolset": "SSD"
}, {
"name": "server2",
"internalip": "127.0.0.1",
"internalport": 8201,
"externalip": "127.0.0.1",
"externalport": 8201,
"zone": "zone2",
"physicalpool": "pool1",
"poolset": "SSD"
}, {
"name": "server3",
"internalip": "127.0.0.1",
"internalport": 8202,
"externalip": "127.0.0.1",
"externalport": 8202,
"zone": "zone3",
"physicalpool": "pool1",
"poolset": "SSD"
}],
"logicalpools": [{
"name": "logicalPool1",
"physicalpool": "pool1",
"type": 0,
"replicasnum": 3,
"copysetnum": 64,
"zonenum": 3,
"scatterwidth": 0
}]
}