jco_stop.cluster (UNIX only)
- Organization of this page
Function
When you are operating in a cluster system, this command terminates JP1/IM - Manager on the logical host.
If the IM database service is running on the logical host, the command terminates JP1/IM - Manager and then terminates the IM database service on the same logical host.
When you execute this command, the JP1/IM - Manager processes and the IM database service are terminated. If this command is executed but the processes do not terminate, use the jco_killall.cluster command to forcibly terminate all processes.
To execute this command, you must have executed jp1cc_setup_cluster and jp1cs_setup_cluster after installing and setting up JP1/IM - Manager. For the IM database service to terminate, you must have set up the cluster system for that IM database service. For details about cluster system setup, see 6. Operation and Environment Configuration in a Cluster System in the Job Management Partner 1/Integrated Management - Manager Configuration Guide.
Format
jco_stop.cluster [logical-host-name]
Execution permission
Superuser permissions
Storage directory
/etc/opt/jp1cons/
Arguments
- logical-host-name
-
When you are operating in a cluster system, this option specifies the name of the logical host where this command is to be executed. The permitted length is from 1 to 63 bytes characters. If this option is omitted, the command assumes the logical host name specified in the JP1_HOSTNAME environment variable. If the JP1_HOSTNAME environment variable is not specified, the command assumes the physical host name.
Return values
0 |
Normal termination |
1 |
More than one argument is specified or the termination request resulted in a timeout |