Software Distributor (SD-UX) Administration Guide HP-UX 11i v1, 11i v2, and 11i v3 (762797-001, March 2014)

Table Of Contents
Verifying Your Installation (swverify)
The swverify command verifies depot, installed, or configured software products on the specified
host.
Features and Limitations
Determines whether installed or configured software is compatible with the host on which that
software is installed.
Makes sure that all dependencies (prerequisites, corequisites) are being met (for installed
software) or can be met (for copied software).
Executes verification scripts that check the correctness of the product’s configuration (that is,
scripts verify that the installed state of the software is configured).
Executes fix scripts to correct or report problems with installed software:
Corrects and reports on problems in installed software. Typical uses are to create
missing directories, correct file modifications (mode, owner, group, major, minor),
and to recreate missing symbolic links.
Fix
Verify Verifies the configuration of filesets or products, in addition to the standard swverify
checks.
(See Chapter 11: “Using Control Scripts ” (page 201) for more information.)
Reports missing files, checks all file attributes including permissions, file types, size, checksum,
mtime, link source and major/minor attributes.
Uses dependencies to automatically select software on which to operate (in addition to any
software you specify directly). See “Software Dependencies (page 22) for more information.
The Verification Process
The software verification process has only two phases: selection and analysis.
Phase I: Selection
This phase consist of swverify resolving all information on the command line, including all necessary
host, software, dependency, and product information.
The swverify behavior can be controlled by the enforce_selections option. If set to false
(default), swverify proceeds even when only one software selection is available in the source.
If set to true, swverify proceeds only if all of the software selections are available.
Phase II: Analysis
The analysis phase for swverify takes place on the host. The host’s environment is not modified.
The sequential analysis tasks on each host are:
1. Initiate analysis
2. Process software selections. The system accesses the Installed Products Database (IPD) or depot
catalog to get the product information for the selected software:
For installed software, the system checks that all products are compatible with its uname
attributes. This check is controlled by the default option allow_incompatible:
If allow_incompatible is set to false, the system produces an error stating that the
product is not compatible with the host.
If allow_incompatible is set to true, a warning is issued stating that the product is
not compatible.
Verifying Your Installation (swverify) 57