| Author |
Message |
|
| Guest |
Posted: Sun Dec 13, 2009 11:42 am |
|
|
|
Guest
|
|
| Back to top |
|
| Guest |
Posted: Sun Dec 13, 2009 2:35 pm |
|
|
|
Guest
|
On Sun, Dec 13, 2009 at 03:41:27AM -0800, bido wrote:
> i want to deploy a cluster of rabbitmq nodes, the thing is that i dont have
> dns server(no to plan to have one) and i want to use the ip address of
> machine to configure the cluster.
If you're using the latest default from mercurial, you can set the
nodename as an IP address. That *may* help you, but I must admit
I've not tested clustering using that.
Matthew
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Sun Dec 13, 2009 2:59 pm |
|
|
|
Guest
|
|
| Back to top |
|
| Guest |
Posted: Sun Dec 13, 2009 8:01 pm |
|
|
|
Guest
|
bido wrote:
> i want to deploy a cluster of rabbitmq nodes, the thing is that i dont have
> dns server(no to plan to have one) and i want to use the ip address of
> machine to configure the cluster.
>
> any ideas ?
>
> p.s: the cluster will be inside a LAN
you could simply add all the cluster machines to /etc/hosts. That should
be enough to keep Erlang happy.
Matthias.
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Sun Dec 13, 2009 9:42 pm |
|
|
|
Guest
|
|
| Back to top |
|
| Guest |
Posted: Mon Dec 14, 2009 9:30 am |
|
|
|
Guest
|
|
| Back to top |
|
| Guest |
Posted: Mon Dec 14, 2009 10:31 am |
|
|
|
Guest
|
On Mon, Dec 14, 2009 at 09:28:29AM +0000, Matthias Radestock wrote:
> bido wrote:
> > I am wondering why i cannot use rabbit@192.168.1.3 as nodename for example
> > ??
>
> To do that you need to change the various rabbit scripts to use "long
> names" instead of "short names" by replacing the "-sname" flag with "-name".
There are previous posts on this list how to do this. It's slightly
involved at the moment and not entirely straight forward. This would
indeed allow you to have a node name of rabbit@192.168.3.2 or whatever,
but as I've said, I've not tested this in a clustered setup and I'm not
100% sure it'll help. To start with, you'll need to edit the
rabbitmq-multi, rabbitmq-server and rabbitmqctl shell scripts (assuming
you're on a unix of some sort) and replace all occurrences of -sname
with -name. You'll also need to be using the latest on our default
branch otherwise you'll likely end up with rabbit.192.168.3.2@localhost
or somesuch.
It's quite likely that getting your DNS or hosts sorted out will be the
easier route.
Matthew
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Mon Dec 14, 2009 1:48 pm |
|
|
|
Guest
|
Hello all,
First of all, thank you all for you quick response it was really helpful
Here is the result of my test:
With the latest code from mercurial and using -name instead of -sname in all
the occurrences(rabbitmq-server/rabbitmqctl/rabbitmq-multi...) i can use
rabbit@ipadress as the node name and i can use that node name to join a
cluster.
Regards,
Abdelrahaman
Matthew Sackman wrote:
>
> On Mon, Dec 14, 2009 at 09:28:29AM +0000, Matthias Radestock wrote:
>> bido wrote:
>> > I am wondering why i cannot use rabbit@192.168.1.3 as nodename for
>> example
>> > ??
>>
>> To do that you need to change the various rabbit scripts to use "long
>> names" instead of "short names" by replacing the "-sname" flag with
>> "-name".
>
> There are previous posts on this list how to do this. It's slightly
> involved at the moment and not entirely straight forward. This would
> indeed allow you to have a node name of rabbit@192.168.3.2 or whatever,
> but as I've said, I've not tested this in a clustered setup and I'm not
> 100% sure it'll help. To start with, you'll need to edit the
> rabbitmq-multi, rabbitmq-server and rabbitmqctl shell scripts (assuming
> you're on a unix of some sort) and replace all occurrences of -sname
> with -name. You'll also need to be using the latest on our default
> branch otherwise you'll likely end up with rabbit.192.168.3.2@localhost
> or somesuch.
>
> It's quite likely that getting your DNS or hosts sorted out will be the
> easier route.
>
> Matthew
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss@lists.rabbitmq.com
> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>
--
View this message in context: http://old.nabble.com/clustering-rabbitmq-using-ip-addresses-tp26765353p26778000.html
Sent from the RabbitMQ mailing list archive at Nabble.com.
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Mon Dec 14, 2009 2:30 pm |
|
|
|
Guest
|
Hi,
On Mon, Dec 14, 2009 at 05:47:06AM -0800, bido wrote:
> First of all, thank you all for you quick response it was really helpful
> Here is the result of my test:
> With the latest code from mercurial and using -name instead of -sname in all
> the occurrences(rabbitmq-server/rabbitmqctl/rabbitmq-multi...) i can use
> rabbit@ipadress as the node name and i can use that node name to join a
> cluster.
That's good to hear. Thanks for letting us know, and I'm glad it works
for you.
Matthew
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Tue Dec 15, 2009 9:45 am |
|
|
|
Guest
|
|
| Back to top |
|
| Guest |
Posted: Tue Dec 15, 2009 10:28 am |
|
|
|
Guest
|
Hi,
On Tue, Dec 15, 2009 at 01:44:38AM -0800, bido wrote:
> Hi, one last question, do you know what is the version of the server this
> feature will be available ? wanna document this on my side.
Well it's unlikely that we'll switch to using -name over -sname. Using
-sname has its own advantages though as you've found doesn't work in all
cases, so it's likely you'll still have to do some editing, though we
could somehow work it into a config file.
The general fixes that allow you to use an IP address as the nodename,
when using -name will appear in the next stable release. That'll either
be 1.7.1 or 1.8. It's very likely 1.7.1 will happen, but there's a small
chance we'll jump right to 1.8. It depends on when various things get
through QA.
Matthew
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist |
|
|
| Back to top |
|
| Guest |
Posted: Tue Dec 15, 2009 10:35 am |
|
|
|
Guest
|
thnx
Matthew Sackman wrote:
>
> Hi,
>
> On Tue, Dec 15, 2009 at 01:44:38AM -0800, bido wrote:
>> Hi, one last question, do you know what is the version of the server this
>> feature will be available ? wanna document this on my side.
>
> Well it's unlikely that we'll switch to using -name over -sname. Using
> -sname has its own advantages though as you've found doesn't work in all
> cases, so it's likely you'll still have to do some editing, though we
> could somehow work it into a config file.
>
> The general fixes that allow you to use an IP address as the nodename,
> when using -name will appear in the next stable release. That'll either
> be 1.7.1 or 1.8. It's very likely 1.7.1 will happen, but there's a small
> chance we'll jump right to 1.8. It depends on when various things get
> through QA.
>
> Matthew
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss@lists.rabbitmq.com
> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>
>
--
View this message in context: http://old.nabble.com/clustering-rabbitmq-using-ip-addresses-tp26765353p26792682.html
Sent from the RabbitMQ mailing list archive at Nabble.com.
_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post received from mailinglist |
|
|
| Back to top |
|
|
|
All times are GMT
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
|