Hitachi

JP1 Version 12 JP1/Automatic Job Management System 3 Command Reference


ajswebsetup

Organization of this page

Format

ajswebsetup
     -c|-p|-d shared-directory [-m|-s]

Description

Execution privileges

Storage directory

In Windows:

JP1/AJS3 - Web Console-installation-folder\bin\

In Linux:

/opt/jp1ajs3web/bin/

Arguments

-c

Displays the settings. The following table lists and describes the displayed items:

No.

Displayed item

Description

1

shared directory

When a shared directory is used, the path to the shared directory is displayed.

-p

Resets the Web Console server settings so that the environment definition file on the local disk with JP1/AJS3 - Web Console installed is used for operation.

-d shared-directory-name

Specifies the path to the shared directory when a cluster configuration is used. You must specify an existing directory.

You can specify a character string of 2 to 100 bytes in Linux, 4 to 100 bytes in Windows.

In Windows, if you specify a character string other than a drive (for example -C:) for the first two bytes, the command terminates abnormally.

Specify an absolute path. If an absolute path is not used, the command terminates abnormally.

You cannot specify the root directory (for example, / in Linux, C:\ in Windows).

You cannot specify a disk on a network drive.

You cannot specify a path that contains a multi-byte character.

A shared directory is created in specified-shared-directory-name\jp1ajs3web (in Windows) or specified-shared-directory-name/jp1ajs3web (in Linux). Then, under that shared directory, an environment definition file necessary for operating the Web Console server in a cluster configuration is created. Note, however, that if these directories already exist when the -m option is specified, the command terminates abnormally. If you specify the -m option, make sure that these directories do not exist before executing the command.

-m

Sets up a cluster configuration (executing system).

You must specify this option with the -d options. If the directory you specify in -d option does not exist, the command terminates abnormally.

Before you execute the command on the primary node, make sure that the shared disk is mounted.

-s

Sets up a cluster configuration (standby system).

You must specify this option with the -d options.

For the -d option, be sure to specify the shared directory that was specified on the primary node.

Notes

Return values

0

Normal end

A value other than 0

Abnormal end

Example

In this example, the command sets up a cluster configuration (executing system).

ajswebsetup -d shared-directory -m

Output example

The following is an example of file output when you specify the -c option.

KNAK2520-I Output of settings data will now start.
shared directory    E:\share
KNAK2521-I Output of settings data ended.