[pca] Can pca check two different local sources?
Craig S. Bell
craig.s.bell at gmail.com
Sat Sep 24 05:28:14 CEST 2011
Perhaps you can help me with this use case. My pca clients need to use a
local caching proxy to download patches from Oracle. pca-proxy.cgi stores
newly-downloaded patches onto a shared FS. Most of my clients can read from
this same FS.
If network performance were ideal, I would just point patchurl at the
proxy, and be done with it. In this case, it's usually faster for the
client to grab patches directly from the FS rather than transferring each
one via HTTP (either directly, or through the proxy CGI).
So I want the best of both worlds -- check the filesystem first, then
automatically fall back to the proxy if needs be. The problem is that my
client's patchurl was already set to file://something. This is like a
hybrid of your two local server usage scenarios.
Can I somehow configure pca to look on the share first, then query the
proxy server if any of the desired patches are not present? I should say
that I want patchdir to be somewhere different altogether, so I can stage
patches locally on each client.
A unique patchdir would also allow me to mount my share read-only. Also,
I think the proxy should always handle the storing of newly acquired patches
-- otherwise there might be a race while I'm magically using both methods in
one download transaction.
Is there some way to combine both local server methods in this fashion?
Please let me know if I overlooked a better solution. =-) Thanks...
-cheers, CSB
Craig S. Bell
Senior UNIX Engineer
http://linkedin.com/in/craigsbell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.univie.ac.at/pipermail/pca/attachments/20110923/786d6bd5/attachment.html>
More information about the pca
mailing list