In order to run multiple nodes on a host, and consequently multiple clusters, you will need to edit the vm.args and app.config for each embedded node (an embedded node being a copy of the rel/riak directory you built). For each of these nodes you will need to change the "-name [email protected]" setting in etc/vm.args to something like "-name [email protected]" where X is the node number. In the etc/app.config you will need to change all of the port settings (handoff_port, pb_port, and web_port) so that they are unique to each node.
This will allow you to start multiple nodes. Once a node is running you can use the "riak-admin join" to have it join another node and form a cluster. Thanks, Grant Schofield Developer Advocate Basho Technologies On May 12, 2010, at 4:43 PM, Sami Samhuri wrote: > Hi all, > > Trying to configure 2 clusters on the same machine. The 2nd node I fire up > quits after a second or two. Is this possible, and I'm just missing some > configuration? Or should I be spinning up VMs for additional clusters? > > tia, > Sami > _______________________________________________ > riak-users mailing list > [email protected] > http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com _______________________________________________ riak-users mailing list [email protected] http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
