Skip to content

Instantly share code, notes, and snippets.

@portante
Created July 8, 2016 04:04
Show Gist options
  • Select an option

  • Save portante/b0fe859f69edeae49f839a9df47d21a8 to your computer and use it in GitHub Desktop.

Select an option

Save portante/b0fe859f69edeae49f839a9df47d21a8 to your computer and use it in GitHub Desktop.
This is the ES .yml file for a master node in our 6 node ES cluster. We have three master & data nodes, and 3 data nodes. Each node has 12 1 TB disks, mounted at /srv/es/{0..B}. We put the ES work directory on the first disk. This is currently used by ES 1.5.x running under RHEL 7.2.
cluster.name: elasticsearch.patriots
action.disable_delete_all_indices: true
bootstrap.mlockall: true
node.name: "brady"
node.master: true
node.data: true
index.number_of_shards: 1
index.number_of_replicas: 1
index.load_fixed_bitset_filters_eagerly: false
path.conf: /etc/elasticsearch
path.data: /srv/es/0,/srv/es/1,/srv/es/2,/srv/es/3,/srv/es/4,/srv/es/5,/srv/es/6,/srv/es/7,/srv/es/8,/srv/es/9,/srv/es/A,/srv/es/B
path.work: /srv/es/0/es.tmp.d
path.logs: /var/log/elasticsearch
transport.host: 172.17.40.3
http.bind_host: [ 172.18.40.3, 127.0.0.1 ]
http.publish_host: 172.18.40.3
http.port: 9200
gateway.recover_after_nodes: 4
gateway.expected_nodes: 6
gateway.recover_after_time: 10m
discovery.zen.minimum_master_nodes: 2
discovery.zen.ping.multicast.enabled: false
discovery.zen.ping.unicast.hosts: ["172.17.40.3", "172.17.40.5", "172.17.40.7"]
cluster.routing.allocation.node_concurrent_recoveries: 12
cluster.routing.allocation.node_initial_primaries_recoveries: 4
indices.recovery.max_bytes_per_sec: 100mb
indices.recovery.concurrent_streams: 12
indices.breaker.fielddata.limit: 75%
indices.fielddata.cache.expire: 1w
indices.fielddata.cache.size: 60%
indices.store.throttle.max_bytes_per_sec: 150mb
http.cors.enabled: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment