4 [[Email protected]:bin] #curl-xget http://10.0.2.15:9200/_cluster/health
5 shutting down the entire cluster
6 [[Email protected]:bin] #curl-xpost http://10.0.2.15:9200/_cluster/nodes/_shutdown?pretty
7 Closing a single node
8 [[Email Protected]:bin] #curl-xpost http://10.0.2.15:9200/_cluster/nodes/TbWXkW2dSpa_KWgDK3BeXg/_shutdown?pretty
9 Getting the node identifier
Ten Curl Http://192.168.33.10:9200/_cat/indices?v
11
Github.com/elasticsearch/elasticsearh-servicewrapper startup script
13
Long2ip (rand (0, Ip2long ("255.255.255.255")),
15
Curl Http://192.168.33.10:9200/_settings?pretty
17
Curl-xget Http://localhost:9200/_cluster/health?pretty
19 {
"Cluster_Name": "Myescluster",
"Status": "Red",
"Timed_out": false,
"Number_of_nodes": 20,
"Number_of_data_nodes": 16,
"Active_primary_shards": 2558,
"Active_shards": 5628,
"Relocating_shards": 0,
"Initializing_shards": 4,
"Unassigned_shards": 22
30}
Http://pear.php.net/go-pear.phar
32
Cat/proc/sys/net/netfilter/nf_conntrack_count
Tail-f/proc/net/nf_conntrack
Elasticsearch Common Commands