Hitachi

JP1 Version 13 JP1/Automatic Job Management System 3 for Cloud Service Applications


ajscsasetup (Windows, Linux)

Organization of this page

Format

ajscsasetup
     -c|-p|-d  Shared-directory-name  -h  Logical-host-name-of-JP1/Base  [-m|-s]

Description

Setup the JP1/AJS3 for Cloud Service Applications server.

Execution privileges

In Windows: Administrators privileges

In Linux: Superuser privileges

Storage directory

In Windows:

JP1/AJS3 for Cloud Service Applications-installation-folder\bin\

In Linux:

/opt/jp1ajs3csa/bin/

Arguments

-c

This option displays the setup details of the JP1/AJS3 for Cloud Service Applications server. The following shows the display items and their descriptions.

No.

Display item

Description

1

Logical host name of JP1/Base

When a logical host is set up, this item shows the logical host name.

2

Shared directory name

When a shared directory is used, this item shows the path to the shared directory.

-p

This option returns the configuration of the JP1/AJS3 for Cloud Service Applications server from the cluster configuration to the default one.

The settings of each configuration file are returned to the defaults, including path and log output destination.

-d Shared-directory-name

When setting up the JP1/AJS3 for Cloud Service Applications server with a cluster configuration, specify the full path to the shared directory.

The number of characters that can be specified is 2 to 100 (unit: byte).

For Windows, if the first two bytes are specified with characters other than the drive letter (e.g., C:), the command terminates abnormally.

Do not specify a disk on the network drive. Also, do not specify a path including multibyte characters.

Do not specify the drive and the root directory.

As the shared directory, specified-shared-directory-name\jp1ajs3csa is created for Windows, and specified-shared-directory-name/jp1ajs3csa for Linux. Under this directory, an environment definition file is created, where the database file is copied. This environment definition file is necessary for operating the JP1/AJS3 for Cloud Service Applications server with a cluster configuration. Note that if these directories already exist with the -m option specified, the command terminates abnormally. When the -m option is specified, make sure that these directories do not exist before executing a command.

-h Logical-host-name-of-JP1/Base

Specify the logical host name where the JP1 user authentication information is set, which is used for cluster configuration.

The number of characters that can be specified is 1 to 255 (unit: byte).

-m

Specify this option when setting up the JP1/AJS3 for Cloud Service Applications server as the primary node of the cluster configuration.

Specify this option together with the -d option. If the directory specified for the -d option does not exist, the command terminates abnormally.

When setting up the primary node, make sure that the shared disk is mounted.

-s

Specify this option when setting up the JP1/AJS3 for Cloud Service Applications server as the secondary node of the cluster configuration.

Specify this option together with the -d option.

When setting up the secondary node, specify the -d option with the path to the shared directory that has been specified for setting up the primary node.

Notes

Return values

0

Normal end

Value other than 0

Abnormal end

Example 1

Display the setup details of the JP1/AJS3 for Cloud Service Applications server.

ajscsasetup -c

Output example

KNBB2520-I Output of settings data will now start.
Logical host name         logicalhost
Shared directory     E:\share
KNBB2521-I Output of settings data ended.

Example 2

This option returns the configuration of JP1/AJS3 for Cloud Service Applications server from the cluster configuration to the default.

ajscsasetup -p

Example 3

Set up the JP1/AJS3 for Cloud Service Applications server as the primary node when the shared directory is E:\SHARE and the logical host of JP1/Base is logicalhost.

ajscsasetup -d E:\SHARE -h logicalhost

or

ajscsasetup -d E:\SHARE -h logicalhost -m

Example 4

Set up the JP1/AJS3 for Cloud Service Applications server as the secondary node when the shared directory is E:\SHARE and the logical host of JP1/Base is logicalhost.

ajscsasetup -d E:\SHARE -h logicalhost -s