[Spread-users] Communication between daemons

Sheetal Agarwal sheetal2 at cs.umbc.edu
Thu Jun 30 16:25:25 EDT 2005


Hi


Here is the beginning of the log message
Machine 1
======
Conf_init: using file: /usr/local/etc/spread.conf
Successfully configured Segment 0 [192.168.1.255:4803] with 2 procs:
                   dhruva.cs.umbc.edu: 192.168.1.20
             tpod.cs.umbc.edu: 192.168.1.21
Finished configuration file.
Conf_init: My name:  dhruva.cs.umbc.edu, id: 192.168.1.20, port: 4803
Membership id is ( -1062731500, 1120151194)
--------------------
Configuration at scs_server is:
Num Segments 1
         1       192.168.1.255     4803
                 dhruva.cs.umbc.edu             192.168.1.20
====================

Machine 2
=============
Conf_init: using file: /usr/local/etc/spread.conf
Successfully configured Segment 0 [192.168.1.255:4803] with 2 procs:
                   dhruva.cs.umbc.edu: 192.168.1.20
             tpod.cs.umbc.edu: 192.168.1.21
Finished configuration file.
Conf_init: My name: tpod.cs.umbc.edu, id: 192.168.1.21, port: 4803
Membership id is ( -1062731499, 1120151211)
--------------------
Configuration at scs_server is:
Num Segments 1
         1       192.168.1.255     4803
                  tpod.cs.umbc.edu              192.168.1.21
====================

The /etc/hosts/ file on both servers have an entry for the other server.

Attached is the spread.conf file i am using.


Thanks
Sheetal

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 1355 bytes
Desc: not available
Url : http://lists.spread.org/pipermail/spread-users/attachments/20050630/c7a8feba/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: spread.conf
Type: application/octet-stream
Size: 7542 bytes
Desc: not available
Url : http://lists.spread.org/pipermail/spread-users/attachments/20050630/c7a8feba/attachment.obj 
-------------- next part --------------



On Jun 30, 2005, at 12:58 AM, Yuval Lifshitz wrote:

>
> Look if they print their own configuration, and if both spread 
> processes are running. If not, than?check?the /etc/hosts file on you 
> machine, or execute spread with -n option. It would be helpful to post 
> the log - just the beginning of it.
>
> Yuval.
>
> ?
>
> >No...they dont output each others configuration.
>
> >--Sheetal
>
> >On Jun 29, 2005, at 8:52 PM, Ryan Caudy wrote:
>
> > I meant the daemons. Do they output "configuration at daemon..." and
>
> > include one another in the lists?
>
> >
>
> > --Ryan
>
> >
>
> > On 6/29/05, Sheetal Agarwal <sheetal2 at cs.umbc.edu> wrote:
>
> >> The spread.conf on both the machines have the same configuration. I
>
> >> tried using the spuser program to check if the daemons can
>
> >> communicate.
>
> >> But they do not
>
> >>
>
> >> Sheetal
>
> >>
>
> >> On Jun 29, 2005, at 7:17 PM, Ryan Caudy wrote:
>
> >>
>
> >>> No, there shouldn't be. Do the daemons communicate, and install a
>
> >>> configuration that includes both of them?
>
> >>>
>
> >>> --Ryan
>
> >>>
>
> >>> On 6/29/05, Sheetal Agarwal <sheetal2 at cs.umbc.edu> wrote:
>
> >>>> Hi
>
> >>>>
>
> >>>> I am a new user of the spread toolkit. I am developing an
>
> >>>> application that uses spread for messaging. I am trying to test 
> the
>
> >>>> communication between two programs running to two different
>
> >>>> machines. These machines are not on the same subnet. I have
>
> >>>> configured the spread.conf as follows.
>
> >>>>
>
> >>>> Spread_Segment 130.85.168.255:4803 {
>
> >>>> machine1 130.85.168.104
>
> >>>> //static ip address
>
> >>>> }
>
> >>>>
>
> >>>>
>
> >>>> Spread_Segment 130.85.93.255:4803 {
>
> >>>> machine2 130.85.93.29 // DHCP
>
> >>>> address
>
> >>>> }
>
> >>>>
>
> >>>> When i run the spread daemons on both the machines, i am not being
>
> >>>> able to send messages between the applications that are
>
> >>>> communicating between the daemons.
>
> >>>>
>
> >>>> Is there some other configuration setting that we need to do?
>
> >>>>
>
> >>>> Thanks
>
> >>>> Sheetal
>
> >>>>
>
> >>>>
>
> >>>> _______________________________________________
>
> >>>> Spread-users mailing list
>
> >>>> Spread-users at lists.spread.org
>
> >>>> http://lists.spread.org/mailman/listinfo/spread-users
>
>
> >>>>
>
> >>>
>
> >>
>
> >>
>
> >
>
> ?
>
> _______________________________________________
>
> Spread-users mailing list
>
> Spread-users at lists.spread.org
>
> http://lists.spread.org/mailman/listinfo/spread-users
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam? Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com_______________________________________________
> Spread-users mailing list
> Spread-users at lists.spread.org
> http://lists.spread.org/mailman/listinfo/spread-users
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: text/enriched
Size: 4110 bytes
Desc: not available
Url : http://lists.spread.org/pipermail/spread-users/attachments/20050630/c7a8feba/attachment-0001.bin 


More information about the Spread-users mailing list