<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I slight variation of Charles method is to use explorer outputs to
    get the individual clients patchset.<br>
    Collect explorers to your patchserver.<br>
    Run pca with<br>
    cd $your-patchdir<br>
    pca -d  -f ${EXPLORER_PATH}/${HOST}  missingrs<br>
    <br>
    pca gather info about a client using<br>
    /usr/bin/pkginfo -x<br>
    /usr/bin/showrev -p<br>
    /usr/bin/uname -a<br>
    And it will find them all in an explorer output.<br>
    <br>
    Another way of doing the same would be to collect pkginfo showrev
    and uname and use them with pca for collecting patches for a client.<br>
    Instead of pca running those commands on the local client.<br>
    A simple cronjob on each client that copies output of these 3
    commands to the "pca-server".<br>
    Run pca with<br>
    pca -d  -f ${Pkginfo-Uname-Showrev-dir}/${HOST} missingrs<br>
    <br>
    - Roland<br>
    <br>
    <br>
    <br>
    On 19/10/11 04:17 AM, <a class="moz-txt-link-abbreviated" href="mailto:Charles.Witt.CTR@dcpds.cpms.osd.mil">Charles.Witt.CTR@dcpds.cpms.osd.mil</a> wrote:
    <blockquote
cite="mid:8D8A58DD9A44714A9E1C5FB3A5F3AFD20A1D991A@DCPDSPO1.ad.dcpds.cpms.osd.mil"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta name="Generator" content="Microsoft Word 12 (filtered
        medium)">
      <style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
      <div class="WordSection1">
        <p class="MsoNormal"><span style="color:#1F497D">Lisa,<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">This is one
            method that fits my case.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">One method is
            to run “pca --noheader | cut -d ' ' -f 1 >
            $generatedlist” on each patch client which will generate a
            list of required patches.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">Merge the
            contents of the required patch list into one file with
            something like “sort -ui
            Missing.pca.txt/ConsolidatedMissing.pca.txt | uniq >
            SortedUniqueConsolidatedMissing.pca.txt”.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">You would
            execute something like: “pca -d RequiredPatchList” on your
            patch server to download required patches from Oracle.  The
            “d” will keep the patches.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">Then you have
            to figure out how to get the patches to each patch client. 
            I have BASH scripts that use public/private SSH keys,
            Expect, SSH, and SCP.  Man pca has one or more other
            methods.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">Then execute
            “pca -i” on each patch client.  That is the summary of one
            method.  I left details out.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D">Man pca will
            give some ideas.  You need to experiment with a couple of
            servers to determine what works best in your case.<o:p></o:p></span></p>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <div>
          <p class="MsoNormal"><span
              style="font-size:10.0pt;font-family:"Courier
              New";color:#1F497D">Thanks,<o:p></o:p></span></p>
          <p class="MsoNormal"><span
              style="font-size:10.0pt;font-family:"Courier
              New";color:#1F497D">Charles W. Witt</span><span
              style="color:#1F497D"><o:p></o:p></span></p>
          <p class="MsoNormal"><span
              style="font-size:10.0pt;font-family:"Courier
              New";color:#1F497D">Contractor<o:p></o:p></span></p>
          <p class="MsoNormal"><span
              style="font-size:10.0pt;font-family:"Courier
              New";color:#1F497D">STG Inc.<o:p></o:p></span></p>
          <p class="MsoNormal"><span
              style="font-size:10.0pt;font-family:"Courier
              New";color:#1F497D">DCPDS Arcsight Logger/Quality
              Center/Solaris/Web Support</span><span
              style="color:#1F497D"><o:p></o:p></span></p>
          <p class="MsoNormal"><span
              style="font-size:10.0pt;font-family:"Courier
              New";color:#1F497D">1777 N.E. Loop 410, Suite 300<o:p></o:p></span></p>
          <p class="MsoNormal"><span
              style="font-size:10.0pt;font-family:"Courier
              New";color:#1F497D">San Antonio, TX 78217-5216<o:p></o:p></span></p>
          <p class="MsoNormal"><span
              style="font-size:10.0pt;font-family:"Courier
              New";color:#1F497D">Phone: (210)581-6227<o:p></o:p></span></p>
          <p class="MsoNormal"><span
              style="font-size:10.0pt;font-family:"Courier
              New";color:#1F497D">Cell: (210)787-2734<o:p></o:p></span></p>
          <p class="MsoNormal"><span
              style="font-size:10.0pt;font-family:"Courier
              New";color:#1F497D"><a class="moz-txt-link-abbreviated" href="mailto:Charles.Witt.ctr@dcpds.cpms.osd.mil">Charles.Witt.ctr@dcpds.cpms.osd.mil</a><o:p></o:p></span></p>
          <p class="MsoNormal"><span
              style="font-size:10.0pt;font-family:"Courier
              New";color:#1F497D">Quality Center:
              <a class="moz-txt-link-abbreviated" href="mailto:QCSupport@dcpds.cpms.osd.mil">QCSupport@dcpds.cpms.osd.mil</a><o:p></o:p></span></p>
          <p class="MsoNormal"><span
              style="font-size:10.0pt;font-family:"Courier
              New";color:#1F497D">Solaris:
              <a class="moz-txt-link-abbreviated" href="mailto:SolarisSupport@dcpds.cpms.osd.mil">SolarisSupport@dcpds.cpms.osd.mil</a><o:p></o:p></span></p>
          <p class="MsoNormal"><span
              style="font-size:10.0pt;font-family:"Courier
              New";color:#1F497D">Web:
              <a class="moz-txt-link-abbreviated" href="mailto:web.support@dcpds.cpms.osd.mil">web.support@dcpds.cpms.osd.mil</a></span><span
              style="color:#1F497D"><o:p></o:p></span></p>
        </div>
        <p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
        <div>
          <div style="border:none;border-top:solid #B5C4DF
            1.0pt;padding:3.0pt 0in 0in 0in">
            <p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
                <a class="moz-txt-link-abbreviated" href="mailto:pca-bounces@lists.univie.ac.at">pca-bounces@lists.univie.ac.at</a>
                [<a class="moz-txt-link-freetext" href="mailto:pca-bounces@lists.univie.ac.at">mailto:pca-bounces@lists.univie.ac.at</a>] <b>On Behalf Of
                </b>Becktold, Lisa M. (LARC-B7)[Chugach Federal
                Solutions, Inc.]<br>
                <b>Sent:</b> Tuesday, October 18, 2011 11:30 AM<br>
                <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:pca@lists.univie.ac.at">pca@lists.univie.ac.at</a><br>
                <b>Subject:</b> [pca] Setting up PCA patch server<o:p></o:p></span></p>
          </div>
        </div>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Hi,<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">We have started using pca to patch our
          servers.    It’s been working very well, and we’d like to
          refine our setup.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Instead of each server accessing
          support.oracle.com, we’d like to set up an internal pca patch
          server.  The patch clients should access this internal patch
          server, and NOT go outside our internal network to download
          patches.<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">I’m a bit confused about what should reside
          on that internal patch server.  Should I download the latest
          recommended patch cluster and associated patchdiag.xref file,
          and place it on the internal patch server?<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">If the full recommended patch cluster is
          located on the patch server, then there the patch client
          doesn’t need to go outside our internal network and access
          support.oracle.com, right?<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">The patch server must either share the
          patch directory via NFS, or offer it via http or ftp, correct?<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Lisa<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
        <p class="MsoNormal">Lisa Becktold<o:p></o:p></p>
        <p class="MsoNormal">System Administrator<o:p></o:p></p>
        <p class="MsoNormal">Chugach Federal Solutions, Inc.<o:p></o:p></p>
        <p class="MsoNormal">NASA Center for AeroSpace Information
          Contract<o:p></o:p></p>
        <p class="MsoNormal">Phone:       443 995 5805<o:p></o:p></p>
        <p class="MsoNormal"><o:p> </o:p></p>
      </div>
    </blockquote>
  </body>
</html>