Commit 91a1d410 authored by 段英荣's avatar 段英荣

modify

parent 018a6c6e
#!/bin/bash
curl -v $(hostname):9200/_cluster/settings -XPUT -d'{
curl -v $(hostname):9200/_cluster/settings -XPUT -H "Content-Type: application/json" -d'{
"transient" : {
"cluster.routing.allocation.enable" : "none"
}
......
#!/bin/bash
curl -v $(hostname):9200/_cluster/settings -XPUT -d'{
curl -v $(hostname):9200/_cluster/settings -XPUT -H "Content-Type: application/json" -d'{
"transient" : {
"cluster.routing.allocation.enable" : "all"
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment