Skip to content

Instantly share code, notes, and snippets.

@shizzard
Created August 13, 2013 15:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shizzard/9c6b2d3dd250d64d4063 to your computer and use it in GitHub Desktop.
Save shizzard/9c6b2d3dd250d64d4063 to your computer and use it in GitHub Desktop.
shizz@shizz-worktop:~/code/erlcache [cluster [2f62e3e] MOD] > make cluster_stop; make; make cluster
for n in node/node*; do $n/bin/erlcache stop; done
ok
ok
ok
rebar compile
==> edown (compile)
==> gen_leader (compile)
==> gproc (compile)
==> ranch (compile)
==> cowboy (compile)
==> jiffy (compile)
==> lager (compile)
==> poolboy (compile)
==> meck (compile)
==> protobuffs (compile)
==> basho_stats (compile)
==> riak_sysmon (compile)
==> mochiweb (compile)
==> webmachine (compile)
==> bear (compile)
==> folsom (compile)
==> riak_core (compile)
==> mimetypes (compile)
==> rel (compile)
==> erlcache (compile)
==> erlcache (compile)
mkdir -p node
(cd rel && rebar generate target_dir=../node/node1 overlay_vars=vars/node1.config)
==> rel (generate)
mkdir -p node
(cd rel && rebar generate target_dir=../node/node2 overlay_vars=vars/node2.config)
==> rel (generate)
mkdir -p node
(cd rel && rebar generate target_dir=../node/node3 overlay_vars=vars/node3.config)
==> rel (generate)
for n in node/node*; do $n/bin/erlcache start; done;
sleep 5;
for n in node/node2 node/node3; do $n/bin/erlcache-admin join erlcache1; done;
make: *** [cluster] Error 1
shizz@shizz-worktop:~/code/erlcache [cluster [2f62e3e] MOD] > make cluster_check
for n in node/node*; do $n/bin/erlcache-admin ringready; done
TRUE All nodes agree on the ring: ['erlcache1@shizz-worktop',
'erlcache2@shizz-worktop',
'erlcache3@shizz-worktop']
TRUE All nodes agree on the ring: ['erlcache1@shizz-worktop',
'erlcache2@shizz-worktop',
'erlcache3@shizz-worktop']
TRUE All nodes agree on the ring: ['erlcache1@shizz-worktop',
'erlcache2@shizz-worktop',
'erlcache3@shizz-worktop']
shizz@shizz-worktop:~/code/erlcache [cluster [2f62e3e] MOD] >
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment