<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>StorageSecrets.org &#187; SES</title>
	<atom:link href="http://storagesecrets.org/tag/ses/feed/" rel="self" type="application/rss+xml" />
	<link>http://storagesecrets.org</link>
	<description>Disk,  RAID, Tape and Storage-Related Tips for maximizing performance, utility, and efficiency of your data</description>
	<lastBuildDate>Sun, 26 Apr 2009 19:22:45 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>What can you do with intelligent (SES-compatible) enclosures?</title>
		<link>http://storagesecrets.org/2009/01/intelligent-ses-compatible-enclosures/</link>
		<comments>http://storagesecrets.org/2009/01/intelligent-ses-compatible-enclosures/#comments</comments>
		<pubDate>Sat, 03 Jan 2009 01:54:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Diagnostics]]></category>
		<category><![CDATA[Enclosure Management]]></category>
		<category><![CDATA[SES]]></category>

		<guid isPermaLink="false">http://storagesecrets.org/?p=49</guid>
		<description><![CDATA[Examples of SES scripts]]></description>
			<content:encoded><![CDATA[<p>Here are some examples of scripts that I have written using the command-line engine in <a title="SANtools SMARTMon-UX Manual" href="http://www.santools.com/smart/unix/manual" target="_self">smartmon-ux</a>.</p>
<p><em><strong>Emulate the typical LED and alarms one would see with a hardware-based RAID controller so an appliance that uses software-based RAID has same look-and feel &#8230;</strong></em></p>
<ul>
<li><a title="Set audible alarm code" href="http://www.santools.com/smart/unix/manual/enclosureservicesconfigurato.htm#-eparn" target="_self">Sound the audible alarm</a> once mdstat indicates a logical disk becomes critical.</li>
<li><a title="Light FAULT LED" href="http://www.santools.com/smart/unix/manual/enclosureservicesconfigurato.htm#-epdfn" target="_self">Light the FAULT LED</a></li>
<li>Query the O/S to find out the surviving disks, then <a title="Identify LED SES command" href="http://www.santools.com/smart/unix/manual/enclosureservicesconfigurato.htm#-epdin" target="_self">set them to blink</a>. This way user knows what disks are being rebuilt.</li>
<li>Use the <a title="ID LED" href="http://www.santools.com/smart/unix/manual/enclosureservicesconfigurato.htm#-eplin" target="_self">ID LED</a> to indicate which hot spare the O/S chose to rebuild the LUN with.</li>
</ul>
<p><strong><em><span id="more-49"></span>Make pretty patterns with the LEDs in a RAID array for trade shows.</em></strong></p>
<p><em><strong><a title="Turn off audible alarm" href="http://www.santools.com/smart/unix/manual/enclosureservicesconfigurato.htm#-epamn" target="_self">Mute audible alarms</a> that drive people nuts, especially ones that indicate a fault that can&#8217;t be addressed until next week some time.</strong></em></p>
<p><strong><em>Query enclosure to determine the <a title="WWN by SES slot cross reference" href="http://www.santools.com/smart/unix/manual/intel_ssr212mc_enclosure.htm" target="_self">serial number or WWN of a device</a> given the row/col of a slot or vise-versa.</em></strong></p>
<p><strong><em>Test all SES components to just make sure they work, without having to manually break things or unplug power supplies and/or disk drives.</em></strong></p>
<p><strong>Notes<br />
</strong>SES will let you light the LED(s) associated with the SLOT the drive is installed in. This is a better mechanism then lighting the LED on a disk drive, since the technique will always work, even if the disk drive is dead or dying.</p>
]]></content:encoded>
			<wfw:commentRss>http://storagesecrets.org/2009/01/intelligent-ses-compatible-enclosures/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SES-2 ANSI Specification</title>
		<link>http://storagesecrets.org/2009/01/ses-2-ansi-specification/</link>
		<comments>http://storagesecrets.org/2009/01/ses-2-ansi-specification/#comments</comments>
		<pubDate>Sat, 03 Jan 2009 00:20:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Enclosure Management]]></category>
		<category><![CDATA[SES]]></category>
		<category><![CDATA[Downloadable ANSI Specs]]></category>
		<category><![CDATA[Specifications]]></category>

		<guid isPermaLink="false">http://storagesecrets.org/?p=51</guid>
		<description><![CDATA[ANSI SES-2 download pdf URL]]></description>
			<content:encoded><![CDATA[<p>The ANSI SCSI Enclosure Services (SES-2) specification can be downloaded <a title="ANSI SES-2 Specification" href="http://www.t10.org/ftp/t10/drafts/ses2/ses2r12.pdf" target="_blank">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://storagesecrets.org/2009/01/ses-2-ansi-specification/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Example SES (SCSI Enclosure Services) Reports</title>
		<link>http://storagesecrets.org/2009/01/ses-scsi-enclosure-services-reports/</link>
		<comments>http://storagesecrets.org/2009/01/ses-scsi-enclosure-services-reports/#comments</comments>
		<pubDate>Fri, 02 Jan 2009 23:38:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Enclosure Management]]></category>
		<category><![CDATA[SES]]></category>

		<guid isPermaLink="false">http://storagesecrets.org/?p=45</guid>
		<description><![CDATA[Xyratex RS1600 SES Enclosure report]]></description>
			<content:encoded><![CDATA[<p>Below is a  dump from a <a title="Xyratex Home Page" href="http://www.xyratex.com" target="_self">Xyratex</a> SES compliant enclosure, using SANtools <a title="SANtools SAF-TE Manual Page" href="http://www.santools.com/smart/unix/manual/enclosureservicesviewer(saf_te.htm" target="_self">smartmon-ux software</a>.  Portions in <span style="color: #0000ff;">blue</span> are vendor-specific.</p>
<pre><span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';"><span style="color: #000000;">root@morph smartmon]#</span> </span><span style="font-weight: bold; font-size: 8pt; color: #ff0000; font-family: 'Courier New';">./smartmon-ux -E+ /dev/sdc</span>
<span style="font-weight: bold; font-size: 8pt; color: #ff0000; font-family: 'Courier New';">SMARTMon-ux [Release 1.23, Build 30-NOV-2003] - Copyright 2003 SANtools, Inc. <a href="http://www.SANtools.comDiscovered">http://www.SANtools.com</a> SEAGATE ST336753FC S/N "3HX00LE3" on /dev/sdc [SES] (Not Enabling SMART)(35003 MB)</span>
<span style="font-weight: bold; font-size: 8pt; color: #ff0000; font-family: 'Courier New';">Discovered </span><span style="font-weight: bold; font-size: 8pt; color: #ff0000; font-family: 'Courier New';">XYRATEX  RS1600-FC2-FFX2  WWN=20-00-00-50-CC-00-7B-8E:</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">Configuration switches numbered from 1-12 as viewed from rear, top to bottom</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">Vendor-specific features (Notes) [SWITCH SETTING]</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">SoftSelect Mode             (Disabled) [SW11-OFF]</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">Drive Speed                 (2 Gbit FC Mode)</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';"><span id="more-45"></span>Loop Config                 (1 x 16 loop) [SW1-ON]</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">Hub Mode                    (Enclosure in hub mode) [SW3-ON]</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">Reserved                    (reserved) [SW4-OFF]</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">SES Report                  (REPORT bit set on single)</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">Power Redundancy Indication (Enclosure indicates redundancy)</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">Ops Panel Muted Mode        (Enclosure in REMIND mode)</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">Drive Addressing Mode:      0 (1 x 16 JBOD)</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">Unit Select Switch:         1</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">Model is: Goshawk - Mylex FFX2 RAID 2Gbit dual port controller</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">Master LRC Firmware level:  35</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">SFP Host 0 Present (LoopA): YES</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">SFP Host 0 Good (A):        NO</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">SFP Host 1 Present (A):     YES</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">SFP Host 1 Good (A):        NO</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">SFP Expansion Present (A):  NO</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">SFP Expansion Good (A):     NO</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">SFP Host 0 Present (LoopB): YES</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">SFP Host 0 Good (B):        NO</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">SFP Host 1 Present (B):     NO</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">SFP Host 1 Good (B):        NO</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">SFP Expansion Present (B):  YES</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">SFP Expansion Good (B):     NO</span>
<span style="font-weight: bold; font-size: 8pt; color: #ff0000; font-family: 'Courier New';">Device #0 OK SelID=04h </span><span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">[Row=1 Col=1]</span>
<span style="font-weight: bold; font-size: 8pt; color: #ff0000; font-family: 'Courier New';">Device #1 Not Installed SelID=05h </span><span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">[Row=1 Col=2]</span>
<span style="font-weight: bold; font-size: 8pt; color: #ff0000; font-family: 'Courier New';">Device #2 OK SelID=06h </span><span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">[Row=1 Col=3]</span>
<span style="font-weight: bold; font-size: 8pt; color: #ff0000; font-family: 'Courier New';">Device #3 Not Installed SelID=07h </span><span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">[Row=1 Col=4]</span>
<span style="font-weight: bold; font-size: 8pt; color: #ff0000; font-family: 'Courier New';">Device #4 Not Installed SelID=08h </span><span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">[Row=2 Col=1]</span>
<span style="font-weight: bold; font-size: 8pt; color: #ff0000; font-family: 'Courier New';">Device #5 Not Installed SelID=09h </span><span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">[Row=2 Col=2]</span>
<span style="font-weight: bold; font-size: 8pt; color: #ff0000; font-family: 'Courier New';">Device #6 Not Installed SelID=0ah </span><span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">[Row=2 Col=3]</span>
<span style="font-weight: bold; font-size: 8pt; color: #ff0000; font-family: 'Courier New';">Device #7 Not Installed SelID=0bh </span><span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">[Row=2 Col=4]</span>
<span style="font-weight: bold; font-size: 8pt; color: #ff0000; font-family: 'Courier New';">Device #8 Not Installed SelID=0ch </span><span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">[Row=3 Col=1]</span>
<span style="font-weight: bold; font-size: 8pt; color: #ff0000; font-family: 'Courier New';">Device #9 Not Installed SelID=0dh </span><span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">[Row=3 Col=2]</span>
<span style="font-weight: bold; font-size: 8pt; color: #ff0000; font-family: 'Courier New';">Device #10 Not Installed SelID=0eh </span><span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">[Row=3 Col=3]</span>
<span style="font-weight: bold; font-size: 8pt; color: #ff0000; font-family: 'Courier New';">Device #11 Not Installed SelID=0fh </span><span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">[Row=3 Col=4]</span>
<span style="font-weight: bold; font-size: 8pt; color: #ff0000; font-family: 'Courier New';">Device #12 OK SelID=10h </span><span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">[Row=4 Col=1]</span>
<span style="font-weight: bold; font-size: 8pt; color: #ff0000; font-family: 'Courier New';">Device #13 Not Installed SelID=11h </span><span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">[Row=4 Col=2]</span>
<span style="font-weight: bold; font-size: 8pt; color: #ff0000; font-family: 'Courier New';">Device #14 OK SelID=12h </span><span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">[Row=4 Col=3]</span>
<span style="font-weight: bold; font-size: 8pt; color: #ff0000; font-family: 'Courier New';">Device #15 OK SelID=13h </span><span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">[Row=4 Col=4]</span>
<span style="font-weight: bold; font-size: 8pt; color: #ff0000; font-family: 'Courier New';">Power Supply #0 Critical DC Undervoltage AC failure DC failure [LED ON]</span>
<span style="font-weight: bold; font-size: 8pt; color: #ff0000; font-family: 'Courier New';">Power Supply #1 OK</span>
<span style="font-weight: bold; font-size: 8pt; color: #ff0000; font-family: 'Courier New';">Cooling Element #0 OK fan at speed 4</span>
<span style="font-weight: bold; font-size: 8pt; color: #ff0000; font-family: 'Courier New';">Cooling Element #1 OK fan at speed 4</span>
<span style="font-weight: bold; font-size: 8pt; color: #ff0000; font-family: 'Courier New';">Temperature Sensor #0 OK 104F/40C</span>
<span style="font-weight: bold; font-size: 8pt; color: #ff0000; font-family: 'Courier New';">Audible Alarm #0 OK ENABLED sounding CRITICAL</span>
<span style="font-weight: bold; font-size: 8pt; color: #ff0000; font-family: 'Courier New';">SESElectronics Processor #0 OK [ACTIVE]</span>
<span style="font-weight: bold; font-size: 8pt; color: #ff0000; font-family: 'Courier New';">SESElectronics Processor #1 OK [PASSIVE]</span>
<span style="font-weight: bold; font-size: 8pt; color: #ff0000; font-family: 'Courier New';"> </span>
<span style="font-weight: bold; font-size: 8pt; color: #ff0000; font-family: 'Courier New';">Threshold Information                   Warning Range   Critical Range</span>
<span style="font-weight: bold; font-size: 8pt; color: #ff0000; font-family: 'Courier New';">Temperature Sensor #0:                    30 - 74          20 - 78</span>
<span style="font-weight: bold; font-size: 8pt; color: #000000; font-family: 'Courier New';"><!--more--> </span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">Module Locations - Front View</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';"> Col-1     Col-2     Col-3     Col-4</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">+--------------------------------------+</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">|Dev #00 | Dev #01 | Dev #02 | Dev #03 | Row-1</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">|Dev #04 | Dev #05 | Dev #06 | Dev #07 | Row-2</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">|Dev #08 | Dev #09 | Dev #10 | Dev #11 | Row-3</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">|Dev #12 | Dev #13 | Dev #14 | Dev #15 | Row-4</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">+--------------------------------------+</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';"> </span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">Module Locations - Rear View</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">+--------------------------------------+</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">| PSU /    | 2nd | 1st |OPS  | PSU /   |</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">| Cooling  | LRC | LRC |Panel| Cooling |</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">| First    | 'B' | 'A' |     | Second  |</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">|   #0     | #1  | #0  |     |  #1     | &lt;--SES ID#</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">+--------------------------------------+</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';"> </span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';">Legend for Below: SN=Serial#, (optional)SC=Status Code</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';"> LRC-A: SN=PMT317000005619</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';"> LRC-B: SN=PMT317000005396</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';"> Power Supply#1: SN=IMS4204300008BB</span>
<span style="font-weight: bold; font-size: 8pt; color: #0000ff; font-family: 'Courier New';"> Power Supply#2: SN=IMS4204300007F7</span>
<span style="font-weight: bold; font-size: 8pt; color: #000000; font-family: 'Courier New';"> </span>
<span style="font-weight: bold; font-size: 8pt; color: #000000; font-family: 'Courier New';">Program Ended.</span></pre>
]]></content:encoded>
			<wfw:commentRss>http://storagesecrets.org/2009/01/ses-scsi-enclosure-services-reports/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SCSI Enclosure Services (SES &amp; SES-2) Management</title>
		<link>http://storagesecrets.org/2008/12/scsi-enclosure-services-ses-ses-2-management/</link>
		<comments>http://storagesecrets.org/2008/12/scsi-enclosure-services-ses-ses-2-management/#comments</comments>
		<pubDate>Tue, 30 Dec 2008 22:56:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Configuration]]></category>
		<category><![CDATA[Diagnostics]]></category>
		<category><![CDATA[Enclosure Management]]></category>
		<category><![CDATA[Firmware]]></category>
		<category><![CDATA[SES]]></category>

		<guid isPermaLink="false">http://storagesecrets.org/?p=25</guid>
		<description><![CDATA[SCSI Enclosure Services, referred as SES or SES-2, depending on the revision level, is a 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 fibre channel or SAS (host-attached) enclosure.  Intelligent enclosures that connect to the host [...]]]></description>
			<content:encoded><![CDATA[<p>SCSI Enclosure Services, referred as SES or SES-2, depending on the revision level, is a command set that is used to<span style="color: #000000;"> manage and sense the state of the power supplies, cooling devices, displays, indicators, individual drives, and other non-SCSI elements installed in a fibre channel or SAS (host-attached) enclosure.  Intelligent enclosures that connect to the host via a SCSI cable will normally speak the <a title="SAF-TE Information" href="http://storagesecrets.org/2008/12/saf-te-specification/" target="_self">SAF-TE</a> protocol.</span></p>
<p>The command set is defined as an <a title="ANSI SES Specification" href="http://www.t10.org/cgi-bin/ac.pl?t=f&amp;f=ses-r08b.pdf" target="_self">ANSI specification</a>, and utilizes the SCSI commands to obtain configuration information for the enclosure as well as reprogram it to light external indicator LEDs or audible alarms to inform the user about the health and maintenance information for attached RAID controllers and disk drives.</p>
<p><span id="more-25"></span>An enclosure services device (circuit board with CPU) typically<span> manages all these enclosure elements (fans, power supplies, etc&#8230;) and communicates with the processor via application software. </span></p>
<p><em>Note that the &#8220;SCSI&#8221; in SCSI Enclosure Services refers to the protocol, and not any type of physical connection.  Enclosures that connect via Fibre Channel and SAS cabling are classified as SCSI devices. They speak the SCSI command set, and use a serial SCSI interface. Traditional &#8220;SCSI&#8221; disk drives also use the SCSI protocol, but use parallel SCSI connectors.</em></p>
<p>SES devices will generally have the ability to flash firmware updates, but the mechanism for doing this is sometimes vendor/product specific.</p>
<p><span><strong>ANSI-Defined SES Element Types and Description Table</strong></span></p>
<div>
<table border="1" cellspacing="0" cellpadding="0" bgcolor="#00ffff">
<tbody>
<tr>
<td width="190" valign="top"><span>Element Type Code (hex)</span></td>
<td width="492" valign="top"><span>Description</span></td>
</tr>
<tr>
<td width="190" valign="top"><span>00</span></td>
<td width="492" valign="top"><span>Unspecified </span><span>(Do not use it!!)</span></td>
</tr>
<tr>
<td width="190" valign="top"><span>01</span></td>
<td width="492" valign="top"><span>Device (i.e., something in a slot like disk drive or DAT tape)</span></td>
</tr>
<tr>
<td width="190" valign="top"><span>02</span></td>
<td width="492" valign="top"><span>Power Supply</span></td>
</tr>
<tr>
<td width="190" valign="top"><span>03</span></td>
<td width="492" valign="top"><span>Cooling (typically a fan)</span></td>
</tr>
<tr>
<td width="190" valign="top"><span>04</span></td>
<td width="492" valign="top"><span>Temperature Sensor</span></td>
</tr>
<tr>
<td width="190" valign="top"><span>05</span></td>
<td width="492" valign="top"><span>Door Lock</span></td>
</tr>
<tr>
<td width="190" valign="top"><span>06</span></td>
<td width="492" valign="top"><span>Audible Alarm</span></td>
</tr>
<tr>
<td width="190" valign="top"><span>07</span></td>
<td width="492" valign="top"><span>Enclosure Services Controller Electronics</span></td>
</tr>
<tr>
<td width="190" valign="top"><span>08</span></td>
<td width="492" valign="top"><span>SCC Controller Electronics</span></td>
</tr>
<tr>
<td width="190" valign="top"><span>09</span></td>
<td width="492" valign="top"><span>Nonvolatile Cache</span></td>
</tr>
<tr>
<td width="190" valign="top"><span>0A</span></td>
<td width="492" valign="top"><span>Invalid Operation Reason</span></td>
</tr>
<tr>
<td width="190" valign="top"><span>0B</span></td>
<td width="492" valign="top"><span>Uninterruptible Power Supply</span></td>
</tr>
<tr>
<td width="190" valign="top"><span>0C</span></td>
<td width="492" valign="top"><span>Display (LCD display or control panel)</span></td>
</tr>
<tr>
<td width="190" valign="top"><span>0D</span></td>
<td width="492" valign="top"><span>Key Pad Entry</span></td>
</tr>
<tr>
<td width="190" valign="top"><span>0E</span></td>
<td width="492" valign="top"><span>Enclosure</span></td>
</tr>
<tr>
<td width="190" valign="top"><span>0F</span></td>
<td width="492" valign="top"><span>SCSI Port/Transceiver</span></td>
</tr>
<tr>
<td width="190" valign="top"><span>10</span></td>
<td width="492" valign="top"><span>Language Element</span></td>
</tr>
<tr>
<td width="190" valign="top"><span>11</span></td>
<td width="492" valign="top"><span>Communication Port</span></td>
</tr>
<tr>
<td width="190" valign="top"><span>12</span></td>
<td width="492" valign="top"><span>Voltage Sensor</span></td>
</tr>
<tr>
<td width="190" valign="top"><span>13</span></td>
<td width="492" valign="top"><span>Current Sensor</span></td>
</tr>
<tr>
<td width="190" valign="top"><span>14</span></td>
<td width="492" valign="top"><span>SCSI Target Port</span></td>
</tr>
<tr>
<td width="190" valign="top"><span>15</span></td>
<td width="492" valign="top"><span>SCSI Initiator Port</span></td>
</tr>
<tr>
<td width="190" valign="top"><span>16</span></td>
<td width="492" valign="top"><span>Simple Sub-enclosure</span></td>
</tr>
<tr>
<td width="190" valign="top"><span>17</span></td>
<td width="492" valign="top"><a name="arraydevice"></a><span>Array Device</span></td>
</tr>
<tr>
<td width="190" valign="top"><span>18 &#8211; 7F</span></td>
<td width="492" valign="top"><span>Reserved</span></td>
</tr>
<tr>
<td width="190" valign="top"><span>80 &#8211; FF</span></td>
<td width="492" valign="top"><span>Vendor-specific type code</span></td>
</tr>
</tbody>
</table>
</div>
<div>Text below is from the SMARTMon-UX manual page &#8230;</div>
<p>Below is a table from the ANSI SES programming specification which shows how one might package the bytes to control aspects of a device.  We will send a harmless command which will enable the fault light for a device in a particular slot. Every element type has a different 4-byte structure and options, so you should consult either the ANSI programming specification or your particular vendor&#8217;s documentation.  Remember, an enclosure manufacturer is free to not support certain functions as well as add vendor-unique functionality.</p>
<div>
<table border="1" cellspacing="0" cellpadding="0" bgcolor="#00ffff">
<tbody>
<tr>
<td valign="top"><span>Byte/Bit</span></td>
<td valign="top"><span>7</span></td>
<td valign="top"><span>6</span></td>
<td valign="top"><span>5</span></td>
<td valign="top"><span>4</span></td>
<td valign="top"><span>3</span></td>
<td valign="top"><span>2</span></td>
<td valign="top"><span>1</span></td>
<td valign="top"><span>0</span></td>
</tr>
<tr>
<td valign="top"><span>0</span></td>
<td colspan="8" valign="top"><a name="commoncontrol"></a><span>Common Control (This is automatically set to zero)</span></td>
</tr>
<tr>
<td valign="top"><span>1 (<a name="wwfield"></a>ww field)</span></td>
<td colspan="8" valign="top"><span>Reserved</span></td>
</tr>
<tr>
<td valign="top"><span>2 (<a name="xxfield"></a>xx field)</span></td>
<td valign="top"><span>Active</span></td>
<td valign="top"><span>Do Not Remove</span></td>
<td colspan="2" valign="top"><span>Reserved</span></td>
<td valign="top"><span>Request Insert</span></td>
<td valign="top"><span>Request Remove</span></td>
<td valign="top"><span>Request Identify</span></td>
<td valign="top"><span>Reserved</span></td>
</tr>
<tr>
<td valign="top"><span>3 (<a name="yyfield"></a>yy field)</span></td>
<td colspan="2" valign="top"><span>Reserved</span></td>
<td valign="top"><span>Request Fault</span></td>
<td valign="top"><span>Device Off</span></td>
<td valign="top"><span>Enable Bypass A</span></td>
<td valign="top"><span>Enable Bypass B</span></td>
<td colspan="2" valign="top"><span>Reserved</span></td>
</tr>
</tbody>
</table>
</div>
<p>To enable the request fault light, we must set bit 5 in byte #3 (i.e., 20 hex), so the <span>wwxxyy sequence</span> must be <span><strong>000020</strong></span>.</p>
<p>As we are controlling the device element, we must send a 01 to indicate a disk device.  For our example, we&#8217;ll select the third device in the enclosure (corresponding to element # 2).</p>
<p>Put it all together, and you would send out <span><strong>-EP20102000020</strong></span><span>.</span></p>
<p>If we were to send out <span><strong>-EP20102000200</strong></span>, this will turn off the fault light, but turn on the identify light (assuming one exists).  Note that the fault light goes off because byte 3 (the yy field) has all zeros in it.  The SES enclosure will stay in whatever state you put it in, until either the enclosure decides to override that state or power is reset to the enclosure.  Everything is volatile.  (There may be some exceptions for vendor-unique SES elements).</p>
]]></content:encoded>
			<wfw:commentRss>http://storagesecrets.org/2008/12/scsi-enclosure-services-ses-ses-2-management/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Are there any industry standards for managing intelligent enclosures</title>
		<link>http://storagesecrets.org/2008/12/enclosurestandards/</link>
		<comments>http://storagesecrets.org/2008/12/enclosurestandards/#comments</comments>
		<pubDate>Tue, 30 Dec 2008 08:09:54 +0000</pubDate>
		<dc:creator>david</dc:creator>
				<category><![CDATA[Enclosure Management]]></category>
		<category><![CDATA[SAF-TE]]></category>
		<category><![CDATA[SES]]></category>

		<guid isPermaLink="false">http://storagesecrets.org/?p=20</guid>
		<description><![CDATA[Yes &#8211; SES, which stands for SCSI ENCLOSURE SERVICES, is the ANSI standard by which Fibre Channel-attached subsystems adhere to.  SCSI enclosures &#8220;speak&#8221; SAF-TE, which stands for SCSI Accessed Fault Tolerant Enclosures.
The SES specification has a great deal of intelligence, which allows for not only reporting health, but changing fan speeds, manipulating the LEDs, and [...]]]></description>
			<content:encoded><![CDATA[<p>Yes &#8211; SES, which stands for SCSI ENCLOSURE SERVICES, is the ANSI standard by which Fibre Channel-attached subsystems adhere to.  SCSI enclosures &#8220;speak&#8221; <a title="SAF-TE.org" href="http://www.safte.org" target="_blank">SAF-TE</a>, which stands for SCSI Accessed Fault Tolerant Enclosures.</p>
<p>The SES specification has a great deal of intelligence, which allows for not only reporting health, but changing fan speeds, manipulating the LEDs, and controlling audible alarms.   SAF-TE is a rather dumb interface that reports the most basic information in more of a pass/fail form.</p>
]]></content:encoded>
			<wfw:commentRss>http://storagesecrets.org/2008/12/enclosurestandards/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
