Hitachi

JP1 Version 12 JP1/Integrated Management 2 - Manager Command, Definition File and API Reference


jcoegschange

Organization of this page

Function

This command changes correlation event generation definitions. You can execute this command while the status of the correlation event generation function is stopped, running, or standby, but not while the status is starting or stopping.

The following notes apply to execution of the jcoegschange command:

Format

jcoegschange [-h logical-host-name]
             -f correlation-event-generation-definition-file-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. 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.

-f correlation-event-generation-definition-file-name

Specifies the relative or absolute path of the correlation event generation definition file.

Return values

0

Correlation event generation definitions were changed successfully

1

Attempt to change correlation event generation definitions failed

2

A timeout occurred during communication with the Event Generation Service (when the integrated monitoring database is not used) or with Event Base Service (when the integrated monitoring database is used)

100

Execution permission error (Windows only)

101

Argument error

102

Communication error

255

Other abnormal termination (system error)

Example

Change the correlation event generation definitions for the physical host hostP to the definitions specified in the correlation event generation definition file /tmp/teigi1.conf:
Input value:
jcoegschange -f /tmp/teigi1.conf
Result:
KAJV3201-I The correlation event generation definition file (/tmp/teigi1.conf) has been read, and the definitions for the correlation event generation function on (hostP) have been updated.

The same result is output even if no correlation event generation definitions are set for the correlation event generation function.