Hitachi

JP1 Version 12 JP1/Automatic Job Management System 3 Configuration Guide


13.3.4 Details on settings in the network-settings file (ajscd_ajs3web.properties)

This subsection describes the details on the format of settings and the items to be set in the network-settings file (ajs3cd_ajs3web.properties).

Organization of this subsection

(1) File storage directory

The ajscd_ajs3web.properties file is not created in the initial status of JP1/AJS3 - Web Console immediately after JP1/AJS3 - Web Console has been installed. While the ajscd_ajs3web.properties file is not created, JP1/AJS3 - Web Console operates by using default settings.

Create the ajscd_ajs3web.properties file only when you want to change settings from the default settings.

(a) Model file storage directory

The following shows the directory storing the model file (ajscd_ajs3web.properties.model) for the network-settings file.

/etc/opt/jp1ajs3web/conf

(b) ajscd_ajs3web.properties file storage directory

Store the ajscd_ajs3web.properties file in the same directory as the model file ajscd_ajs3web.properties.model.#

#

In a cluster configuration, the file name is as follows:

shared-directory/jp1ajs3web/conf

(2) File-editing procedure

The following describes the procedure for editing the ajscd_ajs3web.properties file:

  1. Execute the following command to stop the web application server.

    /etc/opt/jp1ajs3web/jajs_web_stop -t app
  2. If the ajscd_ajs3web.properties file has already been defined, back up the file in any directory.

  3. Copy the model file (ajscd_ajs3web.properties.model), and then rename the copy of the model file to ajscd_ajs3web.properties.

  4. Open the ajscd_ajs3web.properties file by using a text editor such as vi.

  5. Modify the definitions to be changed.

  6. Save the file by using UTF-8 encoding.

  7. Execute the following command to start the web application server.

    /etc/opt/jp1ajs3web/jajs_web -t app

(3) When the setting takes effect

When the JP1/AJS3 Web Application Server service starts

(4) Format

The following shows the format of settings in the ajscd_ajs3web.properties file:

ajscd.port_number=port-number-for-connection-to-JP1/AJS3-Manager
ajscd.connect_timeout=timeout-period-of-connection-to-JP1/AJS3-Manager
ajscd.connect_retry_count=number-of-retries-of-connection-to-JP1/AJS3-Manager
ajscd.connect_retry_interval=interval-of-retries-of-connection-to-JP1/AJS3-Manager
ajscd.receive_timeout=timeout-period-of-data-reception-from-JP1/AJS3-Manager
ajscd.login_wait=wait-time-for-login

When writing a comment on a line, begin the comment line with a hash mark (#).

(5) Setting items

The following describes the items to be set. Delimit each item by using a linefeed.

(a) ajscd.port_number

Specify the port number of the port to connect to JP1/AJS3 - Manager.

Change this setting when the default port number cannot be used for JP1/AJS3 - Manager.

Specifiable values

5001 to 65535

Default value

22250

Recommended value

Set the value appropriate for the operating environment.

(b) ajscd.connect_timeout

Specify the timeout period for the connection to JP1/AJS3 - Manager.

By default, connection timeout processing is disabled. Change the setting from the default when you want to enable the timeout processing for the connection to JP1/AJS3 - Manager.

Specifiable values

0 to 86,400 (units: seconds)

When 0 is specified, connection timeout processing is disabled.

Default value

0 (Connection timeout processing is disabled.)

Recommended value

Set the value appropriate for the operating environment.

Cautionary note

The connection timeout specification of the OS and the connection timeout setting in the OS might cause a connection timeout to occur earlier than the timeout period you specify for this setting item.

(c) ajscd.connect_retry_count

Specify the number of times to retry when a communication error occurs in an attempt to connect to JP1/AJS3 - Manager.

Specifiable values

0 to 100 (units: number of times)

Default value

3

Recommended value

Set the value appropriate for the operating environment.

(d) ajscd.connect_retry_interval

Specify the interval for retry attempts when a communication error occurs in an attempt to connect to JP1/AJS3 - Manager.

Specifiable values

1 to 300 (units: seconds)

Default value

12

Recommended value

Set the value appropriate for the operating environment.

(e) ajscd.receive_timeout

Specify the timeout period for data reception from JP1/AJS3 - Manager.

Specifiable values

0 to 86,400 (units: seconds)

When 0 is specified, reception timeout processing is disabled.

Default value

180

Recommended value

Set the value appropriate for the operating environment.

(f) ajscd.login_wait

Specify the time to wait for login processing (time to wait until entry into sleep state) when authentication of JP1/AJS3 - Manager fails.

Specifiable values

1 to 10 (units: seconds)

Default value

1

Recommended value

Set the value appropriate for the operating environment.

(6) Examples

The following shows an example of definitions in the ajscd_ajs3web.properties file:

ajscd.port_number=22250
ajscd.connect_timeout=0
ajscd.connect_retry_count=3
ajscd.connect_retry_interval=12
ajscd.receive_timeout=180
ajscd.login_wait=1

(7) Notes