Hitachi

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


17.2.7 Setting up the queueless job execution environment

With the default settings, all processing for queueless jobs is disabled. Edit the jajs_start.cluster and jajs_stop.cluster commands to match operating requirements.

Organization of this subsection

(1) To ensure that the queueless agent service does not stop when the nodes are switched

The following describes how to switch the nodes by detaching and re-attaching logical hosts.

If you use both physical and logical hosts at the same time or if you use multiple logical hosts at the same time, use the procedures described below.

(a) Edit jajs_start.cluster

  1. Open the following file with a text editor such as vi:

    /etc/opt/jp1ajs2/jajs_start.cluster
  2. In the file, delete the shaded parts shown below.

    [Figure]

  3. Close the file.

Supplementary note:

After deletion of the comment symbol (: #) indicated by (1) in step 2, the start processing of the JP1/AJS3 service stops if the attachment of a logical host fails. If you want the start processing to continue, do not delete the comment symbol (: #).

(b) Edit jajs_stop.cluster

  1. Open the following file with a text editor such as vi:

    /etc/opt/jp1ajs2/jajs_stop.cluster
  2. In the file, delete the shaded parts shown below.

    [Figure]

  3. Close the file.

Supplementary notes:
  • After deletion of the comment symbol (: #) indicated by (2) in step 2, error code 1 is returned if the detachment of a logical host fails.

  • After deletion of the comment symbol (: #) indicated by (3) in step 2, the start processing of the JP1/AJS3 service stops if the detachment of a logical host fails. If you want the start processing to continue, do not delete the comment symbol (: #).

  • After deleting the comment symbol (: #) indicated by (3) in step 2, you must also delete the comment symbol (: #) indicated by (2).

(2) To ensure that the queueless agent service stops when the nodes are switched

The following describes how to switch the nodes by stopping the queueless agent service.

If you use only logical hosts, use the procedures described below.

(a) Edit jajs_start.cluster

  1. Open the following file with a text editor such as vi:

    /etc/opt/jp1ajs2/jajs_start.cluster
  2. In the file, delete the shaded parts shown below.

    [Figure]

  3. To use a machine on which a logical host operates as a container host machine, in the file, delete the following shaded parts:

    [Figure]

  4. Close the file.

Supplementary note:

After deletion of the comment symbol (: #) indicated by (1) in step 2, the start processing of the JP1/AJS3 service stops if the attachment of a logical host fails. If you want the start processing to continue, do not delete the comment symbol (: #).

(b) Edit jajs_stop.cluster

  1. Open the following file with a text editor such as vi:

    /etc/opt/jp1ajs2/jajs_stop.cluster
  2. In the file, delete the shaded parts shown below.

    [Figure]

  3. Close the file.

Supplementary notes:
  • After deletion of the comment symbol (: #) indicated by (2) in step 2, error code 1 is returned if the detachment of a logical host fails.

  • After deletion of the comment symbol (: #) indicated by (3) in step 2, the start processing of the JP1/AJS3 service stops if the detachment of a logical host fails. If you want the start processing to continue, do not delete the comment symbol (: #).

  • After deleting the comment symbol (: #) indicated by (3) in step 2, you must also delete the comment symbol (: #) indicated by (2).

(3) Notes