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?
Standard HP-UX patch bundles
Acquiring and installing 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
Category tags
State
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
Ancestors and supersession
$ swlist -l fileset -a ancestor PHSS29183
Swlist -a appliedpatches filesetname
Supersession
$ 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
Types of dependencies
Patch dependencies
Corequisites and prerequisites
Impact of dependencies on acquiring patches
Enforced and unenforced manual dependencies
Swlist -vl fileset -a dependencytype fileset
Patch rollback
Patch rollback and commitment
Patch commitment
Cleanup -p -c number
Advanced topic patch cleanup utility
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
Questions to ask
How to handle patch warnings
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
What are standard HP-UX patch bundles?
Key features
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
Choosing depot type and depot location
Viewing depots
Swlist -l depot
Swlist -l depot @ remotesystem
$ swlist -l depot
$ swlist -l depot @ swdepot.xyz.com
Creating and adding to a directory depot
Copying patches to depots
Depot/patches/11.11
Advanced topic HP-UX Software Assistant
Registering and unregistering directory depots
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
Examples of verifying directory depots
Verifying directory depots
$ swverify -d \* @ /mydepots/newdirectorydepot
Verification succeeded
Verification had errors
Removing software from a directory depot
$ swverify -d \* @ /mydepots/PHSS30278depot
Execution succeeded
Advanced topic removing superseded patches from a depot
$ /usr/sbin/cleanup -d /mydepots/patchdepot
$ 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
Custom patch bundles
Installing products with patch dependencies from a depot
Analysis and Execution succeeded
Rev Patch description
Examples of listing patches and bundles
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
Patch Assessment Tool
Using the Patch Assessment Tool
Benefits of the Patch Assessment Tool
Example of running the Patch Assessment Tool
Select upload new system information
Contacting HP
Support and other resources
Related information
HP websites
Typographic conventions
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