Operating System - HP-UX
1753500 Members
4254 Online
108794 Solutions
New Discussion

Re: swa ignore file syntax

 
Todd McDaniel_1
Honored Contributor

swa ignore file syntax

I have never used this file before, and I am not comfortable with what it is asking for as the bundle and revision.

I get that it needs the QPK in the front but what exactly goes in the and ?

QUALITYPACK/QPK1123_B.11.23.0812.076

Please tell me if this is the correct syntax.


-----------------------
Also, for normal patches, i didnt really see a clear example how to exclude a single patch. as follows what is the first bit that I need for the following?

11.X/PHSS_38860

Maybe Im just not reading the file correctly or its been a long week..




Unix, the other white meat.
5 REPLIES 5
Todd McDaniel_1
Honored Contributor

Re: swa ignore file syntax

sorry i didnt put in what i thought the QPK should be...

QPK:QUALITYPACK:QPK1123_B.11.23.0812.076


I dont know what i need for the single patch.
Unix, the other white meat.
omniview
Advisor

Re: swa ignore file syntax

From the comments within the ignore file, it appears that the syntax would be:

QPK:GOLDAPPS11i:B.11.23.0812.076
QPK:GOLDBASE11i:B.11.23.0812.076

The patches can be excluded on a case by case basis, but you must specify the criteria.

e.g. a patch excluded containing a critical fix:

CRIT:PHSS_34102

Take a second look at the ignore file remarks. It took me a couple attempts to master the syntax myself, but it didn't take long.

Good luck!

Dave
Todd McDaniel_1
Honored Contributor

Re: swa ignore file syntax

Somehow my ignore file is getting ignored! It still selects all 1500 filesets to install... even though I have explicitly excluded it.

I posted my edit in the ignore file as per your suggestion for the QPK, however it didnt exclude it. So i changed the name of the bundle to this:


QPK:GOLDAPPS11i:QPK1123_B.11.23.0812.076
QPK:GOLDBASE11i:QPK1123_B.11.23.0812.076

That also failed. I wonder, do I need the ".depot" on the end"???

here are also the contents of my SWA file.

---------------
swa.conf
---------------
catalog_source=http://ftp.itrc.hp.com/wpsl/bin/doc.pl/screen=wpslDownloadPatch/swa_catalog.xml.gz?PatchName=/export/patches/swa_catalog.xml.gz
crl_check=false
ignore_file=/appp/bladelogic/depot/acsdalhpx301/ignore
Unix, the other white meat.
Bob E Campbell
Honored Contributor

Re: swa ignore file syntax

The ignore file was intended to ignore part of an analyzer. If you really do not want QPK results then select only the analyzers you want:

# swa report -a SEC -a PCW

The second tip is to take a look at the detail report. It is at the tail end of the HTML report or could be generated for the previous run using:

# swa step report -r detail

The detail report will list the reason for every patch selected for the action (default) report and also list the Issue ID that is used with the ignore file.
Michael-Jones
Regular Visitor

Re: swa ignore file syntax

this is excellent answer,  and solved an ignore I needed to do for CRIT:PHCO_44712 , from a swa-report that patch PHKL_44729 VRTS 5.1 SP1RP3P12 VRTSvxfs Kernel Patch was needed.   I did not know about swa step report -r detail   and how it reveals that correct Issue ID.