Hi Eric,<div><br></div><div>Hope your problem is solved. can you please send me the steps ho you have set up your rabbitmq and how you are able to communicate between vms.<br><br>On Saturday, 9 March 2013 01:36:43 UTC+5:30, Eric Sender wrote:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">I got a reply from Emile which doesn't appear on this forum for some reason? But I have a follow up question.<div><br></div><div><br></div><div><b>Here is her reply:</b></div><div>-------</div><div><div style="font-family:-moz-fixed;font-size:14px" lang="x-western"><pre>Hi Eric,
On 08/03/13 07:24, Eric Sender wrote:
</pre><blockquote type="cite" style="color:#000000"><pre>I have RabbitMQ service working on both Guest OS's
</pre></blockquote><pre>You only need one broker. Both the RPC server and client must use the
same broker.
</pre><blockquote type="cite" style="color:#000000"><pre>How should I set it up properly to have RabbitMQ talking to separate VMs?
</pre></blockquote><pre>You must first make sure that the broker VM can accept connections. If
you see a routing error then that VM might be using NAT. As soon as you
have the VMs able to communicate the tutorial examples should work. You
should consult the hypervisor documentation on how to set up networking.
-Emile
------
<b>My follow up question:</b>
</pre></div></div><div>Is there a tutorial on how to set up the networking properly so RabbitMQ can talk outside of its VM? I know the basics of networking, but I'm not advanced enough for that level of it.</div><div><br></div><div>Also, when you say "broker" you mean "server" right? Only one of the VMs needs to run the rpc_server.py script?</div><div><br></div><div><br></div><div><br></div><div>Thanks,</div><div>Eric</div><div><br></div><div><br><br>On Thursday, March 7, 2013 11:24:26 PM UTC-8, Eric Sender wrote:<blockquote class="gmail_quote" style="margin:0;margin-left:0.8ex;border-left:1px #ccc solid;padding-left:1ex">I have been going through the RabbitMQ tutorial step by step and making sure I can do all the basics. Rabbit seems very interesting and promising, but I am having some issues getting RabbitMQ to talk to other machines.<div><br></div><div>My current set up is:</div><div><br></div><div>Host OS: Windows 7 --- not relevant here, I am only running RabbitMQ on the Guest OS's</div><div>Guest OS 1 (VMWare Player): CentOS 6.3</div><div>Guest OS 2 (VirtualBox): CentOS 6.3</div><div><br></div><div>I have RabbitMQ service working on both Guest OS's and I have Guest OS 1 running rpc_server.py and Guest OS 2 running rpc_client.py. </div><div><br></div><div>But I am unsure how to get those separate VMs talking to each other with the rpc_server.py.</div><div><br></div><div>I have tried editing the following line in rpc_client.py</div><div><br></div><div><div><font face="courier new, monospace">Line 7: self.connection = pika.BlockingConnection(pika.<wbr>ConnectionParameters(host='<span style="background-color:rgb(255,255,0)">192<wbr>.168.1.84</span>')) <font color="#274e13">#changed from 'localhost'</font></font></div></div><div><br></div><div>So that it reflects the IP address of the server VM, but it I get "socket.error: [Errno 113] No route to host"</div><div><br></div><div>How should I set it up properly to have RabbitMQ talking to separate VMs?</div><div><br></div><div><br></div><div>Thanks</div><div>Eric</div></blockquote></div></blockquote></div>