JackHQ

0 notes

Adding Riak Node to a Cluster

Riak Clusters

First install erlang and riak

http://wiki.basho.com/Installation-and-Setup.html


When setting up a new node for the riak cluster there are a couple of things you need to do before you start your node.

in the rel/riak/etc directory

Modify app.config to contain servers ip address or domain name

Change the http node to point to this server ip address.

Modify vm.args

Change the -name riak@[current ip]

You are now ready to add the node to the cluster.

./bin/riak start

./bin/riak-admin join riak@[one of your nodes on the cluster]

If you started your node before implementing these changes you

may need to reip your node.

bin/riak-admin reip riak@127.0.0.1 riak@192.168.1.10