View Source
Cloister
The helper application to manage cluster of nodes.
Installation
- Add the dependency to your
mix.exsfile:
def deps do
[
{:cloister, "~> 0.5"},
...
]
end- Make sure both
:cloisterand:libringapplications are configured properly in yourconfig.exs
config :cloister,
sentry: ~w|node1@127.0.0.1 node2@127.0.0.1|a,
consensus: 2- Make sure
:cloisterapplication is started. This does not require any action unless you have the list of applications specified explicitly. If so, add:cloisterthere.
Changelog
0.18.0[BREAK]sentryis always properly set up,Listener.on_state_change/30.17.0[TST] shortnames, proper testing withenfiladex0.16.0[EXP] experimentalmixtasks to test/run stuff in a cloister0.15.0[BUG] fixedCloister.multicast/multicall0.14.0named isolatedFinitomatasupervision tree0.13.0[BUG] fixedCloister.state/0adding groups (credits: @anthony-gonzalez-kantox)0.12.0complete rewrite of cluster assembly based onFinitomata0.10.0Cloister.siblings!/0andCloister.consensus/0, better tests0.9.0Cloister.multiapply/4to wrap:rpc.multicall/40.7.0magic? :: boolean()andloopback? :: boolean()config params to avoid cluster building in tests0.6.0support many hashrings within the same cloister0.2.0useApplication.c:start_phase/3callback to postpone application start until the consensus is reached