Patch Management User Guide for HP-UX 11.x Systems (5900-3011, April 2013)
Table Of Contents
- Patch Management User Guide for HP-UX 11.x Systems
- Contents
- 1 HP-UX patches and patch management
- 2 Quick start guide for patching HP-UX systems
- 3 HP-UX patch overview
- 4 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
- 5 What are standard HP-UX patch bundles?
- 6 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
- 7 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
- 8 Using HP-UX Software Assistant for patch management
- 9 Using Dynamic Root Disk for patch management
- 10 The Patch Assessment Tool
- 11 Support and other resources
- A Patch usage models
- Glossary
- Index
• software_selections
◦ Specifies the software to be copied.
◦ Replace software_selections with a wildcard to copy multiple products to the target
depot with one command. 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_system:]/directory_path/target_depot
◦ Specifies the depot directory into which the selected patches will be copied.
◦ Include the name of the target_system to specify a system other than the local one.
◦ If this target does not exist and you execute the swcopy command as a user with
appropriate permissions, the target is created. If you do not have the required permissions,
the command generates an error message that provides information about actions you
can take to resolve the problem.
Copying patches to depots
The following example shows how to copy patch PHCO_27780 from a remote directory depot to
a local directory depot. The process creates the local depot. The following values are specified in
the command line:
• source_system: remote_system
• source_depot: /depot/patches/11.11/
• target_system: my_system
• target_depot: /my_depots/new_directory_depot/
1. List the registered depots on the local system before copying the patch:
$ swlist -l depot
# Initializing...
# Target "my_system" has the following depot(s):
/var/spool/sw
The target_depot/my_depots/new_directory_depot/ does not yet exist.
2. List the registered depots on the remote system:
$ swlist -l depot @ remote_system
# Initializing...
# Target "remote_system" has the following depot(s):
/depot/patches/11.00
/depot/patches/11.04
/depot/patches/11.11
/depot/patches/11.23
Note the source_depot.
3. Show the contents of the source_depot using /depot/patches/11.11/:
$ swlist -l product @ remote_system:/depot/patches/11.11
# Initializing...
# Contacting target "remote_system"...
#
# Target: remote_system:/depot/patches/11.11
#
...
72 Using software depots for patch management