help-cfengine
[Top][All Lists]
Advanced

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

Purge copy of big directory


From: Bas van der Vlies
Subject: Purge copy of big directory
Date: Tue, 02 Sep 2003 14:26:11 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624

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)


--
--
********************************************************************
*                                                                  *
*  Bas van der Vlies                     e-mail: basv@sara.nl      *
*  SARA - Academic Computing Services    phone:  +31 20 592 8012   *
*  Kruislaan 415                         fax:    +31 20 6683167    *
*  1098 SJ Amsterdam                                               *
*                                                                  *
********************************************************************






reply via email to

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