Logging Power Supply Failure to system logs

Hi all.

I have used Solaris 8 for quite some time, and when using a machine with redundant power supplies, the failure of one would be immediately logged to to /var/adm/messages.

I have realized that now that when using Solaris 10, the power supply failures are no longed logged to the /var/adm/messages file, but can be retrieved via SC, using the command "showlogs".

However, I know no way to retrieve the logs into a file, and nothing is now written into /var/adm/messages

I have checked the syslog.conf file and found no major diferences from Solaris 8 to 10, but no PS failure messages are written, nevertheless.

So, what I need to achieve is the following:

1) have the PS failure logged into /var/adm/message (any new special conf in syslogconf)?

2) have a way to retrieve the SC logs into a file (even because the log entries are easily overwritten)

Any hints from you guys?

Thanks and regards,

Carlos Dourado

[983 byte] By [douradoa] at [2007-11-27 6:21:30]
# 1

I doubt this is an operating system issue.

Its more likely that you've changed hardware between the time you were running solaris 8 and solaris 10.

On V210/V240 for example setting the ALOM variable sys_eventlevel to 3 like so

/usr/platform/`uname -i`/sbin/scadm set sys_eventlevel 3

will cause ALOM log entries to appear in /var/adm/messages

robert.cohena at 2007-7-12 17:38:01 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 2

Hallo.

Yes, I did change the hardware, from a V240 to a Sun Fire T2000.

Is there any special characteristic which is preventing the PS failure events to be logged into /var/adm/messages?

Nevertheless, I will give it a try with the options in scadm.

Regards,

Carlos Dourado

douradoa at 2007-7-12 17:38:01 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 3

Hi again.

I have checked the settings in the T2000. I am afraid that the T2000 has no scadm command, which leaves me with no choice. Even when telnetting to the SC, I found that that there is no such value (sys_eventlevel).

Is there anyother way to communicate with the SC in the T2000, or even better, is there any other way to send the PS failure events to the /var/adm/messages? :)

Thansk and regards,

Carlos Dourado

douradoa at 2007-7-12 17:38:01 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 4
According to the CMT documentation here http://www.sun.com/products-n-solutions/hardware/docs/html/819-7981-11/variable s.html#44053The T2000 does have a sys_eventlevel variable.
robert.cohena at 2007-7-12 17:38:01 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 5
Hi.I have tested on a T2000 (sc) and there is no such value.From the sc prompt:sc> setsc sys_eventlevel 3Error: Invalid configuration parameterIf I type setsc only, a list of configurable parameters shows up, but no sys_eventlevel
douradoa at 2007-7-12 17:38:01 > top of Java-index,Solaris Operating System,Solaris 10 Features...
# 6
You probably need newer alom/obp firmware.Patch 126399 appears to be the latest firmware.I believe with that and some other patches, you also get access to the scadm command...
robert.cohena at 2007-7-12 17:38:01 > top of Java-index,Solaris Operating System,Solaris 10 Features...