hey there,
I was trying to use ILM policies with a hot/warm/cold infrastructure. My indices are not data stream so I have to bootstrap the index with an alias.
Is there a way to assign it at the _hot tier nodes at the beginning? When I create the index test-00001 it is distributed over all the nodes.
In this moment I am using this scenario:
node1: [master, data_hot, data_content]
node2: [master, data_warm, data_content]
node3: [master, data_cold, data_content]
Is there a way to assign it at the _hot tier nodes at the beginning? When I create the index test-00001 it is distributed over all the nodes.
As you're not using data streams, the new test-* indices will get allocated to the content tier, the nodes configured with the data_content role - which in your configuration are all the nodes in your cluster.
You could configure only the data_hot node to also contain the data_content node role.
Or to opt out of the default tier-based allocation you can explicitly set index.routing.allocation.include._tier_preference: data_hot in your index template.
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.