Enclosure Services Viewer (SAF-TE)

Top  Previous  Next

SAF-TE enclosures are the equivalent of SES enclosures, but for SCSI-attached hosts. Unlike SES enclosures, SAF-TE enclosures have a unique SCSI ID and LUN associated with them. The internal mechanism and commands that SMARTMon has to use to determine the health of a SAF-TE enclosure are different from those commands used to communicate with a SES enclosure. The net result is the same, however.

 

SAF-TE is the name for a specialized command set that is used to manage and sense the state of the power supplies, cooling devices, displays, indicators, individual drives, and other non-SCSI elements installed in a SCSI enclosure. If you have a SAF-TE-compliant enclosure, this software can decode and report this information.

 

Unless you have a very inexpensive enclosure, chances are good that your enclosure is SAF-TE-compliant. If you are not sure,  invoke the -E+ option and find out. Below is sample output from one of our enclosures when we unplugged one of the power supplies and ran the program on a Windows XP machine.

 

smartmon-ux -I+ -E+ \\.\SCSI3:

SMARTMon-ux [Release 1.13, Build 4-SEP-2002] - Copyright 2002 SANtools, Inc. http://www.SANtools.com

Discovered CNSi JSS122 S/N " " on \\.\SCSI3: (processor) [SAF-TE] [Adapter/ID.LUN=0/0.6]

Inquiry Text Page Data - ANSI defined fields

  Device Type:                         processor

  Peripheral Qualifier:                Connected to this LUN

  Removable Device:                    NO

  ANSI Version:                        3 (SPC ANSI X3.301:1997)

  ISO/IEC Version:                     0

  ECMA Version:                        0

  Vendor Identification:               CNSi  

  Product Identification:              JSS122        

  Firmware Revision:                   L421

  Async event reporting:               NO

  Supports 16-bit wide addresses:      NO

  Supports 32-bit wide addresses:      NO

  Supports CONTINUE_TASK & TARGET XFR: NO

  Terminate task supported:            NO

  Response data format:                2

  Relative addressing supported:       NO

  Supports request/ACK data transfer:  NO

  32-bit parallel supported:           NO

  Normal ACA Supported:                NO

  Enclosure services available:        NO

  Multi-ported device:                 NO

  Medium-changer attached:             NO

  16-bit parallel supported:           YES

  Synchronous commands supported:      YES

  Linked commands supported:           NO

  Command queuing supported:           YES

 Inquiry Page Hex Dump:

  0000: 03 00 03 02 9B 00 00 32 43 4E 53 69 20 20 20 20    .......2CNSi  

  0010: 4A 53 53 31 32 32 20 20 20 20 20 20 20 20 20 20    JSS122        

  0020: 4C 34 32 31 30 20 20 20 20 20 20 20 53 41 46 2D    L4210       SAF-

  0030: 54 45 31 2E 30 30 00 00 0C 00 00 00 00 00 00 00    TE1.00..........

  0040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................

  0050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00    ................

  0060: 43 68 61 70 74 65 63 20 42 72 69 64 67 65 20 4C    Chaptec Bridge L

  0070: 34 32 31 20 20 20 20 20 00 00 00 00 00 00 00 00    421     ........

  0080: 00 00 00 53 44 52 20 20 20 20 20 47 45 4D 32 30    ...SDR     GEM20

  0090: 30 20 20 20 20 20 20 20 20 20 20 32 20 20 20       0          2  

 Inquiry EVPD Page #00h

   0000: 7F 00 03 02 9B 00                                  ......

  SAF-TE Enclosure dump:

   Cooling/Fan #0: Operational

   Cooling/Fan #1: Operational

   Cooling/Fan #2: Not Installed (Reserved for future use)

   Power Supply #0 : Operational (Turned on)

   Power Supply #1 : Malfunctioning (Commanded on)

   Power Supply #2 : Not Installed (Reserved slot)

   Device in slot #0: Empty slot

   Device in slot #1: Empty slot

   Device in slot #2: Activated (SCSI ID is 02h)

   Device in slot #3: Activated (SCSI ID is 03h)

   Device in slot #4: Empty slot

   Device in slot #5: Activated (SCSI ID is 05h)

   Door Lock #0: Unlocked (or no controllable lock installed

   Alarm Speaker #0: Off (or not installed)

   Temperature Sensor #0: 34C / 94F

Terminating program.

 

The text in RED printed as a result of the -E+ option. The rest of the text printed because the -I+ option was also selected.

If you invoke the -E option, the program will run in the background and poll your SES compliant enclosure(s) at the same time it polls disk drives. If a problem is found, it generates an alert as specified by the command-line options.  If you invoke the program with the -E+ option, all of the current enclosure information will display and the program will terminate.
There are additional informational fields that this program can report, providing your enclosure manufacturer reports that information to the SAF-TE electronics in their engine.
If your SAF-TE enclosure supports the optional SAF-TE power-on minutes or SAF-TE power-on cycles data, we report that as well starting in revision 1.27.
Version 1.28 added SAF-TE reporting capability for additional slot and array status reporting.

 

Below is the output that one might see in a log file or email alert before and after unplugging a power cable.

 

D:\msdevstd\projects>smartmon-ux -E -F 10 \\.\SCSI3:

SMARTMon-ux [Release 1.13, Build 4-SEP-2002] - Copyright 2002 SANtools, Inc. http://www.SANtools.com

*******************************************************************

* This is an evaluation license. The software will expire on      *

* Sun Sep 15 23:11:53 2002 (11 days).                             *

*******************************************************************

Discovered CNSi JSS122 S/N " " on \\.\SCSI3: (processor) [Adapter/ID.LUN=0/0.0]

Discovered CNSi JSS122 S/N " " on \\.\SCSI3: (processor) [SAF-TE] [Adapter/ID.LUN=0/0.6]

Program will poll every 10 seconds.

\\.\SCSI3: polled at Wed Sep 04 23:11:53 2002 Status:OK

\\.\SCSI3: polled at Wed Sep 04 23:12:03 2002 Status:OK

\\.\SCSI3: polled at Wed Sep 04 23:12:13 2002 Status:Critical - Power Supply #1  Malfunctioning (Commanded on) CNSi JSS122

\\.\SCSI3: polled at Wed Sep 04 23:12:23 2002 Status:Critical - Power Supply #1  Malfunctioning (Commanded on) CNSi JSS122

\\.\SCSI3: polled at Wed Sep 04 23:12:33 2002 Status:OK

^C

D:\msdevstd\projects>