Hitachi

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


7.3.2 Checking the details log for the monitoring command (when the ptrlcmd_ex or sby_ptrlcmd_ex operand is specified on a monitor-mode server)

The detailed information about each process executed in the server monitoring command (contents of the standard output and standard error output) is output to the details log for the monitoring command.

Important

If you need to check a server log while the server is operating, only view the contents of the log, and do not save the log. If you save the log, the log data being output while you were viewing the log might be lost.

The following describes the details log.

Organization of this subsection

(1) Types of files

The following table lists details log files. Each file name includes a server alias name, which is obtained from the value of the alias operand in the server environment definition (servers).

Table 7‒2: List of details log files

File name

Description

/opt/hitachi/HAmon/spool/ptrlcmd_ex/server-alias-name.log

This is the file of the current details log for the monitoring command.

/opt/hitachi/HAmon/spool/ptrlcmd_ex/server-alias-name.log_err

This is a details log backup file created when the most recent server failure occurred.

(2) Example of information output to a file

The following shows an example of information that is output to a details log file.

+ PROGRAM=/home/xxxx/yyyy
+ PS=/bin/ps
+ GREP=/bin/grep
++ /bin/ps -efl
++ /bin/grep /home/xxxx/yyyy
++ /bin/grep -v grep
+ EXIST=
+ '[' 'zzzz' = '' ']'
+ exit 0