<?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: How long do you keep patch software? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-long-do-you-keep-patch-software/m-p/2553355#M886476</link>
    <description>That is great guys. I didn't know about this cleanup things. I generally remove from /var/*.&lt;BR /&gt;Thank God I am not in trouble yet.&lt;BR /&gt;&lt;BR /&gt;Sachin</description>
    <pubDate>Mon, 16 Jul 2001 19:18:41 GMT</pubDate>
    <dc:creator>Sachin Patel</dc:creator>
    <dc:date>2001-07-16T19:18:41Z</dc:date>
    <item>
      <title>How long do you keep patch software?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-long-do-you-keep-patch-software/m-p/2553351#M886472</link>
      <description>How long do people keep the patches in /var/adm/sw/save (or /var/adm/sw/patch for HP-UX 10.20)?  This is for backoff purposes which we hardly ever do, especially after a week or two.  Yet we never delete these except  the superseded ones with a % in front. Some of our servers have 500 MB in this directory.  Does it seem reasonable to delete the patches over six months old?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;Jim</description>
      <pubDate>Mon, 16 Jul 2001 18:54:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-long-do-you-keep-patch-software/m-p/2553351#M886472</guid>
      <dc:creator>James Brand</dc:creator>
      <dc:date>2001-07-16T18:54:21Z</dc:date>
    </item>
    <item>
      <title>Re: How long do you keep patch software?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-long-do-you-keep-patch-software/m-p/2553352#M886473</link>
      <description>We keep ours for a year and then delete them.  We patch quarterly, so that keeps the last four rounds of patches for us.  Six months is probably plenty of time to save them.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Jul 2001 18:56:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-long-do-you-keep-patch-software/m-p/2553352#M886473</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2001-07-16T18:56:24Z</dc:date>
    </item>
    <item>
      <title>Re: How long do you keep patch software?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-long-do-you-keep-patch-software/m-p/2553353#M886474</link>
      <description>HI James,&lt;BR /&gt;&lt;BR /&gt;First, NEVER delete without using one of the &lt;BR /&gt;software tools. The best utility is 'cleanup' and it will remove the software in a safe manner and allow you to keep as many past revisions as you like. For my purposes, I've fould that 1 previous revision is sufficient.&lt;BR /&gt;&lt;BR /&gt;I typically install the General Release first on a sandbox. Test it there and then after about 2 weeks move to test environment and finally when scheduling permits, move the patchset into production. Using that scheme, 1 revision back has never failed me and it is very rare that I have ever had to roll a patch back out.&lt;BR /&gt;&lt;BR /&gt;My 2 cents, Clay</description>
      <pubDate>Mon, 16 Jul 2001 19:01:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-long-do-you-keep-patch-software/m-p/2553353#M886474</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2001-07-16T19:01:06Z</dc:date>
    </item>
    <item>
      <title>Re: How long do you keep patch software?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-long-do-you-keep-patch-software/m-p/2553354#M886475</link>
      <description>Hi James:&lt;BR /&gt;&lt;BR /&gt;As Clay said, use *ONLY* the 'cleanup' utility to manage /var/adm/sw.  Failure to do otherwise can lead to a system that cannot be patched!&lt;BR /&gt;&lt;BR /&gt;On 10.20, use run 'cleanup' without any options to leave one level of superseded patches available for reinstatement.&lt;BR /&gt;&lt;BR /&gt;With 11.x, you can choose the depth to which you keep superseded patches.  This is controlled by the '-c' option of 'cleanup'.&lt;BR /&gt;&lt;BR /&gt;One method of managing patches is to do the cleanup *before* you start your next patch application.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 16 Jul 2001 19:11:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-long-do-you-keep-patch-software/m-p/2553354#M886475</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-07-16T19:11:44Z</dc:date>
    </item>
    <item>
      <title>Re: How long do you keep patch software?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-long-do-you-keep-patch-software/m-p/2553355#M886476</link>
      <description>That is great guys. I didn't know about this cleanup things. I generally remove from /var/*.&lt;BR /&gt;Thank God I am not in trouble yet.&lt;BR /&gt;&lt;BR /&gt;Sachin</description>
      <pubDate>Mon, 16 Jul 2001 19:18:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-long-do-you-keep-patch-software/m-p/2553355#M886476</guid>
      <dc:creator>Sachin Patel</dc:creator>
      <dc:date>2001-07-16T19:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: How long do you keep patch software?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-long-do-you-keep-patch-software/m-p/2553356#M886477</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Just to clarify my previous post, 'delete' probably wasn't the best word to use.  When I 'delete' patches I'm actually doing an 'swmodify -x patch_commit=true' on the patch.  Of course, Clay and James are correct [ as usual :-) ].  It looks like you could just go into /var/adm/sw/save and start rm'ing things, but you can't.  You've gotta use 'cleanup' or 'swmodify'.&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Jul 2001 19:19:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-long-do-you-keep-patch-software/m-p/2553356#M886477</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2001-07-16T19:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: How long do you keep patch software?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-long-do-you-keep-patch-software/m-p/2553357#M886478</link>
      <description>HI&lt;BR /&gt;I use the cleanup utility to comit the patches that are atleast twice superseeded. Some time I commit the patch that's once superseeded and is taking more space (aprox.&amp;gt;20MB)using swmodify command. The only reason to keep old patches is in case you need to remove the it. (eg. Patch being recalled by HP).&lt;BR /&gt;Thanks.&lt;BR /&gt;Prashant Deshpande.&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Jul 2001 19:20:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-long-do-you-keep-patch-software/m-p/2553357#M886478</guid>
      <dc:creator>Deshpande Prashant</dc:creator>
      <dc:date>2001-07-16T19:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: How long do you keep patch software?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-long-do-you-keep-patch-software/m-p/2553358#M886479</link>
      <description>Thanks for all of the responses but I'm a little confused.  The man page on cleanup only refers to depots.  I'm concerned with the rollback files in /var/adm/sw/save. Am I missing something here?</description>
      <pubDate>Mon, 16 Jul 2001 19:36:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-long-do-you-keep-patch-software/m-p/2553358#M886479</guid>
      <dc:creator>James Brand</dc:creator>
      <dc:date>2001-07-16T19:36:04Z</dc:date>
    </item>
    <item>
      <title>Re: How long do you keep patch software?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-long-do-you-keep-patch-software/m-p/2553359#M886480</link>
      <description>Hi &lt;BR /&gt;You can use the cleanup utility on system as well as depot.&lt;BR /&gt;#cleanup -p -c 2 -d @&lt;DEPOT-NAME&gt;  will list all patches superseeded twice, on given depot. If you omit "-p" option then same will be commited.&lt;BR /&gt;&lt;BR /&gt;#cleanup -p -c 2 will list patches superseeded twice on system.&lt;BR /&gt;&lt;BR /&gt;Thanks.&lt;BR /&gt;Prashant Deshpande.&lt;/DEPOT-NAME&gt;</description>
      <pubDate>Mon, 16 Jul 2001 19:40:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-long-do-you-keep-patch-software/m-p/2553359#M886480</guid>
      <dc:creator>Deshpande Prashant</dc:creator>
      <dc:date>2001-07-16T19:40:27Z</dc:date>
    </item>
    <item>
      <title>Re: How long do you keep patch software?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-long-do-you-keep-patch-software/m-p/2553360#M886481</link>
      <description>Hi (again) James:&lt;BR /&gt;&lt;BR /&gt;Make sure you have the latest 'cleanup' patches:&lt;BR /&gt;&lt;BR /&gt;For 10.20: PHSS_20824&lt;BR /&gt;For 11.0 : PHSS_24347&lt;BR /&gt;&lt;BR /&gt;'cleanup' will recover space in /var/adm/sw/save appropriately.&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 16 Jul 2001 19:46:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-long-do-you-keep-patch-software/m-p/2553360#M886481</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-07-16T19:46:30Z</dc:date>
    </item>
    <item>
      <title>Re: How long do you keep patch software?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-long-do-you-keep-patch-software/m-p/2553361#M886482</link>
      <description>James,&lt;BR /&gt;&lt;BR /&gt;The patch files you see in /var/adm/sw/save are the files the system would need to roll back the patches.  When you put a patch on an HP system, 'swinstall' will save the patch files by default.  If you are convinced you won't have to rollback a patch, you use 'swmodify' to committ the patch, which puts it into a 'Committed' state and removes the files from /var/adm/sw/save.&lt;BR /&gt;&lt;BR /&gt;Here is a sample command line I would use to commit patch PHKL_20163:&lt;BR /&gt;&lt;BR /&gt;swmodify -x patch_commit=true PHKL_20163.\*&lt;BR /&gt;&lt;BR /&gt;If you have a bunch of patches to do, you can put it into a loop.  I usually do a long listing in /var/adm/sw/save by date, see how many patches I need to commit, and do something like this:&lt;BR /&gt;&lt;BR /&gt;for f in $(ls -rt | head -47); do print $f; swmodify -x patch_commit=true $f.\*; done&lt;BR /&gt;&lt;BR /&gt;That's how this poor sys admin does it.  I'll bet there are slicker ways to do it.  Maybe somebody will post some.&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Mon, 16 Jul 2001 19:48:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-long-do-you-keep-patch-software/m-p/2553361#M886482</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2001-07-16T19:48:24Z</dc:date>
    </item>
    <item>
      <title>Re: How long do you keep patch software?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-long-do-you-keep-patch-software/m-p/2553362#M886483</link>
      <description>Hi (once more):&lt;BR /&gt;&lt;BR /&gt;...sorry, the latest 'cleanup' patches are *PHCO* as:&lt;BR /&gt;&lt;BR /&gt;For 10.20: PHCO_20824&lt;BR /&gt;For 11.0 : PHCO_24347&lt;BR /&gt;&lt;BR /&gt;Again, for the most functionality, make sure to download and apply these!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Mon, 16 Jul 2001 19:51:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-long-do-you-keep-patch-software/m-p/2553362#M886483</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2001-07-16T19:51:42Z</dc:date>
    </item>
    <item>
      <title>Re: How long do you keep patch software?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-long-do-you-keep-patch-software/m-p/2553363#M886484</link>
      <description>Thanks again to everyone.</description>
      <pubDate>Tue, 17 Jul 2001 17:55:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-long-do-you-keep-patch-software/m-p/2553363#M886484</guid>
      <dc:creator>James Brand</dc:creator>
      <dc:date>2001-07-17T17:55:29Z</dc:date>
    </item>
  </channel>
</rss>

