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
swconfig(1M) swconfig(1M)
NAME
swconfig - configure, unconfigure, or reconfigure installed software
SYNOPSIS
swconfig [-p][-u][-v][-c catalog][-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
• This command supports operation on remote systems. See Remote Operation below.
• swconfig can perform limited interactive operations. 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 swconfig command configures, unconfigures, or reconfigures installed software products for execu-
tion on the specified targets. The
swconfig command transitions software between INSTALLED and
CONFIGURED states. Although software is automatically configured as part of the
swinstall
com-
mand and unconfigured as part of the
swremove command, swconfig lets you configure or
unconfigure software independently when the need arises.
Configuration primarily involves the execution of vendor-supplied configure scripts. These scripts perform
configuration tasks which enable the use of the software on the target hosts. A vendor can also supply
unconfigure scripts to "undo" the configuration performed by the configure script.
NOTES:
• You should execute
swconfig when an initial configuration by swinstall failed, was
deferred, or needs to be changed.
• With
swinstall, you can defer configuration by using the defer_configure
default option.
•
swinstall does not perform configuration on multiple versions of software.
• The swconfig command only operates on software installed to the primary root file system.
• swinstall and swremove do not run configure or unconfigure scripts when you specify an
alternate root directory with those commands.
Other features of swconfig include:
• By default, the swconfig command supports only configuration of compatible software.
• If a fileset specifies a prerequisite on other software, that software must be in a "configured" state
before the software specifying the dependency will be configured.
• The swconfig command configures multiple versions of a product if you set
allow_multiple_versions=true. The vendor must therefore detect and prevent multiple
configured versions in their configure scripts, if that is necessary.
• Configure scripts are useful for software updates and reinstallation, as well as first-time installa-
tion.
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.
Section 1M−−856 − 1 − HP-UX Release 11i: December 2000
___
___