nodes.asciidoc 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. [[cat-nodes]]
  2. == Nodes
  3. The `nodes` command shows the cluster topology.
  4. [source,shell]
  5. --------------------------------------------------
  6. % curl 192.168.56.10:9200/_cat/nodes
  7. SP4H 4727 192.168.56.30 9300 1.0.0.Beta2 1.6.0_27 72.1gb 35.4 93.9mb 79 239.1mb 0.45 3.4h d m Boneyard
  8. _uhJ 5134 192.168.56.10 9300 1.0.0.Beta2 1.6.0_27 72.1gb 33.3 93.9mb 85 239.1mb 0.06 3.4h d * Athena
  9. HfDp 4562 192.168.56.20 9300 1.0.0.Beta2 1.6.0_27 72.2gb 74.5 93.9mb 83 239.1mb 0.12 3.4h d m Zarek
  10. --------------------------------------------------
  11. The first few columns tell you where your nodes live. For sanity it
  12. also tells you what version of ES and the JVM each one runs.
  13. [source,shell]
  14. --------------------------------------------------
  15. nodeId pid ip port es jdk
  16. u2PZ 4234 192.168.56.30 9300 1.0.0.Beta1 1.6.0_27
  17. URzf 5443 192.168.56.10 9300 1.0.0.Beta1 1.6.0_27
  18. ActN 3806 192.168.56.20 9300 1.0.0.Beta1 1.6.0_27
  19. --------------------------------------------------
  20. The next few give a picture of your heap, memory, and load.
  21. [source,shell]
  22. --------------------------------------------------
  23. diskAvail heapPercent heapMax ramPercent ramMax load
  24. 72.1gb 31.3 93.9mb 81 239.1mb 0.24
  25. 72.1gb 19.6 93.9mb 82 239.1mb 0.05
  26. 72.2gb 64.9 93.9mb 84 239.1mb 0.12
  27. --------------------------------------------------
  28. The last columns provide ancillary information that can often be
  29. useful when looking at the cluster as a whole, particularly large
  30. ones. How many master-eligible nodes do I have? How many client
  31. nodes? It looks like someone restarted a node recently; which one was
  32. it?
  33. [source,shell]
  34. --------------------------------------------------
  35. uptime data/client master name
  36. 3.5h d m Boneyard
  37. 3.5h d * Athena
  38. 3.5h d m Zarek
  39. --------------------------------------------------