HP-UX Reference (11i v1 00/12) - 1M System Administration Commands N-Z (vol 4)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/naaagt.1m
________________________________________________________________
___ ___
s
swagentd(1M) swagentd(1M)
NAME
swagent, swagentd - serve local or remote SD software management tasks, daemon that invokes swagent,
respectively
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 man 5 sd on the com-
mand 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 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) swinstall, swcopy, and swremove have enhanced GUI interfaces for remote opera-
tions. Enable the enhanced GUIs by creating the .sdkey file on the controller. Use this command:
touch /var/adm/sw/.sdkey
NOTES:
• This step is not required when you use SD from within the HP ServiceControl Manager.
• See sd(5), swinstall(1M), swcopy(1M), swjob(1M), swlist(1M) or swremove(1M) for more information
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.
Options
The swagentd command supports the following options to control its behavior. (These options do not
apply to swagent, which you cannot start from the command line.)
-k The kill option stops the currently running daemon. Stopping the daemon will not
stop any agent processes currently performing management tasks (such as installing
Section 1M−−834 − 1 − HP-UX Release 11i: December 2000
___
___