I have 3 node cluster. had a configuration in elastic search yml as below
index.number_of_replicas: 2 (1 is primary, 2 replica so totally 3 node cluster)
index.number_of_shards: 3 (3 node cluster)
But Still my cluster is in RED, with unassigned index
sure will take look..
How the replica and the shards are configured.
I thought replication is to all the cluster and shards also in all the cluster.
both should match the number of node. is this correct understanding
ES will allocate the shards and replicas appropriately and according based on the number of nodes you have in the cluster. If it can distribute because you have more nodes it will do so.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.