swremove.1m (2012 03)

s
swremove(1M) swremove(1M)
Distributor Administration Guide, available at the
http://www.hp.com/go/sd-
docs web site.
See also the
admin_directory
and installed_software_catalog
options.
run_scripts=true
Controls whether or not control scripts are run during a remove session. (See above for
the list of control scripts typically run during
swremove.) Control scripts provide
important cleanup when software is removed. Setting this to false may result in some
manual cleanup being required.
software=
Defines the default software_selections. There is no supplied default. If there is more
than one software selection, they must be separated by spaces.
softreboot=false
Defines the command called by the agent to reboot the system after all filesets have been
removed, if any of the filesets required reboot. If set to
true, softreboot will be
invoked.
software_view=products
Indicates the software view to be used by the Interactive UI of the controller. It can be
set to
products, all_bundles, or a bundle category tag to indicate to show only bun-
dles of that category.
srp_parallel=6
This option is only supported in an HP-UX Containers (SRP) enabled system. It enables
the parallel removal mode on containers. SD limits the number of concurrent remove
operations on containers to the number specified. When a remove operation on any of the
containers gets completed, another container gets selected and the removal begins. This
process continues until all containers have been completed.
Server and disk performance determines the optimal setting; the default value is 6.
A value of:
0 or 1 Disables parallel removal mode. Removal runs in serial mode on one container
at a time.
* Removal runs concurrently on all containers.
targets=
Defines the default target_selections. There is no supplied default (see
select_local
above). If there is more than one target selection, they must be separated by spaces.
verbose=1
Controls the verbosity of the output (stdout). A value of:
0 disables output to stdout. (Error and warning messages are always written to
stderr).
1 enables verbose messaging to stdout.
write_remote_files=false
Prevents the removal of files from a remote (NFS) file system. When set to false, files
on a remote file system are not removed.
If set to
true and if the superuser has write permission on the remote file system, the
remote files are removed.
Session File
Each invocation of
swremove defines a task session. The command automatically saves options, source
information, software selections, and target selections before the task actually commences. This lets you
re-execute the command even if the session ends before the task is complete. You can also save session
information from interactive or command-line sessions.
Session information is saved to the file
$HOME/.sw/sessions/swremove.last. This file is
overwritten by each invocation of the command. The file uses the same syntax as the defaults files.
From an interactive session, you can save session information into a file at any time by selecting the Save
Session or Save Session As option from the File menu.
From a command-line session, you can save session information by executing the command with the
-C
session__file option. You can specify an absolute path for a session file. If you do not specify a directory,
10 Hewlett-Packard Company 10 HP-UX 11i Version 3: March 2012