help-cfengine
[Top][All Lists]
Advanced

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

Re: Many-to-one copy


From: Alexander Jolk
Subject: Re: Many-to-one copy
Date: Fri, 22 Apr 2005 12:33:33 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030708

Chip Seraphine wrote:
> I have a directory (/var/cfengine/hostlib) on every machine where I
> simply copy all the Stuff that I want to go up to the server, and then
> the server iterates thru a list of clients (via dynamically generated
> cf.hostlibs file) and pulls it.
>
> It's a suboptimal apporach and has a lot of problems (performance and
> reliability), and if I was starting over again I would go a different
> route, such as having the clients use scp to push the files up, some
> creative rsyncing, a network file system (where possible), etc.


That's more or less what I am doing, the server iterating over the
client list, dynamically created as well.  Only for a few hundred
clients, with invariably a few of them down, not yet installed, or
broken, the server just never seems to finish.

I'll have a look into the list partitioning logic in cfengine, to see
whether I can adapt it to something that works.

Corrolary question, does iterating over server lists work these days?
As in,
remote_hosts = ( host1:host2:host3 )

copy:
    /path/file dest=/var/cfengine/collect/$(remote_hosts)/file
server=$(remote_hosts)


Alex








reply via email to

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