Hitachi

For Linux(R) (x86) Systems HA Monitor Cluster Software


10.5 List of detail codes

The table below lists and describes the detail codes that the APIs return to the inf argument

Note that a detail code is set only when the pointer specified in the inf argument is not NULL and the return code is -1.

Table 10‒2: List of detail codes

Detail code (numeric value)

Meaning

Message output to syslog

1

One of the following:

  • HA Monitor has not started.

  • The version of the HA Monitor being used is invalid.

Y

2

An invalid signal number was specified in the signum argument in the hamon_patrolstart function.

Y

3

HA Monitor has already started monitoring the UAP that issued the API.

N

4

One of the following:

  • The HAMON_UAPNAME environment variable has not been specified.

  • The program name specified in the HAMON_UAPNAME environment variable is null or consists of more than 1,000 characters.

  • The UAP corresponding to the program name specified in the HAMON_UAPNAME environment variable is not defined in the monitor-mode program environment definition.

  • The server managing the UAP that corresponds to the program name specified in the HAMON_UAPNAME environment variable is not running as the active server.

Y

5

One of the following:

  • HA Monitor is not monitoring the UAP that issued the API.

  • The number of active programs has reached the number specified in the pgmmax operand in the HA Monitor environment settings.

N

6

System call error

Y

Legend:

Y: The API outputs a message to syslog.

N: The API does not output a message to syslog.