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

 


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM