HP-UX SNAplus2 R7 Administration Guide

Administering SNAplus2
Using the Command-Line Administration Program
3.5 Using the Command-Line Administration Program
Command-line conguration enables you to change all SNAplus2 conguration parameters. You can use it to
congure any of the resources that are available through the Motif administration program, and can set or change
conguration 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 denitions. (The Motif administration
program is recommended because it ensures the data you enter is consistent. In addition, it can infer many
conguration values based on menu and dialog choices, and ll in values based on available denitions.)
Most administration commands are used with the
snapadmin command-line administration program. You can issue
snapadmin
commands in the following form:
snapadmin command, parameter1=value1, parameter2=value2, ....
{subrecord_name1}, sub_param1=sub_value1,
sub_param2=sub_value2...
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
command provides help for the named command.
snapadmin -h -d command provides detailed help for the named command, including a list of the
conguration parameters that can be specied with the command.
Some commands can be issued from HP-UX 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 conguration le, or replaces an existing record for the same resource
with the new denition.
delete_*
Removes the corresponding define_* record from the le.
query_*
Returns information from the conguration le on the appropriate component, but does not modify the le.
For complete information about command-line conguration, refer to HP-UX SNAplus2 Administration Command
Reference.
80