blob: 56a0469896cd051662f39026b624af21e2d18fe3 [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
15 repo:
16 tcpcloud_elasticsearch:
17 source: "deb [arch=amd64] http://apt.tcpcloud.eu/nightly/ xenial elastic"
18 architectures: amd64
19 key_url: "http://apt.tcpcloud.eu/public.gpg"
20 java:
21 environment:
22 headless: true
23 elasticsearch:
24 server:
25 enabled: true
26 master: true
27 data: true
28 mlockall: true
29 bind:
30 address: ${_param:single_address}
31 port: 9200
32 index:
33 replicas: 2
34 threadpool:
35 bulk:
36 queue_size: 1000
37 gateway:
38 expected_nodes: 3
39 recover_after_nodes: 2
40 recover_after_time: 5m
41 cluster:
42 multicast: false
43 minimum_master_nodes: 2
44 members:
45 - host: ${_param:cluster_node01_address}
46 - host: ${_param:cluster_node02_address}
47 - host: ${_param:cluster_node03_address}
48 snapshot:
49 repo:
50 path: /var/lib/elasticsearch/repo
51 glusterfs:
52 server:
53 peers:
54 - ${_param:cluster_node01_address}
55 - ${_param:cluster_node02_address}
56 - ${_param:cluster_node03_address}
57 volumes:
58 elasticrepo:
59 storage: /srv/glusterfs/elasticrepo
60 replica: 3
61 bricks:
62 - ${_param:cluster_node01_address}:/srv/glusterfs/elasticrepo
63 - ${_param:cluster_node02_address}:/srv/glusterfs/elasticrepo
64 - ${_param:cluster_node03_address}:/srv/glusterfs/elasticrepo
65 options:
66 cluster.readdir-optimize: On
67 cluster.lookup-optimize: On
68 nfs.disable: On
69 network.remote-dio: On
70 diagnostics.client-log-level: WARNING
71 diagnostics.brick-log-level: WARNING
72 client:
73 volumes:
74 elasticrepo:
75 path: /var/lib/elasticsearch/repo
76 server: ${_param:cluster_node01_address}
77 user: elasticsearch
78 group: elasticsearch