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
107
104
Patch management strategies
HP-UX patches and patch management
Where to start
How to get patches
Overview
Quick start guide for patching HP-UX systems
Before you begin
Should you use standard HP-UX patch bundles?
Acquiring and installing standard HP-UX patch bundles
Standard HP-UX patch bundles
Acquiring the bundles
As root, run the createdepothp-ux11script
Installing the bundles
Swlist
Advanced topic using Dynamic Root Disk DRD
Acquiring the patches
Acquiring and installing individual patches
Quick start guide for patching HP-UX systems
Swverify -d \* @ /tmp/somepatchdirectory/depot
Installing the patches
Advanced topic using Dynamic Root Disk DRD
Patch-related concepts
HP-UX patch overview
Patch identification
HP-UX software structure
Software depots and patch depots
Patch bundles
Patch state
Patch status
State
Category tags
Swlist -l fileset -a state grep patchid
Swlist -l product -a categorytag patchid
Which patches are on a system?
For example
Examples of the swlist command
$ swlist -l product *,c=patch
$ swlist -l bundle @ somesystem
$ swlist -l product *,c=manualdependencies
Ancestors and supersession
Ancestors
$ swlist -l fileset -a ancestor PHSS29183
Supersession
Swlist -a appliedpatches filesetname
$ swlist -a appliedpatches Xserver.AGRM
Showpatches -s
Swlist -l patch -x showsupersededpatches=true
Swlist -a patchstate -x showsupersededpatches=true patchid
$ swlist -l fileset -a supersedes PHSS28681
HP-UX Patch Supersession Chain
Patch-related attributes
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
Rating details
HP patch rating
Finding information for a specific patch
Critical and noncritical patches
Patch documentation
$ swlist -l product -a categorytag PHSS30011
Subset of fields in patch text file and patch details
Patch warnings
Obtaining information using the Itrc
Advanced topic the readme attribute
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
Considerations
Backup and recovery
Patch management life cycle
Patch management overview
Patch management life cycle
Patch management overview
Restrictive Conservative Innovative
Establishing a software change management strategy
Operational factor and patch management strategy matrix
Recommendations for software change management
Patch management and software depots
Consideration of HP patch rating
Acquiring patches for proactive patching
Proactive patching strategy
Advanced topic HP-UX Software Assistant
Reactive patching strategy
Acquiring patches for reactive patching
Advanced topic security patching strategy
Advanced topic scanning for security patches
Testing the patches to be installed
Key features
What are standard HP-UX patch bundles?
Standard HP-UX patch bundles
Standard HP-UX patch bundle use and release dates
Obtaining standard HP-UX patch bundles
Quick start guide for patching HP-UX systems
Obtaining an Itrc user account
Using the IT Resource Center
Useful pages on the Itrc
Find individual patches
Accessing the patch database and finding an individual patch
Key features
Click the add to selected patch list button
Using the IT Resource Center
Check for patches with dependencies
Advanced topic checking for all patch dependencies
Using the IT Resource Center
Click the add to selected patch list button
Custom patch bundles run a patch assessment
Standard patch bundles
Support information digests
Ask your peers in the forums
Search knowledge base
Common software distributor commands for patching
Using software depots for patch management
Directory depots
Depot types
Tape depots
Using 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
Depot/patches/11.11
Copying patches to depots
Registering and unregistering directory depots
Advanced topic HP-UX Software Assistant
Copying products with patch dependencies to depots
Examples of registering and unregistering depots
Advanced topic access control lists
$ swreg -l depot /depot/patches/2003-07periodicdepot
$ swreg -u -l depot /depot/patches/2003-07periodicdepot
Verifying directory depots
Examples of verifying directory depots
$ swverify -d \* @ /mydepots/newdirectorydepot
Removing software from a directory depot
Verification had errors
Verification succeeded
$ 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
Removing a directory depot
Installing patches from a depot
$ swlist -l product @ /mydepots/patchdepot
$ swreg -u -l depot /mydepots/PHCO27780depot
Reboots the system when required
Analysis succeeded
Examples of installing patches from a depot
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
$ swlist -d @ /mydepots/temporarydepot
Creating a custom bundle
Analysis succeeded
Finally, remove the temporary depot
For more information
Using HP-UX Software Assistant for patch management
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
Components in test Image Then production
Patch usage model 1 hardware/application software change
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