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

For more information about the swlist command, see the Software Distributor Administration
Guide on the HP Business Support Center website at http://www.hp.com/go/sd-docs.
Creating and adding to a directory depot
You can use the swcopy command to create a directory depot from an existing tape or directory
depot. Software objects from the source depot are copied into the target directory. By default, the
swcopy command automatically registers newly created directory depots for use by Software
Distributor.
The swcopy command has many possible arguments. For information, consult the swinstall(1M)
manpage or the Software Distributor Administration Guide on the HP Business Support Center
website at http://www.hp.com/go/sd-docs. Note that the swcopy instructions are contained in
the swinstall manpage.
In this chapter, consider only the following command arguments:
swcopy [-p] -s [source_system:] /directory_path/source_depot
software_selections @ [target_system:] /directory_path/target_depot
The swcopy arguments are as follows:
• -p
◦ Executes in preview mode when given the optional -p command line argument.
◦ Does not perform the software copy. It shows what the output from executing the command
will be.
◦ Results in the creation of the root directory for the depot as well as a catalog directory
and a swagent.log file. The log file contains useful information, including disk space
analysis. The command output includes instructions for viewing the information in the log
file. These instructions are similar to the following:
NOTE: More information may be found in the agent
logfile using the command
"swjob -a log target_system-1234 \
@ target_system:/some_directory/target_depot".
• -s [source_system:]/directory_path/source_depot
◦ Specifies the tape or directory depot from which patches will be copied.
◦ Include the name of the source_system to specify a system other than the local one.
◦ Use the appropriate path and depot name of the depot on the media to copy from a
depot located on media, such as CD or DVD.
72 Using software depots for patch management