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
swremove(1M) swremove(1M)
(Hewlett-Packard Company)
NAME
swremove - unconfigure and remove software products
SYNOPSIS
swremove [XToolkit Options][-d|-r][-i][-p][-v][-C session_file][-f software_file ]
[-J jobid][-Q date][-S session_file ][-t target_file ][-x option=value][-X option_file]
[software_selections][@ target_selections]
Remarks
• swremove supports an interactive user interface (GUI) that can be invoked alone or by the sd
command. See Interactive Operation below.
• This command supports operations 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 swremove command removes software_selections from target_selections (e.g. root file systems).
When removing installed software,
swremove also unconfigures the software before it is removed. The
software is not unconfigured when removed from an alternate root directory since it was not configured
during installation. When removing available software (within a depot),
swremove also does not perform
the unconfiguration task.
NOTE : Selecting a bundle for removal does not always remove all filesets in that bundle. If a particular
fileset is required by another bundle, that fileset will not be removed. For example, if the bundles
Pascal
and FORTRAN both use the fileset Debugger.Run and you try to remove FORTRAN, the fileset
Debugger.Run will not be removed because it is also used by the bundle
Pascal. This prevents the remo-
val of one bundle from inadvertently causing the removal of filesets needed by another bundle.
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
swremove supports a graphical user interface (GUI) or a terminal user interface (in which screen naviga-
tion is done with the keyboard and no mouse) if your terminal or display cannot support the GUI.
To invoke the GUI, type
Section 1M−−930 − 1 − HP-UX Release 11i: December 2000
___
___