Advertisement
Guest User

Untitled

a guest
Dec 9th, 2016
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.65 KB | None | 0 0
  1. config => {
  2. 'node.name' => $::fqdn,
  3. 'cluster.name' => 'storesquare_production',
  4. 'discovery.zen.minimum_master_nodes' => 3,
  5. 'discovery.zen.ping.multicast' => false,
  6. 'discovery.zen.ping.unicast.hosts' => [ip1,ip2,ip3],
  7. 'gateway.recover_after_nodes' => 2,
  8. 'gateway.expected_nodes' => 3,
  9. 'gateway.recover_after_time' => '15m',
  10. 'index.number_of_replicas' => 1,
  11. 'index.number_of_shards' => 5,
  12. 'network.host' => $::ipaddress,
  13. 'bootstrap.mlockall' => 'true', # lock memory, don't swap. We should also put this in /etc/elasticsearch/default: MAX_LOCKED_MEMORY=unlimited
  14. },
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement