您的位置:首页 > 其它

note(es , 随机ip)

2016-01-21 21:08 344 查看
➜ ~ 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") ) ),
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: