HP-UX Reference (11i v1 05/09) - 5 Miscellaneous Topics (vol 9)

s
sd(5) sd(5)
(HP-UX Software Distributor)
SD uses a method based on credentials and passwords to authenticate the user and the SD command per-
forming a given operation.
SD also has a nonprivileged mode that replaces ACL authorizations with user file permissions. See the
run_as_superuser
default option and the Software Distributor Administration Guide for more infor-
mation.
Flexible Policy Control
You can control many policies and behaviors for the SD commands by using the command default options.
You can define these options in system-wide or user-specific SD defaults les, specify them on the
command-line when you invoke a command, or specify selected options in the GUI. See the
Default
Options
heading below for more information.
Preview, Diagnostics and Logging
All commands except
swlist and swjob log major events on the controller host and detailed events on
the target hosts.
If both source and target machine are running HP-UX version 11.00 or later, the system administrator at
the source depot machine can track which user pulls which software from a depot on the source machine
and when the software is pulled. Refer to the swagent(1M)
source_depot_audit
option for more
information.
You can use the SD interactive interface (invoked using the
sd command) and the
swjob command line
interface to monitor job progress and to view controller and target log files.
The
swconfig, swcopy, swinstall, swmodify, swpackage , and swremove commands support
a preview mode, where the commands will proceed through the analysis phase, then exit.
Software Products
Software products are organized in a multi-level hierarchy: bundles, products, subproducts, and filesets.
The actual files that make up a product are packaged into filesets. The software_selections for an SD com-
mand can specify bundles, products, individual subproducts, and/or individual filesets.
Compatible Software
Software products specify what machine types and operating systems they support (i.e. are compatible
with). The
swconfig, swinstall , and swverify commands can detect and/or enforce the use of
compatible software.
Vendor-Defined Attributes
You can create your own software attributes when packaging software. Keywords in a product specification
file that are not recognized by SD are preserved, along with their associated values, by being transferred to
the resulting INDEX or INFO files created by swpackageor swcopy. (Refer to swpackage(4) for more
information on INDEX and INFO files.)
Vendor-defined attributes are noted during packaging or when modified with
swmodify. These attributes
can be listed with
swlist.
Dependencies Between Software
The swask, swconfig, swcopy, swinstall , swremove, and swverify commands support depen-
dencies, which is software that must be present or absent before or during the installation of another piece
of software. Dependencies apply between filesets and other filesets and products. SD supports three types
of dependencies: prerequisites that must be installed and configured before the dependent fileset is
installed and configured (respectively); corequisites that must be installed and configured before the depen-
dent is usable. exrequisites that prevent a dependent fileset from being installed or configured when they
are present.
If a software_selection specifies a dependency on other filesets and/or products, the commands will automat-
ically select that software. An exception is
swremove, which can automatically select dependent software
(filesets and/or products that depend on the software_selections).
By default, all dependencies must be resolved before a command will proceed.
Note that if you specify a dependency for a fileset and the fileset is superseded by another fileset as part of
a patch, SD still recognizes the dependency.
Section 5308 Hewlett-Packard Company 3 HP-UX 11i Version 1: September 2005