Administering SNAplus2

Using the Command-Line Administration Program

Using the Command-Line

Administration Program

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:

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 -hprovides basic help for command-line administration and usage information for command-line help.

snapadmin -h-dprovides a list of commands that can be supplied to the snapadmin program.

snapadmin -hcommandprovides help for the named command.

snapadmin -h-dcommandprovides 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 -noption to specify a server name. Such a command has the same effect as if it were issued at the named server.

130

Chapter 3

Page 130
Image 130
HP UX SNAplus2 manual Using the Command-Line Administration Program