gomd-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gomd-devel] <GOMD> preliminar gomd autodiscovery -> works!


From: Matthias Rechenburg
Subject: Re: [gomd-devel] <GOMD> preliminar gomd autodiscovery -> works!
Date: Fri, 1 Aug 2003 09:18:19 +0200
User-agent: KMail/1.4.3

Ciao JP,

On Donnerstag 31 Juli 2003 23:06, Gian Paolo Ghilardi wrote:
> Hi all.
>
> Here we go.
> Preliminar gomd autodiscovery system _do_ work!

:)

> See new gomdSearcher class (file gomdSearcher.h/gomdSearcher.cpp).
>
> CVS code was updated.
>
> Now when you execute gomd,you'll see it searching for other gomd daemons on
> "local" subnet (something like a ping).
> It will search daemon listening on port 9889 (gomd std port).

will it contact all nodes from the local subnet or just the nodes from
the nodelist ?

>
> 1)Obviously this search does _not_ interfere with the main app (try
> contacting the daemon with telnet). :)
> 2)Obviously the daemon will find itself (it will start and close the conn
> to itself) -> this is a proof of concept/force! ;)
> 3)Obviously now the daemon _actually_ doesn't save/use the list of known
> remote gomds ;)
>
> Next step will be
> - using this new infos

yep

> - providing a minimal cache for known gomds
> - implement something like a "zone transfer" (used by DNSes) from a gomd
> daemon to another one (to minimize network overhead).

cool features .... but do we really need this if we just use the nodelist
as the "list of known gomds" ?  (maybe i am missing something)


>
> I need a lot of betatesting.
> Please help me! :)

;) ok, will try to test it tomorrow (out today)
Many thanks JP!

>
> CU.
>
> PS: Yeah !!! :)
>
> <rejected>

cheers,

Matt

>
> << CVS NOTES >>
>
> 1)GOMD (DAEMON)
>
> IN connHandler.h/connHandler.cpp
> (+) added remote-request support in analyzeOption() -> new placeholder for
> remote options (REMOTE_OR_LOCAL_NODE)
> (+) added better socket errors handling
>
> IN gomd2gomd.h/gomd2gomd.cpp
> (+) some cleanups
> (-) removed pingRemoteGomd() and pingAll() functions (moved to new
> gomdSearcher class)
>
> IN gomdSearcher.h/gomdSearcher.cpp
> NOTE: this class (called by main.cpp) is used to search for other gomd
> daemon in the local subnet
>            (including the local gomd daemon). This is a thread so it
> doesn't interfere with the main thread of gomd.
> (+) added pingRemoteGomd() and pingAll() functions (moved from gomd2gomd)
>
> IN main.cpp
> (+) invokes new gomdSearcher class to search for other gomd (in the local
> subnet)
>
> IN Makefile.no_libgtop/Makefile.with_libgtop
> (+) added new gomdSearcher to compile line
> (+) added time required to build each object :)
>
>
> 2)LIBRARY (LIBGOMD)
>
> IN libgomd.cpp
> (+) cleanup
>
> IN Makefile
> (+) added time required to build each object :)
>
> IN netCode.h/netCode.cpp
> (+) removed m_receiver (TCPSocket) because it was unused
> (+) switch from tcstream object to TCPStream object (better con handling)
> (+) enabled non blocking socket mode (to avoid interference with the app
> using the libgomd object)
> (+) enable socket timeout (5 seconds)
> (+) cleanups
>
>
> 3)SCRIPT (COMPILE.SH)
>
> IN compile.sh
> (+) library will be installed (because now the daemon uses it! :) )
> (+) cleanups
>
>
>
>
>
>
>
>
> _______________________________________________
> gomd-devel mailing list
> address@hidden
> http://mail.nongnu.org/mailman/listinfo/gomd-devel

-- 
E-mail  :  address@hidden
www     : http://www.openmosixview.com
an openMosix-cluster management GUI

ping -c 1 -p 2b2b2b415448300d0a $1





reply via email to

[Prev in Thread] Current Thread [Next in Thread]