Created
September 10, 2011 04:01
-
-
Save jtuple/1207902 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Assuming there are 2 nodes called riak@host1 and riak@host2. | |
Attach to riak console for riak@host1. Either 'riak-admin console' if the node is down, or 'riak-admin attach' if the node is already up and running. | |
Update the first line below with the right "other node" name, then copy/paste: | |
Other = 'riak@host2'. | |
net_adm:ping(Other). | |
riak_kv_console:join([atom_to_list(Other)]). | |
riak:join(Other). | |
rpc:call(Other, application, get_env, [riak_core, ring_creation_size]). | |
erlang:get_cookie(). | |
Gist/Pastebin the results. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
([email protected])1> Other = '[email protected]'.
'[email protected]'
([email protected])2> net_adm:ping(Other).
pong
([email protected])3> riak_kv_console:join([atom_to_list(Other)]).
Sent join request to [email protected]
ok
([email protected])4>
([email protected])4> riak:join(Other).
ok
([email protected])5>
([email protected])5>
([email protected])5> rpc:call(Other, application, get_env, [riak_core, ring_creation_size]).
{ok,256}
([email protected])6> erlang:get_cookie().
riak
([email protected])7>