Hitachi

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


jajs_stop.cluster (UNIX only)

Organization of this page

Format

jajs_stop.cluster
     [logical-host-name]
     [jajs_spmd_stop-command-option]

Description

Stops JP1/AJS3 in the logical host environment.

This command is used to control the stop of JP1/AJS3 in a cluster system. Before using this command, you must register it in the cluster system.

The following explains the command's flow of processing.

  1. Stops the JP1/AJS3 processes.

  2. The JP1/AJS3 Autonomous Agent service and the JP1/AJS3 Autonomous Agent Messenger service are stopped.

  3. Stops the JP1/AJS3 Check Manager service and the JP1/AJS3 Check Agent service.

  4. Executes the ps command to monitor the jajs_spmd process, and then waits for a maximum of 60 seconds until JP1/AJS3 stops.

  5. Detaches the logical host from the queueless agent service if the logical host has been attached to the queueless agent service.

  6. Stops the queueless agent service.

  7. Stops the queueless file transfer service.

In the initial status when JP1/AJS3 is installed, the definitions for stopping services except the JP1/AJS3 processes are commented out. If necessary, customize the definitions so that stop processing is enabled. For details about customization, see 17.2.11 Specifying the settings that control startup and termination of JP1/AJS3 in a logical host environment in the JP1/Automatic Job Management System 3 Configuration Guide.

Execution privileges

Superuser privilege

Storage directory

/etc/opt/jp1ajs2/

Arguments

logical-host-name

Specify the name of the logical host in the logical host environment that will stop JP1/AJS3.

You can specify a character string of 1 to 63 bytes.

By default, the system assumes the host name specified in the JP1_HOSTNAME environment variable. With this option omitted, the command terminate abnormally if the JP1_HOSTNAME environment variable contains nothing.

jajs_spmd_stop-command-option

Specify the option of the jajs_spmd_stop command. Note that you cannot specify the -h option, which is used to specify the logical host name, of the jajs_spmd command. For details about the option, see the description of the jajs_spmd_stop in 3. Commands Used for Normal Operations.

Notes

Return values

0

Normal end

Values other than 0

Abnormal end