Skip to content

Discovery: Zen Discovery Module #150

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
kimchy opened this issue Apr 25, 2010 · 1 comment
Closed

Discovery: Zen Discovery Module #150

kimchy opened this issue Apr 25, 2010 · 1 comment
Labels

Comments

@kimchy
Copy link
Member

kimchy commented Apr 25, 2010

An implementation of the discovery module built from the ground up to be optimized for elasticsearch. Supports both multicast and unicast discoveries with pluggable support (for simpler cloud integrations).

By default, the multicast discovery is enabled. Multicast settings:

# discovery.zen.ping.multicast.enabled: Is multicast discovery enabled. Defaults to `true`.
# discovery.zen.ping.multicast.address: The IP address to send the multicast packets on.
# discovery.zen.ping.multicast.port: The port to send the packets on. Defaults to `54328`.
# discovery.zen.ping.multicast.group: The multicast group address. Defaults to `224.2.2.4`.
# discovery.zen.ping.multicast.ttl: The packet time to live. Defaults to `3`.

The unicast discovery allows to perform discovery when multicast is disabled. Settings:

# discovery.zen.ping.unicast.hosts: Array of hosts to ping. By setting it, it will automatically enabled multicast.

Sample unicast setting:

discovery:
  zen.ping:
    multicast.enabled: false
    unicast.hosts:
      - 192.168.10.21:9300
      - 192.168.10.22:9301
      - 192.168.10.23:9302
      - 192.168.10.24:9303

There are more global settings that can be set, including:

# discovery.zen.master: Should this node be allowed to be a master in the cluster. Defaults to `true`. Note, when `node.client` is set to `true`, it will automatically set this setting to `false`.
# discovery.zen.initial_ping_timeout: The initial ping timeout to wait for discovery of other nodes. Defaults to `3s`.
@kimchy
Copy link
Member Author

kimchy commented Apr 25, 2010

implemented.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant