Job Management Partner 1/Automatic Job Management System 3 Command Reference 1
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.
- Stops the JP1/AJS3 processes.
- Stops the JP1/AJS3 Check Manager service and the JP1/AJS3 Check Agent service.
- Executes the ps command to monitor the jajs_spmd process, and then waits for a maximum of 60 seconds until JP1/AJS3 stops.
- Detaches the logical host from the queueless agent service if the logical host has been attached to the queueless agent service.
- Stops the queueless agent service.
- 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 16.2.8 Specifying the settings that control startup and termination of JP1/AJS3 in a logical host environment in the Job Management Partner 1/Automatic Job Management System 3 Configuration Guide 1.
Execution privileges
Superuser privilege
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 2. Commands command.
Notes
- This command cannot be executed in Windows.
- If you specify options for this command, be sure to specify a logical host name for the first option of the argument.
- Do not execute this command concurrently with the jajs_spmd, jajs_spmd_status, or jajs_spmd_stop command. If you do so, JP1/AJS3 might be unable to stop correctly.
- You must specify the logical host name if you specify the jajs_spmd_stop command options.
Return values
0 Normal end 1 Abnormal end
Copyright (C) 2009, 2010, Hitachi, Ltd.
Copyright (C) 2009, 2010, Hitachi Solutions, Ltd.