HP-UX Reference (11i v1 05/09) - 1M System Administration Commands N-Z (vol 4)
s
swinstall(1M) swinstall(1M)
(HP-UX Software Distributor)
NAME
swinstall, swcopy - install and configure software products or prepare software products for subsequent ins-
tallation or distribution
SYNOPSIS
swinstall [XToolkit-Options][
-i][-p][
-r][-v][-c catalog][-C session_file]
[
-f software_file][
-J jobid][-Q date][-s source][-S session_file][
-t target_file]
[
-x option=value][-X option_file][software_selections][
@ target_selections]
swcopy [XToolkit-Options][
-i][-p][
-v][-C session_file][-f software_file][-J
jobid]
[
-Q date][-s source][
-S session_file][-t target_file][-x option=value][
-X option_file]
[software_selections][
@ target_selections]
Remarks
• This command supports operation on remote systems. See the
Remote Operation section
below for details.
•
swinstall and swcopy support an interactive user interface that can be invoked alone or by
the sd command. See Interactive Operation below.
• For an overview of all SD commands, see the sd(5) man page by typing
man 5 sd on the com-
mand line.
DESCRIPTION
The
swinstall command installs the software_selections from a software source to either the local host
or to one or more target_selections (root filesystems). By default, the software is configured for use on the
target after it is installed. (The software is not configured when installed into an alternate root directory.)
The
swcopy command copies or merges software_selections from a software source to one or more
software depot target_selections. These depots can then be accessed as a software source by the
swin-
stall
command.
Remote Operation
You can enable Software Distributor (SD) to manage software on remote systems. To let the root user from
a central SD controller (also called the central management server or manager node) perform operations on
a remote target (also called the host or agent):
1) Install a special HP ServiceControl Manager fileset on the remote systems. This enables remote opera-
tions by automatically setting up the root, host, and template Access Control Lists (ACLs) on the
remote machines and permitting root access from the controller system. To install the fileset, run the
following command on each remote system:
swinstall -s controller:/var/opt/mx/depot11 AgentConfig.SD-CONFIG
NOTES:
• controller is the name of the central management server.
• If the target is running HP-UX 10.20, use the same command but substitute depot10 for
depot11.
• Targets previously set up by SD/OV to be managed by this controller do not need this step.
• SD does not require any other ServiceControl Manager filesets.
2) (Optional) Enable the GUI interfaces for remote operations by creating the .sdkey file on the con-
troller. Use this command:
touch /var/adm/sw/.sdkey
(This step is not required when you use SD from within the HP ServiceControl Manager.)
NOTE: You can also set up remote access by using the swacl(1M) command directly on the remote
machines to grant root or non-root access to users from the controller system.
Interactive Operation
swinstall and swcopy each support a graphical user interface (GUI). (If your terminal or display can-
not support the GUI, these commands also provide a terminal user interface, in which screen navigation is
done with the keyboard and no mouse.)
Section 1M−−918 Hewlett-Packard Company − 1 − HP-UX 11i Version 1: September 2005