[pca] patch download

Martin Paul martin.paul at univie.ac.at
Thu Feb 19 09:21:56 CET 2015


Am 19.02.2015 um 01:31 schrieb Tim Hosfelt:
> Is there a way to download a list of patches.  Due to security/firewalls I
> can only set up one server to point to oracle and I would like to use that
> server to download all the needed patches in the environment.  My hope is
> to run the "pca --list missing" on all servers in my environment and then
> create a list of unique patch ID's I can download to the server.  Put the
> into an NFS share and patch all my servers from that share (I also can't
> set up an apache server due to other security restrictions).

A local caching proxy would be the easiest solution, but you would need 
an HTTP server on the system which points to Oracle for that. 
Fortunately there are other options:

You can indeed create an NFS shared directory which you fill on the 
system which can connect to Oracle, and then share and use it on the 
clients with PCAs "--patchurl file:/nfs/pca/patches" option (use 
"xrefurl" for a central source of the patchdiag.xref file as well).

To pre-download the actually required patches on your local patch server 
it's best to use the method described under "CREATING PATCH REPORTS FOR 
REMOTE MACHINES" in the PCA docs. It allows you to run pca with all its 
options on the server with the package/patch information from the 
client. You would collect the output of uname/showrev/pkginfo from all 
clients on the server (maybe use NFS again), and then run "pca 
--fromfiles /nfs/hostA --download missing" in /nfs/pca/patches for all 
your hosts. At the end you will have a local collection of all patches 
missing on all clients.

hth,
Martin.



More information about the pca mailing list