jajs_killall.cluster (UNIX only)
- Organization of this page
Format
jajs_killall.cluster [logical-host-name]
Description
Forcibly terminates the JP1/AJS3 process during operation on a cluster system.
An attempt to execute the jajs_stop.cluster command at a failover may fail to stop the process, sometimes resulting in an unsuccessful failover. This command should be executed only when you want to forcibly stop a process that will not stop.
Execution privileges
Superuser privilege
Storage directory
/etc/opt/jp1ajs2/
Arguments
logical-host-name
Specify the name of the logical host that is set in JP1/Base.
You can specify a character string of 1 to 32 bytes.
By default, the system assumes the host name specified in the JP1_HOSTNAME environment variable. (The first 32 bytes of the logical host name are valid.) With this option omitted, the command terminate abnormally if the JP1_HOSTNAME environment variable contains nothing.
Notes
-
This command applies only to UNIX. You cannot use this command in Windows.
-
This command should be executed only when an attempt to execute the jajs_stop.cluster command fails to stop the process.
-
When a request to forcibly stop the JP1/AJS3 process is issued, the shared disk might be disconnected from JP1/AJS3. If this occurs, change the log output destination of the shell script for forcibly stopping JP1/AJS3 (jajs_killall.cluster) to the log file storage directory on the physical host before you execute the shell script. The following shows how you can modify the shell script.
Before modification:
LOGDIR=`jbsgetcnf -h "$JP1_HOSTNAME" | grep '^"JP1AJS2_LOGDIR"=' | \ sed -e 's/^[^=]*=//' -e 's/^"//' -e 's/"$//'` COMNAME=`basename "$0"`
After modification:
LOGDIR="/var/opt/jp1ajs2/log" #Changed to log file storage directory on physical host COMNAME=`basename "$0"`
Return values
0 |
Normal end |
Values other than 0 |
Abnormal end |
Additional information
-
This command is stored in the /etc/opt/jp1ajs2/ path.
-
This command forcibly terminates the process on a logical host basis. Of the JP1/AJS3 processes, however, those listed below are out of the target of forced termination.
Process name
Description
jp1mqsup
MQ monitor process at the time of TP1/Message Queue linkage
SUP under TP1 control
jpocwtmqmaii
MQ monitor process at the time of MQSeries linkage
The processes in the table do not need a failover together with the JP1/AJS3 service. You can terminate a process, as necessary.
-
This command outputs log information to a file. The system keeps five generations of the log file.
The default log file storage directory and file names are as follows:
- Log file storage directory
-
shared-directory/jp1ajs2/log
(or /var/opt/jp1ajs2/log if you changed the output destination to the log file storage directory on the physical host)
- Log file name:
-
jajs_killall.cluster_logical-host-name.{1|2|3|4|5}.log