Command-line
configuration enables you to change all SNAplus2 configuration parameters.
You can use it to configure any of the resources that are available
through the Motif administration program, and can set or change
configuration parameters that are not exposed in the Motif program.
However, this administration method typically requires that you
supply more information than is required for Motif administration.
In addition, you must make sure that the information you provide
is valid and consistent with existing resource definitions. (The
Motif administration program is recommended because it ensures the
data you enter is consistent. In addition, it can infer many configuration
values based on menu and dialog choices, and fill in values based
on available definitions.)
Most administration commands are used with the snapadmin command-line administration
program. You can issue snapadmin
commands in the following form:
You can get help for snapadmin
command-line administration by using any of the following commands:
snapadmin -h
provides basic help for command-line administration and usage information
for command-line help.
snapadmin -h -d
provides a list of commands that can be supplied to the snapadmin program.
snapadmin -h commandprovides
help for the named command.
snapadmin -h -d commandprovides
detailed help for the named command,
including a list of the configuration parameters that can be specified
with the command.
Some commands can be issued from SNAplus2 clients, provided
the command includes the -n option to specify a
server name. Such a command has the same effect as if it were issued
at the named server.
The remainder of this section summarizes administration commands
for different types of resources. Some of the types of commands
listed are as follows:
- status_*
Provides summary information for types of resources.
- define_*
Creates a new define_*
record in the configuration file, or replaces an record for the
same resource with the new definition.
- delete_*
Removes the corresponding define_*
record from the file.
- query_*
Returns information from the configuration file
on the appropriate component, but does not modify the file.
For complete information about command-line configuration,
refer to the HP-UX SNAplus2 Administration Command Reference.