HP-UX HB v13.00 Ch-05 - SD-UX

HP-UX Handbook Rev 13.00 Page 25 (of 49)
Chapter 05 Software Distributor (SD-UX)
October 29, 2013
Preview the same operation (do not create the target depot), and generate very verbose output:
swpackage -p -vv -s products
Package the products into the target depot no_files, insert references to the source files instead of
copying
them into the depot:
swpackage -s products -x package_in_place=true @ no_files
Re-package a specific fileset:
swpackage -s products -x package_in_place=true product.fileset @ no_files
Re-package the entire contents of the depot /var/spool/sw onto the tape at /dev/rmt/0m:
swpackage -s /var/spool/sw -x media_type=tape @ /dev/rmt/0m
Create a depot on tape
Which depots are on the server?
# swlist -l depot s myserver
/depots/11.11_AppDART56_Mar02
...
In this example, is Glance in a certain depot?
# swlist -l bundle -s myserver:/depots/11.11_AppDART56_Mar02 |\
grep -i glance
B3701AA_TRY C.03.55.00 Trial HP GlancePlus/UX Pak for s800 11i
...
Copy Glance to a local depot, as it is not possible to copy it directly to tape:
# swcopy -s myserver:/depots/11.11_AppDART56_Mar02 B3701AA_TRY @\
/tmp/glance_depot
Add a patch to the depot:
# swcopy -s server2:/PATCHDEPOT/PHSS_24864 \* @ /tmp/glance_depot
Check depot contents:
# swlist -d -l product @ /tmp/glance_depot
Glance C.03.55.00 HP GlancePlus/UX
MeasureWare C.03.55.00 MeasureWare Software/UX
...