Patch Management User Guide for HP-UX 11.x Systems (762796-001, March 2014)
Table Of Contents
- Patch Management User Guide for HP-UX 11.x Systems
- Contents
- 1 HP secure development lifecycle
- 2 HP-UX patches and patch management
- 3 Quick start guide for patching HP-UX systems
- 4 HP-UX patch overview
- 5 Patch management overview
- Patch management life cycle
- HP service contracts
- Patch management and software change management strategies
- Establishing a software change management strategy
- Recommendations for software change management
- Consideration of HP patch rating
- Patch management and software depots
- Proactive patching strategy
- Reactive patching strategy
- Advanced topic: security patching strategy
- Advanced topic: scanning for security patches
- Testing the patches to be installed
- 6 What are standard HP-UX patch bundles?
- 7 Using the HP Support Center
- Obtaining an HPSC user account
- Useful pages on the HPSC
- Find individual patches
- Advanced topic: checking for special installation instructions
- Advanced topic: checking for all patch dependencies
- Standard patch bundles
- Custom patch bundles - run a patch assessment
- Support information digests
- Ask your peers in the forums
- Search knowledge base
- 8 Using software depots for patch management
- Common software distributor commands for patching
- Depot types
- Using depots
- Viewing depots
- Creating and adding to a directory depot
- Registering and unregistering directory depots
- Verifying directory depots
- Removing software from a directory depot
- Removing a directory depot
- Installing patches from a depot
- Custom patch bundles
- 9 Using HP-UX Software Assistant for patch management
- 10 Using Dynamic Root Disk for patch management
- 11 The Patch Assessment Tool
- 12 Support and other resources
- 13 Documentation Feedback
- A Patch usage models
- Glossary
- Index

• -x patch_match_target=true
Selects for installation only those patches that correspond to products installed on the target
system.
• software_selections
Specifies the software to be installed. If you use the -x patch_match_target=true option,
you do not need to specify a software selection.
To install multiple products to the target depot with one command, replace
software_selections with a wildcard. For example:
◦ \* selects everything from the source depot.
◦ \*,c=patch selects all patches from the source depot.
◦ PHXX_12345 selects patch PHXX_12345 from the source depot.
• @ target_selections
Specifies the system on which the specified software is to be installed. Use this optional
argument if the target system is not the local system.
CAUTION: Before you install any patches, you should back up your system.
On the previous page, the swinstall command with the arguments includes the
autoreboot=true argument. If the Automatic Reboot field of a patch's patch details page or in
the patch text file is set to true when you use the swinstall command to install patches then
the target system will automatically reboot.
A brief warning is given just prior to system reboot, but the system goes down immediately after
the warning is issued. Therefore, it is very important that, prior to installing any patches that require
a system reboot, you follow your company's policy regarding a system reboot.
For information, see the Software Distributor Administration Guide on the HP Business Support
Center website at http://www.hp.com/go/sd-docs and the swinstall(1M) manpage.
Examples of installing patches from a depot
To install all applicable patches in the directory depot /my_depots/depot on the local system,
use this command:
For example:
$ swinstall -s /my_depots/depot \
-x autoreboot=true -x patch_match_target=true
======= 05/03/04 14:07:16 MDT BEGIN swinstall SESSION
(non-interactive) (jobid=my_system-0856)
* Session started for user "some_user@my_system".
* Beginning Selection
* Target connection succeeded for "my_system:/".
* Source connection succeeded for "my_system:/my_depots/depot".
* Source: /my_depots/depot
* Targets: my_system:/
* Software selections:
PHSS_30501.AGRM,l=/,r=B.11.11.22,
a=HP-UX_B.11.11_32/64,v=HP,fr=B.11.11.22,
fa=HP-UX_B.11.11_32/64
...
PHSS_30501.XEXT-RECORD,l=/,r=B.11.11.22,
a=HP-UX_B.11.11_32/64,v=HP,
82 Using software depots for patch management