libcluster v2.3.0 Cluster.Strategy.ErlangHosts
This clustering strategy relies on Erlang’s built-in distribution protocol by using a .hosts.erlang file (as used by the :net_adm module)
Please see http://erlang.org/doc/man/net_adm.html for more details.
You can have libcluster automatically connect nodes on startup for you by configuring the strategy like below:
config :libcluster, topologies: [
erlang_hosts_example: [
strategy: Elixir.Cluster.Strategy.ErlangHosts]]
Link to this section Summary
Functions
Callback implementation for Cluster.Strategy.start_link/1
Link to this section Functions
Link to this function
start_link(opts)
Callback implementation for Cluster.Strategy.start_link/1
.