Skip to content

Instantly share code, notes, and snippets.

@kakaraft
Created December 18, 2013 10:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kakaraft/8020408 to your computer and use it in GitHub Desktop.
Save kakaraft/8020408 to your computer and use it in GitHub Desktop.
Configurations for ES cluster
cluster.name: es-cluster
node.name: "xes20.sys2"
node.master: false
node.data: true
index.number_of_shards: 20
index.refresh_interval: 5s
index.store.compress.stored: true
index.store.compress.tv : true
index.number_of_replicas: 2
index.routing.allocation.total_shards_per_node: 4
indices.fielddata.cache.size: 70%
indices.cache.filter.size: 20%
index.merge.policy.max_merged_segment: 200gb
indices.memory.index_buffer_size: 3gb
path.data: /data/sys2/elasticsearch/data
path.work: /data/sys2/elasticsearch/work
path.logs: /logs/sys2/elasticsearch
bootstrap.mlockall: true
http.port: 10200
http.type: com.sonian.elasticsearch.http.jetty.JettyHttpServerTransportModule
sonian.elasticsearch.http.jetty:
config: jetty.xml,jetty-hash-auth.xml,jetty-restrict-all.xml
#,jetty-restrict-writes.xml
discovery:
type: com.sonian.elasticsearch.zookeeper.discovery.ZooKeeperDiscoveryModule
sonian.elasticsearch.zookeeper:
settings.enabled: true
client.host: 10.98.213.106:10013,10.98.213.107:10013,10.98.213.108:10013
discovery.state_publishing.enabled: true
gateway.recover_after_nodes: 24
gateway.recover_after_time: 3m
gateway.expected_nodes: 29
cluster.routing.allocation.node_initial_primaries_recoveries: 10
cluster.routing.allocation.node_concurrent_recoveries: 10
indices.recovery.concurrent_streams: 10
thrift.frame: 30mb
cluster.name: es-cluster
node.name: "xcol01.sys2"
node.master: true
node.data: false
index.routing.allocation.total_shards_per_node: 4
index.number_of_shards: 20
index.refresh_interval: 5s
index.store.compress.stored: true
index.store.compress.tv : true
index.number_of_replicas: 2
indices.fielddata.cache.size: 70%
indices.cache.filter.size: 20%
index.merge.policy.max_merged_segment: 200gb
indices.memory.index_buffer_size: 3gb
path.data: /data/sys2/elasticsearch/data
path.work: /data/sys2/elasticsearch/work
path.logs: /logs/sys2/elasticsearch
bootstrap.mlockall: true
http.port: 10200
http.type: com.sonian.elasticsearch.http.jetty.JettyHttpServerTransportModule
sonian.elasticsearch.http.jetty:
config: jetty.xml,jetty-hash-auth.xml,jetty-restrict-all.xml
#,jetty-restrict-writes.xml
discovery:
type: com.sonian.elasticsearch.zookeeper.discovery.ZooKeeperDiscoveryModule
sonian.elasticsearch.zookeeper:
settings.enabled: true
client.host: 10.98.213.106:10013,10.98.213.107:10013,10.98.213.108:10013
discovery.state_publishing.enabled: true
gateway.recover_after_nodes: 24
gateway.recover_after_time: 3m
gateway.expected_nodes: 29
cluster.routing.allocation.node_initial_primaries_recoveries: 10
cluster.routing.allocation.node_concurrent_recoveries: 10
indices.recovery.concurrent_streams: 10
thrift.frame: 30mb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment