[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Need advice for smart copy
From: |
Iain Morgan |
Subject: |
Re: Need advice for smart copy |
Date: |
Mon, 29 Nov 2004 09:09:00 -0800 (PST) |
Switch the order of your copies and turn on SingleCopy in your control: section.
On Mon Nov 29 00:08:10 2004, Zeev Fisher wrote:
>
> Hi,
>
> I would like to copy automounter files to all solaris hosts except
> specific hosts that will have different specific maps.
>
> I did the following on the copy section in cf.solaris ( of course i
> pasted only the relevant lines ) :
>
> copy:
>
> $(masterfiles)/$(site)/solaris/all dest=/etc m=644 o=root g=root
> type=checksum include=auto_* r=1 define=modified_auto
>
> SpecificHosts::
>
> $(masterfiles)/SpecificHosts/$(host)/auto_archive
> dest=/etc/auto_archive m=644 o=root g=root type=checksum
>
>
> The problem with this is that actually on the specific hosts every time
> this file is copied twice and the group modified_auto declared.
> Moreover , i notice that sometimes the auto_archive file from the
> general rule reside in the Specific hosts.
>
>
> I know i can place NOT in the general copy section for the auto_* on the
> specific hosts but then i will have to put all the auto_* files for each
> specific hosts and not just the files that are different from the other.
>
> I have 2 questions :
>
> 1) Isn't the order of the lines in the sections are deterministic that i
> know what comes after the other ? there wasn't sometimes a problem that
> the first copy is after the second copy.
> 2) Does anybody has advice how to best solve this configuration ?
>
>
> Thanks !
>
--
Iain Morgan