discovery-multicast.asciidoc 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. [[mapper-murmur3]]
  2. === Multicast Discovery Plugin
  3. The Multicast Discovery plugin provides the ability to form a cluster using
  4. TCP/IP multicast messages.
  5. [[discovery-multicast-install]]
  6. [float]
  7. ==== Installation
  8. This plugin can be installed using the plugin manager:
  9. [source,sh]
  10. ----------------------------------------------------------------
  11. sudo bin/plugin install discovery-multicast
  12. ----------------------------------------------------------------
  13. The plugin must be installed on every node in the cluster, and each node must
  14. be restarted after installation.
  15. [[discovery-multicast-remove]]
  16. [float]
  17. ==== Removal
  18. The plugin can be removed with the following command:
  19. [source,sh]
  20. ----------------------------------------------------------------
  21. sudo bin/plugin remove discovery-multicast
  22. ----------------------------------------------------------------
  23. The node must be stopped before removing the plugin.
  24. [[discovery-multicast-usage]]
  25. ==== Configuring multicast discovery
  26. Multicast ping discovery of other nodes is done by sending one or more
  27. multicast requests which existing nodes will receive and
  28. respond to. It provides the following settings with the
  29. `discovery.zen.ping.multicast` prefix:
  30. [cols="<,<",options="header",]
  31. |=======================================================================
  32. |Setting |Description
  33. |`group` |The group address to use. Defaults to `224.2.2.4`.
  34. |`port` |The port to use. Defaults to `54328`.
  35. |`ttl` |The ttl of the multicast message. Defaults to `3`.
  36. |`address` |The address to bind to, defaults to `null` which means it
  37. will bind `network.bind_host`
  38. |`enabled` |Whether multicast ping discovery is enabled. Defaults to `false`.
  39. |=======================================================================