swconfig.1m (2010 09)
s
swconfig(1M) swconfig(1M)
• If remote system is 11.00, make sure SD patch PHCO_22526 or a superseding patch is installed
on remote system before running setaccess.
• If remote system is older than 11.00 or for some other reason does not have
setaccess in place,
copy
setaccess script from an 11.11 or higher system to the remote system.
2)
swinstall, swcopy, and swremove
have enhanced GUI interfaces for remote operations.
Enable the enhanced GUIs by creating the .sdkey file on the controller. Use this command:
touch /var/adm/sw/.sdkey
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.
Interactive Operation
swconfig can perform limited interactive operations when the
ask option is set to true. This option
executes an interactive request script . Request scripts can also be executed by
swinstall and swask.
See the
ask=false default option for more information. See also swinstall (1M) and swask(1M).
Options
swconfig supports the following options:
-c catalog Specifies the pathname of an exported catalog which stores copies of the response
file or files created by a request script (if -x ask=true or -x
ask=as_needed). Response files are also stored in the Installed Products
Database.
-C session_file Save the current options and operands only to the session_file. You can enter a
relative or absolute path with the file name. The default directory for session files
is $HOME/.sw/sessions/
. Without this option, by default, the session file is
saved only in the default directory
$HOME/.sw/sessions/
.
You can recall a session file with the
-S option.
-f software_file
Read the list of software_selections from software_file instead of (or in addition to)
the command line.
-J jobid Executes the previously scheduled job. This is the syntax used by the daemon to
start the job.
-p Previews a configuration task by running the session through the analysis phase
only.
-Q date Schedules the job for this date. You can change the date format by editing the
/var/adm/sw/getdate.templ file.
-S session_file Execute swconfig based on the options and operands saved from a previous ses-
sion, as defined in session_file. You can save session information to a file with the
-C option.
-t target_file Read the list of target_selections from target_file instead of (or in addition to) the
command line.
-u Causes swconfig to unconfigure the software instead of configuring it.
-v Turns on verbose output to stdout. (The swconfig logfile is not affected by this
option.) Verbose output is enabled by default; see the verbose option below.
-x option=value
Set the session option to value and override the default value (or a value in an
alternate option_file specified with the -X option). Multiple -x options can be
specified.
-X option_file Read the session options and behaviors from option_file.
Operands
Most SD commands support two types of operands: software selections followed by target selections .
These operands are separated by the "at" (
@) character. This syntax implies that the command operates
2 Hewlett-Packard Company − 2 − HP-UX 11i Version 3: September 2010