HP-UX Reference (11i v2 07/12) - 5 Miscellaneous (vol 9)

s
sd(5) sd(5)
Applies to swinstall, swcopy, and
swpackage.
reinstall_files_use_cksum=true
(For swpackage, the default value for this option is
false.) Controls the use of check-
sum comparisons when the
reinstall_files
option is set to false. At the default
value of true, this option causes SD to compute and compare checksums to determine if a
new file should overwrite an old file. Use of checksums slows the comparison but is a more
robust check for equivalency than size and time stamp.
If set to false, SD does not compute checksums and compares files only by size and times-
tamp.
Applies to
swcopy, swinstall, and swpackage
.
remove_empty_depot=true
Remove an empty depot when the last product is removed. If set to
false, an empty
depot will not be removed, preserving any depot ACLs.
Applies to
swremove.
remove_obsolete_filesets=false
Controls whether swcopy automatically removes obsolete filesets from target products in
the target depot. If set to true, swcopy removes obsolete filesets from the target pro-
ducts that were written to during the copy process. Removal occurs after the copy is com-
plete. Filesets are defined as obsolete if they were not part of the most recent packaging of
the product residing on the source depot.
Applies to swcopy.
remove_setup_cmd=/usr/lbin/sw/remove_setup
Defines the script called by the agent to perform release-specific removal preparation. For
an OS update, this script invokes the tlink command when a fileset is removed.
Applies to swagentd.
Please Note: Transition links do not exist on 11.31 and newer releases so there are no
remove preparation steps to perform therefore the remove_setup_cmd is never executed for
these releases.
retry_rpc=1
Defines the number of times a lost (timed out) source connection will be retried during file
transfers. When used in conjunction with the rpc_timeout option, the success of ins-
talling over slow or busy networks can be increased. If set to zero, any rpc_timeout to
the source causes the task to abort. If set from 1 to 9, then the install of each fileset will be
attempted that number of times. (You can use the
retry_rpc_interval
option to
specify the length of the interval between each retry attempt.)
The
reinstall_files
option should also be set to false to avoid installing files within
the fileset that were successfully installed.
This option also applies to the controller contacting the agent. If the agent session fails to
start for any reason, the controller tries to recontact that agent for the number of times
specified in
retry_rpc, using the values from the retry_rpc_interval option to
determine how long to wait between each attempt to recontact the agent.
Applies to
swcopy and swinstall.
retry_rpc_interval={0}
Specifies in minutes the length of the interval for repeated attempts to make a connection
to a target after an initial failure. Used in conjunction with the retry_rpc option. If
the number of values in this option equals the value of retry_rpc , SD tries reestablish-
ing a source connection for the number of times specified in retry_rpc . If the number of
values in retry_rpc_interval is less than the value in retry_rpc, SD repeats the
final interval value until the number of retries matches retry_rpc.
For example, if an agent session failed to start and retry_rpc was set to 9 and
retry_rpc_interval was set to {1 2 4 8 15} to allow long waits to handle transient
network failures, the SD controller would attempt to recontact the agent after 1 minute for
the first retry, then 2 minutes for the second retry, 4 for the third, then 8, then 15 for all
additional retries until nine retries were attempted. With these values, a file load failure
392 Hewlett-Packard Company 22 HP-UX 11i Version 2: December 2007 Update