[Demi-devel] Re: Developer for demi

Leo Eraly Leo Eraly <leo@realroot.be>
Thu, 3 Jun 2004 18:07:24 +0200


On Thu, Jun 03, 2004 at 10:38:21AM -0400, John Morrissey wrote:
> On Thu, Jun 03, 2004 at 11:03:38AM +0200, Leo Eraly wrote:
> > Work with a central deamon which has the information for all
> > the different hosts in the network.
> > With the following directory-structure on the server.
> > - Server
> > 
> >                 CENTRAL SERVER
> >                 WHICH HOLDS PKG DB
> > 
> >                                 /var/cache/apt/demi/
> [snip]
> 
> What do you think about storing this data in an SQL database? For example,
> I'd like to be able to find out which machines have version X of package.
> It seems SQL queries would cut down on scanning lots of state files to
> handle situations like that.

You're right , sql would make it a lot easier to store your data
and to process it afterwards in any application.
That would make it also handy to create frontends and stuff.
e.g A web-frontend which can give you an overview of the current state of all the
hosts in your network.

> 
> > 2nd idea.
> > 
> > All the hosts in the network should run a small daemon on which the
> > central server could connect. So the central server pulls all the
> > necessary data from the different hosts/clients and collects it. And
> > pushes the updates to the client. Offcourse an extra daemon on every hosts
> > is an extra open port and therefore a possible security risk. But It can't
> > be that hard to allow only connections to the client-daemons from trusted
> > hosts.
> 
> I like this idea better; being able to force immediate updates or package
> installs from the management host would be great.
> 
> I'd also like to see a way for clients to auto-register themselves. We turn
> machines over pretty frequently, using autoinstall to build fresh machines,
> so having to manually enter them would be a drag. The management host could
> run a daemon that clients could connect to and register themselves by
> specifying a shared secret or somesuch.
> 

Yea , the auto-register feature would be a bless.


Groet

Leo

-- 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Leo ERALY					     
leo@RealROOT.be					www.RealROOT.be
+32 475 257 493				"Your Internet partner"
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++