Re: [Ips] iSCSI-specific unit attention conditions

"Bill Galloway" <BillG@breatech.com> Sat, 04 April 2009 06:28 UTC

Return-Path: <BillG@breatech.com>
X-Original-To: ips@core3.amsl.com
Delivered-To: ips@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1114C3A67AA for <ips@core3.amsl.com>; Fri, 3 Apr 2009 23:28:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.149
X-Spam-Level:
X-Spam-Status: No, score=0.149 tagged_above=-999 required=5 tests=[BAYES_40=-0.185, IP_NOT_FRIENDLY=0.334]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ifdYSosTN3r3 for <ips@core3.amsl.com>; Fri, 3 Apr 2009 23:28:50 -0700 (PDT)
Received: from outbound-mail-144.bluehost.com (outbound-mail-144.bluehost.com [67.222.38.34]) by core3.amsl.com (Postfix) with SMTP id BF3343A68D9 for <ips@ietf.org>; Fri, 3 Apr 2009 23:28:02 -0700 (PDT)
Received: (qmail 22657 invoked by uid 0); 4 Apr 2009 06:25:26 -0000
Received: from unknown (HELO host164.hostmonster.com) (74.220.207.164) by outboundproxy5.bluehost.com with SMTP; 4 Apr 2009 06:25:26 -0000
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=breatech.com; h=Received:Reply-To:From:To:References:In-Reply-To:Subject:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:X-Mailer:Thread-Index:Content-Language:X-Identified-User; b=G3ImgMMhTI4zWqtuje6oJtPB/b9TJDMK59EXxaENnLuoTiwi1gZEecbr7SSSbRIh1xeJSSfg9zjg16Ex75YnCBtoTL0OQW9BJHIfxPTZ64U0FCgAA91UNB24XMMdOel3;
Received: from 66-101-59-48-static.dsl.oplink.net ([66.101.59.48] helo=billgsv4) by host164.hostmonster.com with esmtpa (Exim 4.69) (envelope-from <BillG@breatech.com>) id 1LpzNK-0000FW-04 for ips@ietf.org; Sat, 04 Apr 2009 00:29:06 -0600
From: Bill Galloway <BillG@breatech.com>
To: ips@ietf.org
References: <18899.36208.525150.683459@pkoning-laptop.equallogic.com> <AC32D7C72530234288643DD5F1435D530445C9AB@RTPMVEXC1-PRD.hq.netapp.com> <948E73819E6E494394157AD8A890E8774E3A3054@saturn.p3corpnet.pivot3.com> <948E73819E6E494394157AD8A890E877405C31C1@saturn.p3corpnet.pivot3.com>
In-Reply-To:
Date: Sat, 04 Apr 2009 01:29:03 -0500
Message-ID: <000001c9b4ee$a73e3da0$f5bab8e0$@com>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 12.0
Thread-Index: Acmy4bP4cvpmWgG5S1GjUaf5wa5pJwAAfJEAAAxGCiAAX7zz0AAWpM4wAAAS9lA=
Content-Language: en-us
X-Identified-User: {2089:host164.hostmonster.com:thegallo:breatech.com} {sentby:smtp auth 66.101.59.48 authed with billg+breatech.com}
X-Mailman-Approved-At: Sat, 04 Apr 2009 10:38:03 -0700
Subject: Re: [Ips] iSCSI-specific unit attention conditions
X-BeenThere: ips@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: BillG@breatech.com
List-Id: IP Storage <ips.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/ips>, <mailto:ips-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/ips>
List-Post: <mailto:ips@ietf.org>
List-Help: <mailto:ips-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ips>, <mailto:ips-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 04 Apr 2009 06:30:38 -0000

This is a re-send from a different email.... 

I am the guilty party associated with these sense codes.  I have been
traveling for the last few days or I would have chimed in sooner.  My
original proposal was not iSCSI specific.  It added three ASC/ASCQs which
were DEVICE PORT ADDRESS ADDED/CHANGED/REMOVED. The original names actually
explain the intent better (IMHO).

We produce an iSCSI target with many "Portal Groups" and "Network Portals".
Portal Groups come and go dynamically. Within a Portal Group, Network
Portals come, go, or change dynamically.  The intent is for the initiator to
be connected to all Network Portals, on all Portal Groups, all of the time.
This is usually accomplished with some combination of MCS in the initiator
and a MPIO (multipath) layer above the initiator.  The initiator is
perfectly willing to make all of these connections but there is no way
specified in any standard to accomplish this task.  There is a mix of layers
here that makes for a messy solution.  I am certainly open to a better one.

The SCSI layer could care less about Network Portals coming, going, or
changing but something has to kick the initiator to do a new discovery and
make the appropriate connections.  This would have been better handled at
the iSCSI layer but I could find nothing available.  In our implementation
the MPIO layer traps these UAs and kicks the initiator.

The SCSI layer does have a legitimate need to know about Portal Groups
coming and going.  These map to SAM target ports and the SCSI layer may need
to know. The initiator also needs to know so that it can make the new
connections.  In our implementation the MPIO layer also traps these UAs and
kicks the initiator.

Why three codes? No good reason.  My first proposal was more generic than
iSCSI and there was a hope that it would be useful to other protocols.  To
get the proposal passed, I agreed to change the names to be iSCSI specific.
In retrospect when I made the name change, I could have dropped it to one
code.  In our current implementation we treat all codes the same.

I hope this explains the rational for these ASC/ASCQs.  I am not aware of
anything in the iSCSI spec that accomplishes these goals. I am certainly
willing to explain further and to work with STORM to document this better
and/or come up with a better solution.

Bill Galloway
Pivot3, Inc.
BillG[-at-]Pivot3.com