Hi,
I have 2 data nodes, one as master (hot) and other as data (warm)
authmattix x.x.x. box_type hot
pukeko x.x.x.x box_type warm
I have set all the indexes to number_of_replicas= 0 on the master
Then I joined the cluster with the warm data node, but the problem is that all the indexes are replicated to my warm node, thus taking up space in the hard drive. Is this the expected behaviour or am I missing something?
No, I am not using ILM yet (that was my next step)
This is what I am seeing when I query the shards
GET /_cat/shards/filebeat-7.5.1*
filebeat-7.5.1-2020.05.06 0 p STARTED 360236 155.5mb 156.62.1.187 authmattix
filebeat-7.5.1-2020.05.05 0 p STARTED 119063 47.4mb 156.62.238.6 pukeko
But when try to relocate the index from the warm (pukeko) to the hot node (authmattix), I get the following error:
PUT /filebeat-7.5.1-2020.05.05
{
"settings": {
"index.routing.allocation.require.box_type" : "hot"
}
}
I am using logstash to ingest into elasticsearch and I've made some changes to incorporate ILM and seems to be workinf fine, but even my new indexes are replicating to my warm nodes. Currently the ILM has warm nodes disabled so not sure what else to look at. I tried to reallocate to the hots node and I've got the same error as my prvious post. running out of ideas
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.