Re: Client->Server communication

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

 



On Tue, 2008-08-05 at 10:44 -0400, Adrian Likins wrote:
> Michael DeHaan wrote:
> > Joel Heenan wrote:
> >> Hi List,
> >>
> >> Just wondering whether func provides a mechanism for the clients
> >> instigate communications with the server? Even just a "ping I want your
> >> attention" would be good for my purposes.
> >>
> >> Sorry if this was covered in the docs I didn't see it. Look at building
> >> a monitoring app and would be good if the clients could alert the server
> >> as to changes.
> >>
> >> Thanks
> >>   
> >
> > Presently no, as the central server is daemonless.   In that regard, 
> > Func is more suited to replacing command-and-control
> > infrastructure than monitoring infrastructure (like collectd, etc).
> >
> > There was some talk about having at least a "ping" type daemon 
> > functionality at the overlord server though.  One use case is
> > having the overlord server maintain a list of jobs for the minions to 
> > ask for when they are ready (queued up) that the server
> > would then tell them to do when they came online.   Though this starts 
> > to feel a bit like a message bus.
> >
> > Creating an overlord daemon of course does make sense, as eventually 
> > we may want to enable XMLRPC into the overlord
> > from higher level management applications as well as just the 
> > func-transmit system available now.
> >
> > Hmm, further ideas on what you might like to see?
> >
> > Is this something you might be interested in helping work on?
> >
> 
>     At the moment, the only minion->overlord communication is when the 
> minions request a cert from the certmaster. There
> is an api for setting up triggers for when the minions request certs.  
> Now that I look, the certmaster triggers aren't documented
> yet, so we need to fix that.
> 
>     Whats the intended usage of the minion->overlord ping?
> 
> Adrian
> 

The specific application in question is an app called HotWire used for
provisioning and asset management, similar to cobbler. I'm working on it
as part of my day job (although it is completely open source). The idea
of the ping is that the client say "hello I have new state information
come and collect it please".

I agree that opening up a full client->server communications channel
really moves func into something totally different than what it was
designed for and opens a can of worms. That said even an extremely
limited mechanism of client->server communication would fit my bill. If
I get time I would love to have a crack at coding up a small patch. 
-- 
Joel Heenan
**********************************************************************
This message is intended for the addressee named and may contain
privileged information or confidential information or both. If you
are not the intended recipient please delete it and notify the sender.
**********************************************************************

_______________________________________________
Func-list mailing list
Func-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/func-list

[Index of Archives]     [Fedora Users]     [Linux Networking]     [Fedora Legacy List]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux