首页 > 其他 > 详细

note(es , 随机ip)

时间:2016-01-21 23:55:02      阅读:316      评论:0      收藏:0      [点我收藏+]

? ~ sudo apt-get install software-center 
? ~ sudo apt-get install ubuntu-mate-core ubuntu-mate-desktop
[root@localhost:bin]#curl -XGEt http://10.0.2.15:9200/_cluster/health
关闭整个集群
[root@localhost:bin]#curl -XPOST http://10.0.2.15:9200/_cluster/nodes/_shutdown?pretty
关闭单个节点
[root@localhost:bin]#curl -XPOST http://10.0.2.15:9200/_cluster/nodes/TbWXkW2dSpa_KWgDK3BeXg/_shutdown?pretty
获取节点标识符
github.com/elasticsearch/elasticsearh-servicewrapper 启动脚本

 

随机ip地址
long2ip( rand(0, ip2long("255.255.255.255") ) ),

note(es , 随机ip)

原文:http://www.cnblogs.com/shudai/p/5149604.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!