Software Distributor Administration Guide for HP-UX 11i

Reliability and Performance
Staging
Chapter 8248
To do a staged installation:
1. First, decide on the location of the intermediate depots and use the
swcopy command to copy the software from your master depot to
them. This step is no different from a normal multi-target copy
operation.
swcopy -s master -t
depot_list
NewApp
In this example, the master source depot containing the product
NewApp is in the default /var/spool/sw depot location and a file
named depot_list contains the list of intermediate depots.
The depot_list could identify the designated intermediate depots
that have been configured for each group of targets, or it could
identify an intermediate depot located on each target.
2. Next, use the swinstall command combined with the option
use_alternate_source=true to do the actual installation. The
use_alternate_source option is specified from either the CLI (i.e.,
-x use_alternate_source=true) or via the Options Editor window
in the GUI. The default value is false.
swinstall -s master -x use_alternate_source=true \
-t targ_list NewApp
The use_alternate_source=true option instructs each target to
use its own configured source for the installation. The source that is
specified on the swinstall CLI is used only by the controller for the
validation of your software selections. The file targ_list contains
the list of targets.
When use_alternate_source is true, each target agent looks for the
corresponding swagent.alternate_source option in its own
defaults file. The protocol sequence and endpoint given by the option,
swagent.rpc_binding_info, are used when the agent attempts to
contact the depot specified by swagent.alternate_source. An
alternate source is specified using the host:/path, /path, or host
syntax.
If there is a
host:/depot_path
specified in the target’s
swagent.alternate_source option, the agent gets the software
from this source. If only a
host
is specified, the target agent uses
the same depot path used by the controller.