HP-UX Reference (11i v1 05/09) - 5 Miscellaneous Topics (vol 9)
s
sd(5) sd(5)
(HP-UX Software Distributor)
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
By default, all SD commands except
sd and swask operate in a non-interactive mode. The
swcopy,
swinstall, swlist, and swremove commands also support a graphical user interface (GUI). (If your
terminal or display cannot support the GUI, these commands also provide a terminal user interface, in
which screen navigation is done with the keyboard and no mouse.)
To invoke the GUI, enter the command without any command-line options or add the -i option with other
command-line options when you invoke the command. You must specify the
-i option to invoke the
swlist GUI.
The swconfig and the command-line version of swinstall work interactively when the
ask option
is set to
true. This option executes an interactive request script.
The sd command is an interactive interface for monitoring and scheduling software jobs. It provides the
same functionality as the
swjob command. You can also use sd to invoke the swinstall, copy, and
swremove GUIs.
If you have enabled SD’s remote operations features, swinstall, swcopy, and swremove provide
enhanced GUIs to support operations on remote targets. See
Remote Operation above for details
about enabling remote operations and the enhanced GUIs.
Distributed Operation
All SD commands except swask, swpackage , and swmodify use a distributed model of operation.
The commands act as the controller for distributed operations, managing the specific software management
tasks. For each target_selection, an SD agent process performs the task:
•
swagent - perform software management tasks as the agent of an SD command.
Communication between the command and each agent, plus other target host activities are facilitated by an
SD daemon process:
• swagentd - serve local or remote software management tasks.
Software Job Management
The swinstall, copy, and remove commands create job information that records the job definition
(in a session file), status, and log information for the job. You can execute jobs immediately, or schedule
them for later execution. You can browse the scheduled, active, and completed jobs using either the
swjob command or the sd interactive interface.
Secure Operation
SD uses Access Control Lists (ACLs) to authorize users attempting to create, modify, or read software pro-
ducts in a depot or installed to a root file system. The superuser can grant specific local and remote users
specific access permissions to a target host, a target depot, and/or a target root file system. (Note that SD
does not use ACLs for tasks invoked by a local root user.)
Because files are loaded and scripts are run as superuser, granting write permission (to install software) on
a root file system or insert permission (to create a new root) on a host, effectively gives the user superuser
privileges.
HP-UX 11i Version 1: September 2005 − 2 − Hewlett-Packard Company Section 5−−307