So, the way it should work is pretty simple: Run the command a la: ./basho_bench -N nodeA@1 <[email protected]>0.0.1.123 -C basho_bench_cookie <config> (It's key that the IP address be the external IP, and not the internal IP of the box, a la loopback)
In addition, nodeB must have the same version of Erlang installed as Node A. So, typically, you should install ESL Erlang (my recommendation is R16, https://www.erlang-solutions.com/downloads/download-erlang-otp) on both boxes, and compile your own Basho bench. -Thanks, Sargun! On Thu, Sep 10, 2015 at 9:15 AM, Jens V. Fischer <[email protected]> wrote: > Hi, > > I'm trying to use basho bench in distributed mode, that is to say to use > more than one machine for load generation. The documentation and the > "--join" param of the basho_bench seem to indicate that this should be > possible. But so far I failed to set it up. Let's say I want to start basho > bench on two nodes, lets call them Node A and B. What parameters to > basho_bench are needed on A and B respectively? > > I also saw the previous mail exchange on the topic (How to run bash bench > distributed, 18.5.2015). From there I gathered that I need to use something > like the following (for Node A): > > Start command: > ./basho_bench -N [email protected] -C basho_bench_cookie <config> > > Also I need in my config (on Node A): > {remote_nodes, [{<domain_name_remote_node>, 'nodeB'}]}. > {distribute_work, true}. > > Do I need to do anything on Node B? Like starting basho_bench with > "--join"? What would the command look like? What do I need to put into my > config on Node B? In what order do I have to execute the commands on A and > B? > > Additionally, as I am trying to use the distributed setup with a custom > driver: Does distributed mode only works with certain drivers, i.e. does > the driver need to support it? For what exactly is the passwordless SSH > needed? Because I don't have SSH access on the particular cluster, I do > however have access over TCP and are, for example, able to setup > distributed Erlang between the nodes. Any chance to get basho_bench working > in this setup? > > Any help is greatly appreciated. I'm glad to provide more information if > needed. > > Best regards > Jens > > _______________________________________________ > 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
