[pca] Download all patches

little help littlehelphere at gmail.com
Wed Feb 23 14:08:57 CET 2011


Martin,
   Thanks for the info.  I have used the "--fromfiles" options and it does
work like a charm for hosts with a minimal cluster install,etc but never for
a mass download.  I have a few hundred hosts and while I would love to say
they are at the same patch level that would simply not be true.  Once I get
them to a baseline I think future updates will be a lot easier using this
option.  I will look into this - seems like it should work as well.

On Wed, Feb 23, 2011 at 6:43 AM, Martin Paul <martin at par.univie.ac.at>wrote:

> little help wrote:
>
>> Thanks for the quick reply.  What is the -askauth parameter?  I dont see
>> it
>> as an option.
>>
>
> It's deprecated, as it's the default now. Previously it was required to
> make PCA ask for authentication data if it isn't provided via a config file
> or an option. Nowadays PCA will ask for it anyway.
>
>
>  I too use an NFS dir and patch Solaris 8, 9, 10 and x86.  I think I would
>> need
>> to run this command from each host to get the "full" list.  I am basically
>> looking for a way to run the download from my main proxy server for all
>> builds, etc.
>>
>
> One option would be to run "pca --download" on at least one machine per OS
> release. You could delete the download patches on the client right away if
> all you want is to pre-fill the proxy.
>
> The elegant way is to use PCA's "--fromfiles" option. Using that, you can
> run PCA on the proxy server just as if it was run on the client directly.
> Basically,  you collect necessary information from each sample client once
> like that:
>
>  $ uname -a > /nfs/proxy/client1/uname.out
>  $ showrev -p > /nfs/proxy/client1/showrev.out
>  $ pkginfo -x > /nfs/proxy/client1/pkginfo.out
>
> Then you can run PCA on the proxy to list/download patches for each client:
>
>  proxy$ pca --fromfiles /nfs/proxy/client1 --download
>  proxy$ pca --fromfiles /nfs/proxy/client2 --download
>  ...
>
> Hope that helps,
>
> Martin.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.univie.ac.at/pipermail/pca/attachments/20110223/98048163/attachment.html>


More information about the pca mailing list