Invoking the administration tool

 

The administration tool has a command line interface. We can use this interactively, or use it to start a batch process. The interactive mode provides a command prompt where we can enter administration commands. In the batch mode, the command to start the tool includes the name of a file that contains an administration command script.

To start the tool in interactive mode, enter the command:

JMSAdmin [-t] [-v] [-cfg config_filename]
where:

-t

Enables trace (default is trace off)

-v

Produces verbose output (default is terse output)

-cfg config_filename

Names an alternative configuration file (see Configuration)

A command prompt is displayed, which indicates that the tool is ready to accept administration commands. This prompt initially appears as:

InitCtx>
indicating that the current context (that is, the JNDI context to which all naming and directory operations currently refer) is the initial context defined in the PROVIDER_URL configuration parameter (see Configuration).

As you traverse the directory namespace, the prompt changes to reflect this, so that the prompt always displays the current context.

To start the tool in batch mode, enter the command:

JMSAdmin <test.scp
where test.scp is a script file that contains administration commands (see Administration commands). The last command in the file must be the END command.


uj10800_