HP-UX Reference (11i v1 05/09) - 1M System Administration Commands N-Z (vol 4)
s
swconfig(1M) swconfig(1M)
(HP-UX Software Distributor)
• 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
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 to session_file. You can enter a relative or
absolute path with the file name. The default directory for session files is
$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 com-
mand 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 alter-
nate 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 on
"software selections at targets".
Section 1M−−908 Hewlett-Packard Company − 2 − HP-UX 11i Version 1: September 2005