<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: software assistant - I'm impressed! in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/software-assistant-i-m-impressed/m-p/4355118#M345263</link>
    <description>Thanks for the kind words Doug!  The team was very happy to read it. We chose a command line interface to enable scripting, and it sounds like a good call ;-)&lt;BR /&gt;&lt;BR /&gt;Folks can find the latest version with our initial integration into HP SIM at &lt;A href="https://www.hp.com/go/swa." target="_blank"&gt;https://www.hp.com/go/swa.&lt;/A&gt;</description>
    <pubDate>Wed, 11 Feb 2009 21:16:31 GMT</pubDate>
    <dc:creator>Bob E Campbell</dc:creator>
    <dc:date>2009-02-11T21:16:31Z</dc:date>
    <item>
      <title>software assistant - I'm impressed!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/software-assistant-i-m-impressed/m-p/4355117#M345262</link>
      <description>&lt;!--!*#--&gt;Hey;&lt;BR /&gt;&lt;BR /&gt;I have to say that I'm quite impressed with the software assistant.  Using a couple of home grown scripts, I am able to run the security analysis and download patches for over 80 pa-risc and ia64 systems covering 11.11, 11.23, and 11.31.  All of this takes less than 2 hours.&lt;BR /&gt;&lt;BR /&gt;I dump the html reports to a specific directory on our web server so the client can examine them individually.  I also download and process the patches into OS specific patch depots which can then be installed when downtime gets scheduled.  &lt;BR /&gt;&lt;BR /&gt;The source datafile is a simple listing of target host and os. For example:&lt;BR /&gt;&lt;BR /&gt;host1 11.11&lt;BR /&gt;host2 11.23&lt;BR /&gt;host3 11.31&lt;BR /&gt;&lt;BR /&gt;The run_swa script is very short. Minus comments, it is as follows:&lt;BR /&gt;&lt;BR /&gt;PATH=/bin:/usr/bin:/sbin:/usr/sbin:/opt/swa/bin&lt;BR /&gt;ftp_proxy=&lt;A href="http://ih.proxy.myco.com:8000" target="_blank"&gt;http://ih.proxy.myco.com:8000&lt;/A&gt;&lt;BR /&gt;http_proxy=&lt;A href="http://ih.proxy.myco.com:8000" target="_blank"&gt;http://ih.proxy.myco.com:8000&lt;/A&gt;&lt;BR /&gt;https_proxy=&lt;A href="http://ih.proxy.myco.com:8000" target="_blank"&gt;http://ih.proxy.myco.com:8000&lt;/A&gt;&lt;BR /&gt;export PATH ftp_proxy http_proxy https_proxy&lt;BR /&gt;&lt;BR /&gt;Report_dir=/opt/hpws/apache/htdocs/security&lt;BR /&gt;Hosts="${Report_dir}/hosts"&lt;BR /&gt;Anal_dir=/ignite/Patches/swa_analysis&lt;BR /&gt;&lt;BR /&gt;grep -v ^# ${Hosts} | while read h o&lt;BR /&gt;do&lt;BR /&gt;        echo "##############################################"&lt;BR /&gt;        echo $h&lt;BR /&gt;        echo "##############################################"&lt;BR /&gt;        swa report -s ssh://root@${h} \&lt;BR /&gt;        -x html_report=${Report_dir}/${h}_report.html \&lt;BR /&gt;        -x analysis_file=${Anal_dir}/${h}_anal.xml \&lt;BR /&gt;        -x ssh_options='-o batchmode=yes'&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;That script assumes ssh/public key authentication access to root.  At some point, I'll consider using a null passphrased key locked down to the specific commands; however, looking at the ssh log, that might not be so easy.&lt;BR /&gt;&lt;BR /&gt;As you can see, the reports are dumped into an html directory and the analysis files are dumped to another directory for use in the get_swa_patches script.  &lt;BR /&gt;&lt;BR /&gt;get_swa_patches is equally as short.  Again, minus comments:&lt;BR /&gt;&lt;BR /&gt;PATH=/bin:/usr/bin:/sbin:/usr/sbin:/opt/swa/bin&lt;BR /&gt;ftp_proxy=&lt;A href="http://ih.proxy.myco.com:8000" target="_blank"&gt;http://ih.proxy.myco.com:8000&lt;/A&gt;&lt;BR /&gt;http_proxy=&lt;A href="http://ih.proxy.myco.com:8000" target="_blank"&gt;http://ih.proxy.myco.com:8000&lt;/A&gt;&lt;BR /&gt;https_proxy=&lt;A href="http://ih.proxy.myco.com:8000" target="_blank"&gt;http://ih.proxy.myco.com:8000&lt;/A&gt;&lt;BR /&gt;export PATH ftp_proxy http_proxy https_proxy&lt;BR /&gt;&lt;BR /&gt;Report_dir=/opt/hpws/apache/htdocs/security&lt;BR /&gt;Hosts="${Report_dir}/hosts"&lt;BR /&gt;Anal_dir=/ignite/Patches/swa_analysis&lt;BR /&gt;Dtstamp=$(date +"%y%m%d")&lt;BR /&gt;&lt;BR /&gt;grep -v ^# ${Hosts} | while read h o&lt;BR /&gt;do&lt;BR /&gt;        Depot=/ignite/Patches/${o}/${Dtstamp}_swa_patches&lt;BR /&gt;        swa get -t ${Depot} -x analysis_file=${Anal_dir}/${h}_anal.xml \&lt;BR /&gt;                -x allow_existing_depot=true -x swcache=/ignite/tmp&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;As I said, two hours tops to run a full patch/security analysis on over 80 systems.  Now, of course, I've got more work than I can handle fixing all the issues, but that goes with the job.  &lt;BR /&gt;&lt;BR /&gt;Good job, HP; I'm impressed!&lt;BR /&gt;&lt;BR /&gt;Doug O'Leary&lt;BR /&gt;</description>
      <pubDate>Mon, 09 Feb 2009 21:40:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/software-assistant-i-m-impressed/m-p/4355117#M345262</guid>
      <dc:creator>Doug O'Leary</dc:creator>
      <dc:date>2009-02-09T21:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: software assistant - I'm impressed!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/software-assistant-i-m-impressed/m-p/4355118#M345263</link>
      <description>Thanks for the kind words Doug!  The team was very happy to read it. We chose a command line interface to enable scripting, and it sounds like a good call ;-)&lt;BR /&gt;&lt;BR /&gt;Folks can find the latest version with our initial integration into HP SIM at &lt;A href="https://www.hp.com/go/swa." target="_blank"&gt;https://www.hp.com/go/swa.&lt;/A&gt;</description>
      <pubDate>Wed, 11 Feb 2009 21:16:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/software-assistant-i-m-impressed/m-p/4355118#M345263</guid>
      <dc:creator>Bob E Campbell</dc:creator>
      <dc:date>2009-02-11T21:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: software assistant - I'm impressed!</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/software-assistant-i-m-impressed/m-p/4355119#M345264</link>
      <description>Hi Doug:&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Bob: We chose a command line interface to enable scripting&lt;BR /&gt;&lt;BR /&gt;I would expect/hope so.  After all, this _IS_ UNIX and textual interfaces make for tremedoous synergy as Doug has shown.  If this were that "other" OS with its point-and-click mentality then I would expect otherwise.&lt;BR /&gt;&lt;BR /&gt;Oh, and yes, the SWA product is indeed one fine product!&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 12 Feb 2009 01:31:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/software-assistant-i-m-impressed/m-p/4355119#M345264</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2009-02-12T01:31:55Z</dc:date>
    </item>
  </channel>
</rss>

