Move from SSD to HDD


(Nobuo Miwa) #1

Hello,

I want to move specific index from SSD to HDD.

I set yml as followings,

node.type: ssd
(node1,node2)
node.type: hdd
(node3,node4)

And BI to SSD servers with followings,

curl -XPUT localhost:9200/_cluster/settings -d '{
"transient" : {
"cluster.routing.allocation.include._ip" : "192.168.xx.xx,192.168.xx.yy"
}
}'

  • 192.168.xx.xx is node1, 192.168.xx.yy is node2

After all data inserted into node1 and node2, I tried to move specific index to HDD from SSD as followings..

curl -XPUT http://localhost:9200/test-2014.08.22/_settings -d '{"index.routing.allocation.include.type": "hdd"}'

But index test-2014.08.22 did not move.
Is routing command wrong ?
How can I move the index to HDD node ?

Any hints welcome,
Nobuo Miwa


(system) #2