blob: b59417ae37a5cf5308c9c1ca1140ad1fb966ff57 [file] [log] [blame]
Ondrej Smola03ff34e2016-12-01 01:30:33 +01001classes:
2- service.elasticsearch.server.cluster
3- service.java.environment
4- service.glusterfs.server
5- service.glusterfs.client
6parameters:
7 _param:
8 java_environment_version: "8"
9 java_environment_platform: openjdk
10 linux:
11 system:
12 sysctl:
13 vm.max_map_count: 262144
14 vm.swappiness: 0
Ondrej Smola03ff34e2016-12-01 01:30:33 +010015 java:
16 environment:
17 headless: true
18 elasticsearch:
19 server:
20 enabled: true
21 master: true
22 data: true
23 mlockall: true
24 bind:
25 address: ${_param:single_address}
26 port: 9200
27 index:
28 replicas: 2
29 threadpool:
30 bulk:
31 queue_size: 1000
32 gateway:
33 expected_nodes: 3
34 recover_after_nodes: 2
35 recover_after_time: 5m
36 cluster:
37 multicast: false
38 minimum_master_nodes: 2
39 members:
40 - host: ${_param:cluster_node01_address}
41 - host: ${_param:cluster_node02_address}
42 - host: ${_param:cluster_node03_address}
43 snapshot:
44 repo:
45 path: /var/lib/elasticsearch/repo
46 glusterfs:
47 server:
48 peers:
49 - ${_param:cluster_node01_address}
50 - ${_param:cluster_node02_address}
51 - ${_param:cluster_node03_address}
52 volumes:
53 elasticrepo:
54 storage: /srv/glusterfs/elasticrepo
55 replica: 3
56 bricks:
57 - ${_param:cluster_node01_address}:/srv/glusterfs/elasticrepo
58 - ${_param:cluster_node02_address}:/srv/glusterfs/elasticrepo
59 - ${_param:cluster_node03_address}:/srv/glusterfs/elasticrepo
60 options:
61 cluster.readdir-optimize: On
62 cluster.lookup-optimize: On
63 nfs.disable: On
64 network.remote-dio: On
65 diagnostics.client-log-level: WARNING
66 diagnostics.brick-log-level: WARNING
67 client:
68 volumes:
69 elasticrepo:
70 path: /var/lib/elasticsearch/repo
71 server: ${_param:cluster_node01_address}
72 user: elasticsearch
73 group: elasticsearch