标签:
4 [root@localhost:bin]#curl -XGEt http://10.0.2.15:9200/_cluster/health
5 关闭整个集群
6 [root@localhost:bin]#curl -XPOST http://10.0.2.15:9200/_cluster/nodes/_shutdown?pretty
7 关闭单个节点
8 [root@localhost:bin]#curl -XPOST http://10.0.2.15:9200/_cluster/nodes/TbWXkW2dSpa_KWgDK3BeXg/_shutdown?pretty
9 获取节点标识符
10 curl http://192.168.33.10:9200/_cat/indices?v
11
12 github.com/elasticsearch/elasticsearh-servicewrapper 启动脚本
13
14 long2ip( rand(0, ip2long("255.255.255.255") ) ),
15
16 curl http://192.168.33.10:9200/_settings?pretty
17
18 curl -XGET http://localhost:9200/_cluster/health?pretty
19 {
20 "cluster_name" : "myescluster",
21 "status" : "red",
22 "timed_out" : false,
23 "number_of_nodes" : 20,
24 "number_of_data_nodes" : 16,
25 "active_primary_shards" : 2558,
26 "active_shards" : 5628,
27 "relocating_shards" : 0,
28 "initializing_shards" : 4,
29 "unassigned_shards" : 22
30 }••
31 http://pear.php.net/go-pear.phar
32
34 cat /proc/sys/net/netfilter/nf_conntrack_count
35 tail -f /proc/net/nf_conntrack
标签:
原文地址:http://www.cnblogs.com/shudai/p/5538586.html