Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 655 Bytes

README.md

File metadata and controls

28 lines (23 loc) · 655 Bytes

werld

An OTP application for helping discover Erlang nodes

Build

$ rebar3 compile

Configuration

sys.config:

{werld, [
    %% Enables automatic discovery
    {automatically_discover_cluster, true},
    %% Which methods to use to learn about nodes
    {discovery_methods, [net_adm_world, inet_res_nslookup]},
    %% The CNAME record to use when looking up with inet_res_nslookup
    {discovery_cname, "foo.bar.com"},
    %% The name of the release running on the discovered nodes
    {expected_release_name, "foo"},
    %% The time in-between checking for distributed nodes
    {discover_interval, 60000}
]}