Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ecf-dev] avoid broadcast


Hi Scott/Markus 
     My consumer/host doesnt have any configuration as such for the  ECF server ips and ports.Currently it is happening through jmdns discovery,through multicasting....I want to specify 4 ips("192.168.1.1/2/3") to use while multicasting by jmdns.
Do you know which part of jmdns code is doing this multicast operation?i guess there i can make use of some configuration file  
How this -Dnet.mdns.interface configuration is geting used in discovery?
  
I am not able to find enough information of zeroconf, xmlfile-based discovery, service locator protocol (slp), and apache zookeeper .For my situation shall i switch to some other discovery provider where there is no broadcast/multicast and where i can provide ip range to track for discovery?

Thanks and Regards
Abhisek



On Sat, May 22, 2010 at 10:35 AM, Scott Lewis <slewis@xxxxxxxxxxxxx> wrote:
Hi Abhisek,


abhisek saikia wrote:
Hi Scott
  Could you please let me know ,which part of code is doing this?

I'm not sure what you are referring to as 'this'.  There are several distinct things going on here...i.e. discovery, distribution, etc.  Just for reference, here's a diagram showing the overall architecture:

http://wiki.eclipse.org/OSGi_4.2_Remote_Services_and_ECF

If you are referring to discovery specifically...for zeroconf/jmdns it is using multicast on the lan...you can see some explanation/description of zeroconf here:  www.zeroconf.org

There must be  some piece of code which keeps on trying to communicate within a uri and port range for all providers.Am i wrong?a
It depends upon the discovery provider...i.e. zeroconf, slp, apache zookeeper...each does discovery in it's own way/with own protocol...and with own rules about time to live, whether using multicast, udb, or tcp...what ports being used, etc.  So that's why I think it would be useful to have some documentation for each discovery provider...i.e. to specify what can be configured about each provider...and giving examples about how to do so.

Thanks,

Scott




Thanks and Regards

Abhisek


On Sat, May 22, 2010 at 7:21 AM, Samolisov Pavel <samolisov@xxxxxxxxx <mailto:samolisov@xxxxxxxxx>> wrote:

   -----BEGIN PGP SIGNED MESSAGE-----
   Hash: SHA1

   Hello Scott,

   I mean documentation about currents provider-mechanisms work, i.e. how
   works slp, zeroconf, zookeeper and others. May be just links on i't
   official documentations.

   Thanks.

   Scott Lewis пишет:
   > Hi Pavel,
   >
   > My intention with this suggestion was for details specifically on
   > discovery providers.  Is this what you mean?
   > Admittedly there are docs needed in a number of other areas...e.g. a
   > tutorial for creating providers (in general), as well as plenty
   of other
   > things (e.g. overview of osgi remote services, extending/customizing
   > with container finders and listeners to the osgi discovery and
   > distribution process, rest and soap provider creation, etc).
   >
   > Sadly, I'm not sure how much I'm going to be able to do myself
   on such
   > things over the next few weeks (i.e. before Helios is complete).
    I will
   > try to do some of these, but I'm fairly occupied right now with
   paying
   > but unrelated work...so I'm a little limited.
   >
   > Scott
   >
   >
   > Samolisov Pavel wrote:
   > Hi all
   >
   > I think this documentation must include some words about how
   providers
   > work. May links on official documentation or another
   information. How do
   > you think?
   >
   > Scott Lewis ?8H5B:
   >
   >>>> Hi Abhisek, Markus, and all,
   >>>>
   >>>> I would like to jump in here and make the following
   suggestion :)  If
   >>>> others think this is a good idea, then someone can open a
   documentation
   >>>> enhancement request/bug.
   >>>>
   >>>> For each of the discovery providers that ECF now supports
   (zeroconf,
   >>>> xmlfile-based discovery, service locator protocol (slp), and
   apache
   >>>> zookeeper), I think we should put together a wiki page(s)
   that describes
   >>>> how the discovery can be configured...for lans, wans, etc.
   >>>> For example, what are the system properties that the
   discovery provider
   >>>> understands/can respond to, and how it affects the discovery
   >>>> communication?  As well, we should have in one reference
   location a
   >>>> description of the ECF OSGi service properties that can be
   used to
   >>>> customize the discovery for any/all providers (e.g. the
   service uri, the
   >>>> service name, etc...I'll bet you didn't know these things
   could be
   >>>> customized, but they can :-).
   >>>>
   >>>> I expect that questions like Abhisek's about configuring the
   various
   >>>> discovery providers (in particular) will be fairly common,
   and so I
   >>>> believe it makes sense to get out in front of this sort of
   request prior
   >>>> to the release.
   >>>>
   >>>> I can't currently commit to doing this myself right away...so
   apologize
   >>>> for suggesting work that must be done by others.  But I
   suspect that if
   >>>> we all contribute to coordinate our work on this
   documentation, then it
   >>>> can/will go pretty quickly and easily...and be very useful
   for any/all
   >>>> consumers of ECF remote services.
   >>>>
   >>>> Any takers?  How would the discovery contributors in the ECF
   community
   >>>> like to coordinate work on this?  I think that Markus, as the
   discovery
   >>>> API lead should probably decide how/whether/when to do this
   and how to
   >>>> get consistency in format (e.g. template?), so I'll leave
   those choices
   >>>> to him.
   >>>>
   >>>> Make sense?
   >>>>
   >>>> Thanks,
   >>>>
   >>>> Scott
   >>>>
   >>>>
   >>>> abhisek saikia wrote:
   >>>>
   >>>>> Hi Macus
   >>>>>    Can i configure a set of ips only to be discovered.?
   >>>>>
   >>>>> Thanks and Regards
   >>>>> Abhisek
   >>>>>
   >>>>> On Fri, May 21, 2010 at 1:59 PM, Markus Alexander Kuppe
   >>>>> <ecf-dev_eclipse.org <http://ecf-dev_eclipse.org>
   <http://ecf-dev_eclipse.org>@lemmster.de <http://lemmster.de>
   >>>>> <http://lemmster.de>> wrote:
   >>>>>
   >>>>>     On 05/21/2010 10:12 AM, abhisek saikia wrote:
   >>>>>     > Hi
   >>>>>     >   I am using ECF generic and jmdns discovery.How can i
   avoid
   >>>>>     broadcast
   >>>>>     > of remote service.Is there any way to specify ip and port
   >>>>> range to
   >>>>>     > broadcast?
   >>>>>
   >>>>>     Hi Abhisek,
   >>>>>
   >>>>>     JmDNS does not use broadcast but multicast and the spec
   defines the
   >>>>>     multicast group "224.0.0.251" and port "5353"
   respectively. If
   >>>>> needed,
   >>>>>     the port can be tweaked by "net.mdns.port". If you also
   need to
   >>>>> adjust
   >>>>>     the multicast group, you will have to file an
   enhancement request
   >>>>>     upstream [0].
   >>>>>     Btw. if you want to disable discovery completely, just
   undeploy the
   >>>>>     jmdns provider.
   >>>>>
   >>>>>     Markus
   >>>>>
   >>>>>     [0] http://jmdns.sourceforge.net/
   >>>>>     _______________________________________________
   >>>>>     ecf-dev mailing list
   >>>>>     ecf-dev@xxxxxxxxxxx <mailto:ecf-dev@xxxxxxxxxxx>
   <mailto:ecf-dev@xxxxxxxxxxx <mailto:ecf-dev@xxxxxxxxxxx>>

   >>>>>     https://dev.eclipse.org/mailman/listinfo/ecf-dev
   >>>>>
   >>>>>
   >>>>>
   ------------------------------------------------------------------------
   >>>>>
   >>>>>
   >>>>> _______________________________________________
   >>>>> ecf-dev mailing list
   >>>>> ecf-dev@xxxxxxxxxxx <mailto:ecf-dev@xxxxxxxxxxx>
   >>>>> https://dev.eclipse.org/mailman/listinfo/ecf-dev
   >>>>>
   >>>> _______________________________________________
   >>>> ecf-dev mailing list
   >>>> ecf-dev@xxxxxxxxxxx <mailto:ecf-dev@xxxxxxxxxxx>
   >>>> https://dev.eclipse.org/mailman/listinfo/ecf-dev
   >>>>
   >
   >
   _______________________________________________
   ecf-dev mailing list
   ecf-dev@xxxxxxxxxxx <mailto:ecf-dev@xxxxxxxxxxx>
   https://dev.eclipse.org/mailman/listinfo/ecf-dev

   - --
   Thanks
   Pavel Samolisov, PhD Student

   Blog: http://samolisov.blogspot.com
   Twitter: http://twitter.com/samolisov
   XMPP/Jabber <http://twitter.com/samolisov%0AXMPP/Jabber>:
   samolisov@xxxxxxxxx <mailto:samolisov@xxxxxxxxx>

   -----BEGIN PGP SIGNATURE-----
   Version: GnuPG v2.0.11 (GNU/Linux)
   Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

   iEYEARECAAYFAkv3OJoACgkQ20T0Vos3rqCoVgCfVPSoYQFkSEAptiqcM/8ZceSJ
   5NYAn0cPx+FGlmp7cVYbW7fGUvIsUaj0
   =xjT0
   -----END PGP SIGNATURE-----
   _______________________________________________
   ecf-dev mailing list
   ecf-dev@xxxxxxxxxxx <mailto:ecf-dev@xxxxxxxxxxx>
   https://dev.eclipse.org/mailman/listinfo/ecf-dev


------------------------------------------------------------------------

_______________________________________________
ecf-dev mailing list
ecf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ecf-dev
 

_______________________________________________
ecf-dev mailing list
ecf-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/ecf-dev


Back to the top