Operating System - Linux
1828032 Members
2078 Online
109973 Solutions
New Discussion

Configure cmaeventd to write array failures to console (RedHat)

 
James Allchurch
New Member

Configure cmaeventd to write array failures to console (RedHat)

Hi All,

Does anyone know if i is possible to configure cmaeventd so that a disk array failure message is written to the console?

I am running PSP 7.40 on RedHat AS4 Update 2, server is a DL585 with a built-in CCISS Raid 0+1 array comprising 2 disks. I simulated an error by unplugging one of the disks, which generates the following errors in /var/log/messages and /var/spool/compaq/cma.log (also visible with hplog -v): "Aug 23 15:47:23 lonsl9000023 Event Log Daemon:[5109]: Hot-plug drive removed: SCSI Bus 1 Target 1 of Array Controller in slot 8.
Aug 23 15:47:23 lonsl9000023 Event Log Daemon:[5109]: Physical drive failed: SCSI Bus 1 Target 1 of Array Controller in slot 8.
Aug 23 15:47:24 lonsl9000023 Event Log Daemon:[5109]: Logical drive 1 of Array Controller in slot 8, has changed from status OK to INTERIM RECOVERY MODE"

A serial console is configured, but the errors above do not appear on there. Looking at the man page for hpasm it makes no mention of array-based errors.

The reason for asking is that we have issues with SNMP, so I cannot be sure that the traps generated will be picked up. Instead, we have some software which can pattern match on text appearing on the serial console, so I was hoping to use this for disk array error monitoring.

Many thanks,

James