-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathpolicy.json
32 lines (32 loc) · 1.32 KB
/
policy.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
{
"set-cluster-policy": [
{
"cores": "<50",
"node": "#ANY"
}
],
"set-policy": {
"analytics": [
{"replica" : "<3", "node":"#ANY"},
{"node": "#ANY", "shard": "#EACH", "replica":"<3"},
{"replica":"#EQUAL", "shard":"#EACH", "sysprop.solr_zone":"#EACH","strict": false},
{"replica": "#EQUAL", "sysprop.solr_zone": "#EACH","strict": false},
{"replica": "#ALL", "sysprop.fusion_node_type": "analytics"}
],
"search": [
{"replica" : "<2", "node":"#ANY"},
{"node": "#ANY", "shard": "#EACH", "replica":"<2"},
{"replica": "#ALL", "type": "TLOG", "nodeset":{"sysprop.fusion_node_type": "analytics"}},
{"replica": "#ALL", "type": "PULL", "nodeset":{"sysprop.fusion_node_type": "search"}},
{"replica": "#ALL", "type": "NRT", "nodeset":{"sysprop.fusion_node_type": "search"}},
{"replica":"#EQUAL", "shard":"#EACH", "sysprop.solr_zone":"#EACH", "strict": false},
{"replica": "#EQUAL", "sysprop.solr_zone": "#EACH", "strict": false}
],
"system": [
{"node": "#ANY", "shard": "#EACH", "replica":"<3"},
{"replica":"#EQUAL", "shard":"#EACH", "sysprop.solr_zone":"#EACH","strict": false},
{"replica": "#EQUAL", "sysprop.solr_zone": "#EACH","strict": false},
{"replica": "#ALL", "sysprop.fusion_node_type": "system"}
]
}
}