Software Distributor Administrator Guide (September 2010)

2.2 Configuring Your Installation (swconfig)
The swconfig command runs configuration scripts. Although swinstall and
swremove automatically run configuration or unconfiguration scripts, swconfig lets
you work independently of these commands. This lets you:
Execute scripts to address problems if a configuration fails, is deferred, or must
be changed.
Explicitly configure, unconfigure or reconfigure any installed software that has
associated configuration scripts.
Configure or unconfigure hosts that share software located on another host.
2.2.1 Features and Limitations
swconfig can execute these kinds of scripts:
Configure Configures installed filesets or products. (Executed by
swconfig and swinstall.)
Request Requests an interactive response from the user as part of the
configuration process.
Unconfigure Undoes configurations performed by configure scripts. For
example, removing configuration from the host’s /etc/
profile or /sbin/rc files. This moves the software from the
configured state back to installed.
The swconfig command runs only from the command line interface.
The swconfig command configures the host on which the software will run.
Filesets or products can include configure (unconfigure) scripts.
The swinstall and swremove commands do not automatically run configuration
scripts when you specify an alternate root directory with these commands. You
must run swconfig to configure or unconfigure alternate roots.
Automatic configuration can also be postponed on software installed to the root
directory, / (for example, when multiple versions are installed), by using the
defer_configure command option with swinstall or swremove.
By default, swconfig only supports configuration of compatible software. You
can switch this feature on or off with the allow_incompatible option.
If a fileset relies on another software product for proper operation, that software
product must be in a configured state and is controlled by the
enforce_dependencies option.
The swconfig command configures only one version of a fileset at a time,
controllable through the allow_multiple_versions option.
2.2 Configuring Your Installation (swconfig) 71