swagentd.1m (2011 03)
s
swagentd(1M) swagentd(1M)
NAME
swagentd, swagent - daemon that invokes swagent; serve local or remote SD software management tasks
SYNOPSIS
swagent executed by swagentd only.
swagentd [-k][-n][
-r][-x option=value ][-X option_file ]
Remarks
• This command supports operation on remote systems. See Remote Operation below.
• For an overview of all SD commands, see the sd (5) man page by typing
man5sdon the command
line.
DESCRIPTION
The roles of UNIX target and source systems require two processes known as the
daemon and agent.
For most purposes, the distinction between these two processes is invisible to the user and they can be
viewed as a single process.
Each SD command interacts with the daemon and agent to perform its requested tasks.
The
swagentd daemon process must be scheduled before a UNIX system is available as a target or
source system. This can be done either manually or in the system start-up script. The swagent agent
process is executed by swagentd to perform specific software management tasks. The swagent agent
is never invoked by the user.
Remote Operation
You can enable SD to manage software on remote systems. To let the root user from a central SD con-
troller (also called the central management server or manager node) perform operations on a remote tar-
get (also called the host or agent):
1) Set up the root, host, and template Access Control Lists (ACLs) on the remote machines to permit
root access from the controller system. To do this, run the following command on each remote sys-
tem:
/usr/lib/sw/mx/setaccess
controller
NOTES:
• controller is the name of the central management server.
• If remote system is 11.00, make sure SD patch PHCO_22526 or a superseding patch is
installed on remote system before running
setaccess.
• If remote system is older than 11.00 or for some other reason does not have
setaccess in
place, copy
setaccess script from an 11.11 or higher system to the remote system.
2)
swinstall, swcopy, and swremove have enhanced GUI interfaces for remote operations.
Enable the enhanced GUIs by creating the .sdkey file on the controller. Use this command:
touch /var/adm/sw/.sdkey
See sd(5), swinstall (1M), swcopy (1M), swjob (1M), swlist (1M) or swremove(1M) for more informa-
tion on interactive operations.
NOTE: You can also set up remote access by using
swacl directly on the remote machines to grant root
or non-root access to users from the controller system.
Disable and Enable
The
swagentd daemon can be disabled by the system administrator by setting the
SW_ENABLE_SWAGENTD entry in /etc/rc.config.d/swconfig to 0 and executing:
/usr/sbin/swagentd -k
The swagentd daemon can be enabled by the system administrator by setting the
SW_ENABLE_SWAGENTD entry in /etc/rc.config.d/swconfig to 1 and executing:
/usr/sbin/swagentd -r
HP-UX 11i Version 3: March 2011 − 1 − Hewlett-Packard Company 1