ElasticSearch Cluster Replication -
i have elasticsearch
cluster of 3 nodes. each node can become master , data node. elasticsearch
settings are:
index.number_of_shards: 8 index.number_of_replicas: 2 gateway.recover_after_nodes: 2 gateway.recover_after_time: 5m gateway.expected_nodes: 3 discovery.zen.minimum_master_nodes: 2 discovery.zen.ping.multicast.enabled: false discovery.zen.ping.unicast.hosts: ["host1", "host2:9200","host3:9200"] cluster , cluster health green. shard allocation node1 - 0,1,2,3,4,6 6 primary , other replicas node2 - 5,6,7 replicas node3 - 0,1,2,3,4,5,7 primary
this structure shows 1 replica copy of each shard split on nodes. mentioned 2 replicas in settings should show 2 replica copy of each shard.
am understanding wrong or missing in settings.
index.number_of_replicas
elasticsearch.yml
new indices. ones have need adjusted manually: put /_all/_settings { "index": { "number_of_replicas": 2 } }
also, please consider upgrading. es @ version 2.3.1, 0.90 old.
Comments
Post a Comment