Patch Management User Guide for HP-UX 11.x Systems
Revision history
Table of Contents
What are standard HP-UX patch bundles?
Using Dynamic Root Disk for patch management
104
107
HP-UX patches and patch management
Patch management strategies
How to get patches
Where to start
Before you begin
Quick start guide for patching HP-UX systems
Overview
Should you use standard HP-UX patch bundles?
Acquiring and installing standard HP-UX patch bundles
Standard HP-UX patch bundles
Acquiring the bundles
Installing the bundles
As root, run the createdepothp-ux11script
Advanced topic using Dynamic Root Disk DRD
Swlist
Acquiring and installing individual patches
Acquiring the patches
Quick start guide for patching HP-UX systems
Installing the patches
Swverify -d \* @ /tmp/somepatchdirectory/depot
Advanced topic using Dynamic Root Disk DRD
Patch identification
HP-UX patch overview
Patch-related concepts
HP-UX software structure
Patch bundles
Software depots and patch depots
Patch status
Patch state
State
Category tags
Swlist -l fileset -a state grep patchid
Which patches are on a system?
Swlist -l product -a categorytag patchid
Examples of the swlist command
For example
$ swlist -l product *,c=patch
$ swlist -l product *,c=manualdependencies
$ swlist -l bundle @ somesystem
Ancestors and supersession
Ancestors
$ swlist -l fileset -a ancestor PHSS29183
Supersession
Swlist -a appliedpatches filesetname
$ swlist -a appliedpatches Xserver.AGRM
Swlist -l patch -x showsupersededpatches=true
Showpatches -s
$ swlist -l fileset -a supersedes PHSS28681
Swlist -a patchstate -x showsupersededpatches=true patchid
Patch-related attributes
HP-UX Patch Supersession Chain
See Category tags
Patch dependencies
Types of dependencies
Corequisites and prerequisites
Enforced and unenforced manual dependencies
Impact of dependencies on acquiring patches
Swlist -vl fileset -a dependencytype fileset
Patch rollback and commitment
Patch rollback
Patch commitment
Advanced topic patch cleanup utility
Cleanup -p -c number
HP-UX patch ratings
HP patch rating
Rating details
Patch documentation
Critical and noncritical patches
Finding information for a specific patch
$ swlist -l product -a categorytag PHSS30011
Subset of fields in patch text file and patch details
Advanced topic the readme attribute
Obtaining information using the Itrc
Patch warnings
Swlist -l product -a readme patchid more
Critical and noncritical warnings
How to handle patch warnings
Questions to ask
Advanced topic finding patches with warnings
Backup and recovery
Considerations
Patch management overview
Patch management life cycle
Patch management life cycle
Patch management overview
Establishing a software change management strategy
Restrictive Conservative Innovative
Recommendations for software change management
Operational factor and patch management strategy matrix
Consideration of HP patch rating
Patch management and software depots
Proactive patching strategy
Acquiring patches for proactive patching
Reactive patching strategy
Advanced topic HP-UX Software Assistant
Advanced topic security patching strategy
Acquiring patches for reactive patching
Testing the patches to be installed
Advanced topic scanning for security patches
Key features
What are standard HP-UX patch bundles?
Standard HP-UX patch bundles
Obtaining standard HP-UX patch bundles
Standard HP-UX patch bundle use and release dates
Quick start guide for patching HP-UX systems
Useful pages on the Itrc
Using the IT Resource Center
Obtaining an Itrc user account
Find individual patches
Key features
Accessing the patch database and finding an individual patch
Click the add to selected patch list button
Using the IT Resource Center
Advanced topic checking for all patch dependencies
Check for patches with dependencies
Using the IT Resource Center
Click the add to selected patch list button
Support information digests
Standard patch bundles
Custom patch bundles run a patch assessment
Ask your peers in the forums
Search knowledge base
Using software depots for patch management
Common software distributor commands for patching
Depot types
Directory depots
Using depots
Tape depots
Viewing depots
Choosing depot type and depot location
Swlist -l depot
$ swlist -l depot
Swlist -l depot @ remotesystem
$ swlist -l depot @ swdepot.xyz.com
Creating and adding to a directory depot
Copying patches to depots
Depot/patches/11.11
Registering and unregistering directory depots
Advanced topic HP-UX Software Assistant
Copying products with patch dependencies to depots
$ swreg -l depot /depot/patches/2003-07periodicdepot
Advanced topic access control lists
Examples of registering and unregistering depots
$ swreg -u -l depot /depot/patches/2003-07periodicdepot
Verifying directory depots
Examples of verifying directory depots
$ swverify -d \* @ /mydepots/newdirectorydepot
Verification succeeded
Verification had errors
Removing software from a directory depot
$ swverify -d \* @ /mydepots/PHSS30278depot
Execution succeeded
$ /usr/sbin/cleanup -d /mydepots/patchdepot
Advanced topic removing superseded patches from a depot
$ swlist -l product -d @ /mydepots/patchdepot
$ swlist -l product @ /mydepots/patchdepot
Installing patches from a depot
Removing a directory depot
$ swreg -u -l depot /mydepots/PHCO27780depot
Reboots the system when required
Examples of installing patches from a depot
Analysis succeeded
Installing products with patch dependencies from a depot
Custom patch bundles
Analysis and Execution succeeded
Examples of listing patches and bundles
Rev Patch description
Rev Bundle Description
Creating a custom bundle
$ swlist -d @ /mydepots/temporarydepot
Analysis succeeded
Finally, remove the temporary depot
Using HP-UX Software Assistant for patch management
For more information
Using Dynamic Root Disk for patch management
Drd1m
Using the Patch Assessment Tool
Patch Assessment Tool
Benefits of the Patch Assessment Tool
Example of running the Patch Assessment Tool
Select upload new system information
Support and other resources
Contacting HP
Related information
Typographic conventions
HP websites
Non-HP websites
Times
Patch usage models
Patch usage model 1 hardware/application software change
Components in test Image Then production
DRD
Begi n Product needs to be certified on HP-UX 11i v2/v3
Patch usage model 3 operating environment cold install
Patch usage model 3 operating environment cold install
Patch usage model 4 operating environment update