Software Distributor Administrator Guide (September 2010)
7.6.1 Target Selections
By definition, you must specify a remote target for a remote operation. Unlike local
operations, in which a target could be a directory on the local host system, you must
specify remote systems as targets for remote operations.
swinstall -s sw_server cc pascal @ hostA hostB hostC
(This installs the C and Pascal products onto three remote hosts.)
7.6.1.1 Syntax
Software and source depot selections are followed by target selections. These operands
are separated by the “@” (at) character. This syntax implies that the command operates
on selections at targets.
The target_selections syntax is identical for all Software Distributor commands
that require it:
@ [host][:][/directory] | [./relative_path] | [../relative_path]
• Only one @ character is needed.
• You can specify the host by its host name, domain name, or internet address. A
directory must be specified by an absolute path or a relative pathname. If a host
is specified, the directory must be an absolute path. To specify a relative_path
when no host is specified, the relative_path must start with ./ or ../;
otherwise, the specified name is considered as a host.
• The : (colon) is required if you specify both a host and directory.
• On some systems, the @ character is used as the kill function. Type stty on your
system to see if the @ character is mapped to any other function on your system.
If it is, remove the mapping, change the mapping, or use \@.
NOTE: On HP-UX 11i v3, the internet address can also be specified in the IPv6 format.
When IPv6 internet address is specified, it can be optionally enclosed within square
brackets [ and ].
7.6.1.2 Target Files
You can also use an input file to specify targets. To keep the command line shorter,
target selection input files let you specify long lists of targets. With a target selection
file, you only have to specify the single file name.
The -t command-line option lets you specify a target file. For example:
swinstall -f mysoft -s /mnt/cd -t mytargs
In this example, the file mytargs (which resides in the default directory) contains a
list of target selections for the depot /mnt/cd.
170 Remote Operations Overview