storage array error notifications

From: Dave Martini 1 (martini@raider.llnl.gov)
Date: Mon Jun 20 2005 - 14:05:47 EDT


I have a 3310 stoage array with a single RAID controller in it.
I want to be notified when a disk failure occurs.
I didn't see anyting in the manual about the system emailing
when there is a disk problem on the 3310.
Does anyone know if there is an email notification built into
the 3310?

If not I was thinking of writing a script that would go into the
sccli utility and do a enclosure-status and output this to a file
although I can figure out how to output it to a file because I tried
this

sccli> show enclosure-status >/opt/filemane

but it didn't create the file it just output it to the screen.
Is it possible to output it to a file?

I see under he status column it says the word OK.
What will this change to if the status is not ok would it say
NOT OK?
I want to know what word to search for.

Any suggestions on how best to do this would be great.
The cli interfact has many options. Another is

sccli> show disks
Ch Id Size Speed LD Status IDs
-----------------------------------------------------------------------
 0 0 68.37GB 160MB ld0 ONLINE FUJITSU MAP3735N SUN72G 0401
                                              S/N 00Q0C8HJ
 0 1 68.37GB 160MB ld0 ONLINE FUJITSU MAP3735N SUN72G 0401
                                              S/N 00Q0C8NJ
 0 2 68.37GB 160MB ld0 ONLINE FUJITSU MAP3735N SUN72G 0401
                                              S/N 00Q0C8J3
 0 3 68.37GB 160MB ld0 ONLINE FUJITSU MAP3735N SUN72G 0401
                                              S/N 00Q0C8P5
 0 4 68.37GB 160MB ld0 ONLINE FUJITSU MAP3735N SUN72G 0401
                                              S/N 00Q0C8JJ
 0 5 68.37GB 160MB ld0 ONLINE FUJITSU MAP3735N SUN72G 0401
                                              S/N 00Q0C8JD
 0 8 68.37GB 160MB ld0 ONLINE FUJITSU MAP3735N SUN72G 0401
                                              S/N 00Q0C9C0
 0 9 68.37GB 160MB ld0 ONLINE FUJITSU MAP3735N SUN72G 0401
                                              S/N 00Q0C8P9
 0 10 68.37GB 160MB ld1 ONLINE FUJITSU MAP3735N SUN72G 0401
                                              S/N 00Q0C8HV
 0 11 68.37GB 160MB ld1 ONLINE FUJITSU MAP3735N SUN72G 0401
                                              S/N 00Q0C8NC
 0 12 68.37GB 160MB GLOBAL STAND-BY FUJITSU MAP3735N SUN72G 0401
                                              S/N 00Q0C8NV
 0 13 68.37GB 160MB GLOBAL STAND-BY FUJITSU MAP3735N SUN72G 0401
                                              S/N 00Q0C8JB

Thank You
Dave Martini
LLNL

sccli> show enclosure-status
Ch Id Chassis Vendor Product ID Rev Package Status
-----------------------------------------------------------------
 0 14 081476 SUN StorEdge 3310 A 1159 1159 OK

Enclosure Component Status:
     Type Unit Status FRU P/N FRU S/N Add'l Data
------------------------------------------------------------------
      Fan 0 OK 370-6776 GM02GJ --
      Fan 1 OK 370-6776 GM02G7 --
       PS 0 OK 370-6776 GM02GJ --
       PS 1 OK 370-6776 GM02G7 --
     Temp 0 OK 370-5524 081476 temp=23
     Temp 1 OK 370-5524 081476 temp=22
     Temp 2 OK 370-6776 GM02GJ temp=22
     Temp 3 OK 370-5394 JK098Z temp=26
     Temp 4 OK 370-5394 JK097T temp=26
     Temp 5 OK 370-5524 081476 temp=21
     Temp 6 OK 370-6776 GM02G7 temp=23
      EMU 0 OK 370-5394 JK098Z
      EMU 1 OK 370-5394 JK097T
 DiskSlot 0 OK 370-5524 081476 addr=0,led=off
 DiskSlot 1 OK 370-5524 081476 addr=1,led=off
 DiskSlot 2 OK 370-5524 081476 addr=2,led=off
 DiskSlot 3 OK 370-5524 081476 addr=3,led=off
 DiskSlot 4 OK 370-5524 081476 addr=4,led=off
 DiskSlot 5 OK 370-5524 081476 addr=5,led=off
 DiskSlot 6 OK 370-5524 081476 addr=8,led=off
 DiskSlot 7 OK 370-5524 081476 addr=9,led=off
 DiskSlot 8 OK 370-5524 081476 addr=10,led=off
 DiskSlot 9 OK 370-5524 081476 addr=11,led=off
 DiskSlot 10 OK 370-5524 081476 addr=12,led=off
 DiskSlot 11 OK 370-5524 081476 addr=13,led=off

Enclosure SCSI Channel Type: single-bus
sccli>
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:30:56 EDT