note(es , 随机ip)
➜ ~ 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") ) ),