My current setup is with 10 nodes with ample space on spinning disks, and
20 nodes with smaller SSD disks.
I would like my workflow to be that all data is initially indexed on the
SSD nodes, after 10 days is reallocated to the spinning disks, after a
further 10 days the index is closed, and after a further 70 days the
indexes are deleted.
The curator is great for moving them to the spinning disks, but what I am
not sure about is how to define that initially all shards (primary and
replica) of an index should be created on the ssd nodes.
The spinning disk nodes are tagged:
node.disk_type: spinning
The ssd nodes are tagged
node.disk_type: ssd
To transfer after 10 days to spinning:
/usr/local/bin/curator --host es101 allocation --older-than 9 --rule
disk_type=spinning
But how do I define that the default location for all new shards should be
on disk_type:ssd ?
Check what curator is doing with your index. Its probably fiddling with
index.routing.allocation.include and index.routing.allocation.exclude.
When you create the new index just set it pick up the ssd tag. You'll have
to make sure that curator knows how to strip that tag when the time comes
to move it to the spinning disks.
Nik
On Fri, Dec 19, 2014 at 3:36 AM, Robin Clarke robin13@gmail.com wrote:
My current setup is with 10 nodes with ample space on spinning disks, and
20 nodes with smaller SSD disks.
I would like my workflow to be that all data is initially indexed on the
SSD nodes, after 10 days is reallocated to the spinning disks, after a
further 10 days the index is closed, and after a further 70 days the
indexes are deleted.
The curator is great for moving them to the spinning disks, but what I am
not sure about is how to define that initially all shards (primary and
replica) of an index should be created on the ssd nodes.
The spinning disk nodes are tagged:
node.disk_type: spinning
The ssd nodes are tagged
node.disk_type: ssd
To transfer after 10 days to spinning:
/usr/local/bin/curator --host es101 allocation --older-than 9 --rule
disk_type=spinning
But how do I define that the default location for all new shards should be
on disk_type:ssd ?
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.