help-cfengine
[Top][All Lists]
Advanced

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

Re: Purge copy of big directory


From: Mark Burgess
Subject: Re: Purge copy of big directory
Date: Wed, 3 Sep 2003 12:34:58 +0200 (MEST)

On  2 Sep, Bas van der Vlies wrote:
> cfengine 2.0.7p3
> 
> I have a question about the time to copy such directory. Maybe i have 
> some wrong settings, but i takes more then 1 hour before the copy is
> finished (It is only checking because nothing is changed).
> 
> If i do the same copy with rsync it is finished in a few seconds.
> 
> Here are my settings. Can i optimize it?
> 
> cfservd.conf (server):
>    IfElapsed = ( 1 )
>    MaxConnections = ( 20 )
>    MultipleConnections = ( on )
>    AllowMultipleConnectionsFrom = ( 10.0.40.0/16 )
>    AllowUsers = ( root )
>    TrustKeysFrom = ( 10.0.40.0/16 )
>    LogAllConnections = ( on )
> 
> cfagent.conf (client)
> #% -DLOCAL_COPY : Copy /usr/local from the cfengine server only for 
> Fileservers
> #
>          Rainbow.LOCAL_COPY::
>                  $(SV_PURGE_DIR)/usr/local
>                          dest=/usr/local
>                          type=checksum
>                          typecheck=false
>                          backup=false
>                          purge=true
>                          recurse=inf
>                          server=$(SERVER)
> 
> 



Cfengine and rsync work in fundamentally different ways.
Cfengine can never compete with rsync for speed, but
rsync cannot ensure that a policy is convergently maintained
in a secure fashion.

M

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  Mark.Burgess@iu.hio.no
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~





reply via email to

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