es cat http://localhosts:9002/_cat/nodes?v

http://localhosts:9002/_cat/nodes?v&h=http,version,jdk,disk.total,disk.used,disk.avail,disk.used_percent,heap.current,heap.percent,heap.max,ram.current,ram.percent,ram.max,master

curl -XPUT "http://localhost:9002/_cluster/settings" -d'
{
"transient" : {
"cluster.routing.allocation.enable" : "none"
}
}'

curl -XPUT "http://localhost:9002/_cluster/settings" -d'
{
"transient" : {
"cluster.routing.allocation.enable" : "all"
}
}'

cluster.name: "xxx"
node.name: "nodxxx"
node.master: false
node.data: true
index.number_of_shards: 2
index.number_of_replicas: 3
discovery.zen.ping.timeout: 20s
discovery.zen.ping.unicast.hosts: ["xxxx","xxxxx"]
transport.tcp.port: 9003
nsport.tcp.port: 9003
http.port: 9002
path.data: /home/esdata
script.disable_dynamic: false
network.publish_host: ip
threadpool.bulk.type: fixed

上一篇:ECMAScrpt中文文档2021


下一篇:www请求用到的Unescape