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.
-
Stops the JP1/AJS3 processes.
-
The JP1/AJS3 Autonomous Agent service and the JP1/AJS3 Autonomous Agent Messenger service are stopped.
-
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 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
-
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.
-
JP1/AJS3 might not stop correctly if you execute this command together with any of the following commands on the same logical host:
ajsprofalter command
ajsembdbstart command
ajsembdbstop command
ajsstart command
ajsstop command
jajs_hstd command
jajs_hstd_stop command
jajs_spmd command
jajs_spmd_status command
jajs_spmd_stop command
jajs_start.cluster command (UNIX only)
jajs_stop.cluster command (UNIX only)
-
You must specify the logical host name if you specify the jajs_spmd_stop command options.
Return values
0 |
Normal end |
Values other than 0 |
Abnormal end |