Software Distributor Administration Guide for HP-UX 11i

Managing Software Depots
Registering and Unregistering Depots (swreg)
Chapter 4 151
Registering and Unregistering Depots (swreg)
To make the software in a depot available for use across a network by
other SD-UX commands, you must register the depot. You can also
unregister a depot if you do not want it to be available.
Depots are registered or unregistered in these ways:
The swcopy command automatically registers newly created depots.
(You can turn this function on or off with the register_new_depot
option.)
The swremove command automatically unregisters a depot after
removing all the software the depot contains.
The swreg command explicitly registers or unregisters depots.
The swreg command lets you explicitly register or unregister depots
when the automatic registration features of swcopy or swremove are not
enough. For example, you can use swreg to:
Make a CD-ROM or other media available as a registered depot.
Register a depot that was created with swpackage.
Unregister a depot to restrict network access without physically
removing the depot from a host.
Register Media or Create Network Depot?
When does it make sense to use your software media as a registered
depot versus using the media to create a network depot? In general,
using media as a depot makes sense for small-scale use, such as when
only one or two other systems need to access the media. If more systems
will need to access the media, performance will be better if you create a
network depot from the individual media. See “Additional Depot
Management Tasks and Examples” on page 155 for an example.