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

HP-UX Handbook Rev 13.00 Page 15 (of 49)
Chapter 05 Software Distributor (SD-UX)
October 29, 2013
compress_files=false
OptionsChange OptionsCompress files during
transfer
Setting this option to true causes swcopy to compress file before transfer to the target depot. This will conserve
disk space and can enhance performance on slower networks (50 Kilobytes/second or less), although it may not
improve fast networks.
enforce_dependencies=true
OptionsChange OptionsEnforce dependency analysis
errors in agent
Enforces software dependencies. When software to be copied has an SD-UX-enforced dependency, if that
dependency is not present on the target system and is not marked for copying from the source depot the copy
will only proceed if enforce_dependencies is set to false.
While few 11.00 patches currently exist with dependencies enforced by the SD-UX tools, those that do employ
them to enforce critical requirements of content and load order. The majority of 11i patches have SD-UX-
enforced dependencies, making this option very useful. This option should not be set to false unless directed by
an HP Support Engineer.
mount_all_filesystems=true
OptionsChange OptionsMount filesystems in
/etc/fstab or /etc/checklist
By default, swcopy requires that all filesystems listed in the systems /etc/fstab file are mounted prior to
installation. Setting this option to false removes this restriction.
reinstall=false
OptionsChange Options Recopy filesets even if the
same revision exists
Prevents SD-UX from overwriting an existing revision of a fileset. If set to true, filesets will be recopied.
source_tape=/dev/rmt/0m
None (default cannot be changed within GUI)
Specify the device file of the tape drive to be used as the default.
uncompress_files=false
OptionsChange OptionsUncompress files after
transfer
When set to true, files are uncompressed before swcopy puts them into the target depot. See also the
compress_files option.
write_remote_files=false
None
Prevents copying of files to a target that exists on a remote (NFS) file system. By default, swcopy skips files
that would be copied to an NFS file system (or that are already there). When set to true and superuser has write
permission on the remote file system, files are copied to remote systems.
Examples
With the CD mounted at /cdrom, copy the contents of the QPK1100 depot to the local system
under the /var/tmp/MyDepot directory.
swcopy -s /cdrom/QPK1100 \* @ /var/tmp/MyDepot
Invoke an interactive session, using the default depot at hostX as the source:
swcopy -i -s hostX
Copy all patches in current directory to the depot /hub/patches (assuming root shell is
/sbin/sh):
for PATCHDEPOT in *.depot