Job Management Partner 1/Integrated Management - Manager Command and Definition File Reference

[Contents][Index][Back][Next]


jcogencore

Function

This command outputs dumps in the event that JP1/IM - Manager processes fail (except for Central Scope Service (jcsmain) and IM Configuration Management Service (jcfmain)). Once you have executed the jcogencore command, you must restart JP1/IM - Manager.

To detect failures, use the health check function of JP1/IM - Manager (for details about the health check function, see 7.2 JP1/IM - Manager health check function in the Job Management Partner 1/Integrated Management - Manager Overview and System Design Guide).

When you execute the jcogencore command, it displays a message asking you to choose the processes for which failure data is to be output. Select the processes that have failed. The following table shows the files that are output when the jcogencore command is executed.

Table 1-14 Files that are output

OS Process name Name of output file
Java thread dump Core dump
Windows evflow javacore-process-ID.XXXXXXXXXX.txt --
jcamain -- --
evtcon#1 javacore-process-IDID.XXXXXXXXXX.txt --
evgen#1, #2 javacore-process-ID.XXXXXXXXXX.txt --
UNIX evflow javacore-process-ID.XXXXXXXXXX.txt core.evflow
jcamain -- core.jcamain
evtcon#1 javacore-process-ID.XXXXXXXXXX.txt core.evtcon
evgen#1, #2 javacore-process-ID.XXXXXXXXXX.txt core.evgen

Legend:
XXXXXXXXXX: Unique ID assigned automatically by the OS
--: Not output

#1
evtcon and evgen are function names.

#2
This function name is used when the integrated monitoring database is not used.

The output files are stored in the following folders:

In Windows:
Physical host: Console-path\log\
Logical host: shared-disk\jp1cons\log\

In UNIX:
Physical host: /var/opt/jp1cons/log/
Logical host: shared-disk/jp1cons/log/

In addition to the thread and core dumps that are output, other failure data can be obtained by using the data collection tool.

Once you have executed this command, you must restart JP1/IM - Manager.

Format

jcogencore [-h logical-host-name]

Execution permission

In Windows: Administrator permissions (if the Windows UAC feature is enabled, the command is executed from the administrator console)

In UNIX: Superuser permissions

Storage directory

In Windows:
Console-path\bin\

In UNIX:
/opt/jp1cons/bin/

Arguments

-h logical-host-name

When you are operating in a cluster system, this option specifies the logical host name. The command outputs the thread or core dump of the JP1/IM - Manager processes at the specified logical host. If this option is omitted, the logical host name specified in the JP1_HOSTNAME environment variable is assumed. If the JP1_HOSTNAME environment variable is not specified, the physical host name is assumed. If you are not using a cluster system, specification of this option is not needed.

Notes

Return values

0 Normal termination
1 Option or argument analysis error
2 Process check error
3 Logical host error
4 Execution permission error (Windows only)
5 Pipe creation error (Windows only)
6 Thread dump output processing error
10 Other error

Example 1

Execute the command because a hang-up occurred in the Event Console Service (java) process on the physical host in Windows:

jcogencore

Example 2

Execute the command because a hang-up occurred in the Event Console Service (java) process on the logical host hostA in Windows:

jcogencore -h hostA

Example 3

Execute the command because a hang-up occurred in the Event Console Service (java) process on the physical host in UNIX:

/opt/jp1cons/bin/jcogencore

Example output

When a hang-up occurred in the Event Console Service (java) process on the physical host in UNIX, and core and thread dumps were output:

     ProcessName    PID
[1] : evflow        1234
[2] : jcamain       94320
[3] : evtcon        3333
[4] : evgen         65654
[5] : Exit
KAVB8427-I When outputting dumps for the three processes evflow, jcamain, and evtcon at the same time, output the dumps in order of evtcon, jcamain, and evflow.
KAVB8417-I Please enter a number for the process to output the core dump file [1-5]:3
KAVB8414-I The thread dump output request has been sent.
KAVB8407-I When the core dump is output, evtcon will stop. Is this OK? (y/n):y
KAVB8406-I The core dump file will be output.
KAVB8416-I The core dump file has been output.

[Contents][Back][Next]


[Trademarks]

All Rights Reserved. Copyright (C) 2009, Hitachi, Ltd.