[Spread-users] multiple spread instances in same node

Rodrick Brown rodrick.brown at gmail.com
Fri Aug 15 12:49:37 EDT 2008


On Fri, Aug 15, 2008 at 12:40 PM, Chamikara Jayalath
<chamikaramj at gmail.com>wrote:

> Hi Micheal,
>
> Thanks for the reply.
> No, I configured them to be in different ports. Please have a look at the
> attached configuration file. I have 20 segments and 6 machines in each
> segment.
>
> Why do I need to give multiple IP addresses, can't I start the Daemons with
> the same IP and different ports.
>
> Chamikara
>


I'm running multiple spread daemons on my clusters for QA/Testing/Stage
etc... With no problems.


spread    3280  0.0  0.0  12408  1932 ?        S    Aug09   0:04
/opt/spread/sbin/spread -n nyeglx01a-eth1 -c
/opt/spread/etc/spread-4803.conf
spread    3286  0.0  0.0  13972  3392 ?        S    Aug09   0:07
/opt/spread/sbin/spread -n nyeglx01a-eth1 -c
/opt/spread/etc/spread-4903.conf
spread    3291  0.0  0.0  12404  1868 ?        S    Aug09   0:03
/opt/spread/sbin/spread -n nyeglx01a-eth1 -c
/opt/spread/etc/spread-5003.conf
spread    3296  0.0  0.0  12536  1956 ?        S    Aug09   0:04
/opt/spread/sbin/spread -n nyeglx01a-eth1 -c
/opt/spread/etc/spread-5103.conf

[svcstg at nyeglx01a etc]$ grep -i segment *.conf
spread-4803.conf:Spread_Segment 224.0.0.31:4803 {
spread-4903.conf:Spread_Segment 224.0.0.32:4903 {
spread-5003.conf:Spread_Segment 224.0.0.33:5003 {
spread-5103.conf:Spread_Segment 224.0.0.34:5103 {

[svcstg at nyeglx01a etc]$ netstat -g|grep 224
eth1            2      224.0.0.34
eth1            2      224.0.0.33
eth1            2      224.0.0.32
eth1            2      224.0.0.31



>
>
>
> On Fri, Aug 15, 2008 at 9:49 AM, Michael Peters <mpeters at plusthree.com>wrote:
>
>> Chamikara Jayalath wrote:
>>
>> /"DL_init_channel: bind error (98): Address already in use for port 10002,
>>> with sockaddr (0.0.0.0 <http://0.0.0.0>: 4647) probably already running
>>> "/
>>>
>>
>> Are you running them on the same port?
>>
>> Is it possible to run several Daemon instances in the same physical node ?
>>>
>>
>> I'm pretty new to spread (or at least coming back to it recently after a
>> hiatus) but I'm pretty sure you can multiple daemons on the same node as
>> long as they aren't on the same port. You might have to play around with
>> giving your machine multiple virtual IP addresses though.
>>
>> --
>> Michael Peters
>> Plus Three, LP
>>
>>
>
>
> --
> http://www.cs.purdue.edu/homes/cjayalat/
>
> _______________________________________________
> Spread-users mailing list
> Spread-users at lists.spread.org
> http://lists.spread.org/mailman/listinfo/spread-users
>
>


-- 
[ Rodrick R. Brown ]
http://www.rodrickbrown.com http://www.linkedin.com/in/rodrickbrown
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.spread.org/pipermail/spread-users/attachments/20080815/f1a416c9/attachment.html 


More information about the Spread-users mailing list