StorageTek StorageNet SCSI-3 User manual

Type
User manual

This manual is also suitable for

8946121402
StorageNet Fibre Channel Switch 4000
SES (SCSI-3 Enclosure Services)
User Guide
8946121402
StorageNet Fibre Channel Switch 4000
SES (SCSI-3 Enclosure Services)
User Guide
ii 8946121402
Revision History
The U.S. Department of Commerce restricts the distribution of technical information contained
in this document when exported outside the
U.S. Therefore, careful attention should be given
to compliance with all applicable
U.S. Export Laws if any part of this document is to be
exported.
© 1999 Storage Technology Corporation, Louisville, Co. All rights reserved. Printed in USA.
Address comments concerning this manual to:
StorageTek
Technical Communications
7600 Boone Avenue North
Minneapolis,
MN 55428-1099
USA
Comments may also be submitted over the Internet by addressing them to:
Always include the complete publication number and title of the document with your
comments.
Tab Level/Date Description
01 (08/98) Initial release.
02 (03/99) Manual release corresponding to Release 1.6a.
8946121402 iii
About This Document
Introduction
Use this guide for monitoring, configuring, and maintaining a StorageNet Fibre Channel
Switch 4000 through SCSI-3 Enclosure Services (SES). You should be knowledgeable about
networking in general, routing and bridging in particular. A clearly defined network and
security plan is necessary. Your security plan should assess the possible risks to your network
and define access policies to deal with those risks.
How This Guide is Organized
This guide is divided into the following chapters:
Chapter 1 “Product Overview”, provides an overview of SES and SES Management.
Chapter 2 “SES Concepts”, describes the concepts associated with SES.
Chapter 3 “SES Commands”, describes FC-PH constructs, FCP and SES commands,
and diagnostics pages.
Chapter 4 “Troubleshooting”, describes command error messages.
The following appendix is also included in this guide:
Appendix A “Glossary”.
Reference Documents
The following documents contain information related to SES:
Fibre Channel Standards. For detailed information on the Fibre Channel standards, see the
Fibre Channel Association web site at http://www.fibrechannel.com.
StorageNet Fibre Channel Switch 4000 Installation and Reference Guide (8946119902)
StorageNet Fibre Channel Switch 4000 WEB TOOLS User Guide (8946121602)
StorageNet Fibre Channel Switch 4000 ZONING User Guide (8946121502)
iv 8946121402
Notice to the Reader
The material contained in this publication is for informational purposes only and is subject to
change without notice. StorageTek is not responsible for the use of any product options or
features not described in this publication, and assumes no responsibility for any errors that
may appear in this publication. Refer to the revision history (at the beginning of this
document) to determine the revision level of this publication.
StorageTek does not by publication of the descriptions and technical documentation contained
herein, grant a license to make, have made, use, sell, sublicense, or lease any equipment or
programs designed or constructed in accordance with this document or programs designed or
constructed in accordance with this information.
Customer Support
For technical support, please call StorageTek at 1-800-248-8777.
Before calling StorageTek, please have your information from the Problem Reporting form
ready. This form is located at the back of this manual.
If a problem cannot be resolved through Customer Support, a Return Material Authorization
(
RMA) is issued. Instructions are provided on where to return the part and how to receive a
replacement part. If the product is installed by the customer, the customer is responsible for
returning the product with freight paid to the nearest repair center.
8946121402 v
Table of Contents
Chapter 1 Product Overview
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-1
SES Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-1
Chapter 2 SES Concepts
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-1
SES Functional Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-1
Access to the Enclosure Services Process . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-3
Access Through an Enclosure Services Device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-3
Indicators and Control Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-3
Chapter 3 SES Commands
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-1
Constructs, Commands and Diagnostic Pages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-1
FCP Constructs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-2
FCP Command Information Unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-2
FCP Transfer Ready Information Unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-3
FCP Data Information Unit. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-3
FCP Response Information Unit . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-3
FCP and SES Commands . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-4
Switch Diagnostics Pages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-5
Supported Diagnostics Pages. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-5
Switch Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-6
Sensor Table Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-7
Fabric Page. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-7
Neighborhood Table Page. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-8
Fibre Channel Port Table Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-8
Name Server Local Table Page. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-10
Inquiry . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-11
Receive Diagnostic Results. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-13
Report LUNs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-14
Request Sense . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-14
Send Diagnostic. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-15
Test Unit Ready . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-15
Reject. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-16
vi 8946121402
Chapter 4 Troubleshooting
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-1
License Reject. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-1
CHECK CONDITION. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-1
Invalid Field Errors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4-1
Appendix A Glossary
8946121402 vii
List of Figures
Figure 1-1 SES Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-2
Figure 2-1 SES Distribution . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-1
Figure 2-2 SES Functional Model . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-2
viii 8946121402
8946121402 ix
List of Tables
Table 1-1 Example LUN Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-2
Table 2-1 Format of LUN recognized by SESD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-2
Table 2-2 LUN Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-2
Table 3-1 Constructs, Commands and Diagnostic Pages . . . . . . . . . . . . . . . . . . . . .3-1
Table 3-2 FCP Information Unit Descriptions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-2
Table 3-3 FCP_CMND IU Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-3
Table 3-4 FCP_RSP Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-3
Table 3-5 FCP_STATUS Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-4
Table 3-6 Supported Operation Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-4
Table 3-7 Diagnostics Pages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-5
Table 3-8 Switch MIB Groups . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-5
Table 3-9 Page Code 0 Format – Supported Diagnostic Pages . . . . . . . . . . . . . . . .3-5
Table 3-10 Switch Page Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-6
Table 3-11 Sensor Table Page Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-7
Table 3-12 Format of Fabric Page . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-7
Table 3-13 Neighborhood Table Page Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-8
Table 3-14 Fibre Channel Port Table Page Format . . . . . . . . . . . . . . . . . . . . . . . . . . .3-9
Table 3-15 Format of Name Server Local Table Page . . . . . . . . . . . . . . . . . . . . . . . .3-10
Table 3-16 Inquiry Command Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-11
Table 3-17 Inquiry Data Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-11
Table 3-18 Page Codes . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-12
Table 3-19 SESD Return Codes for 00h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-12
Table 3-20 SESD Return Codes for 80h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-12
Table 3-21 SESD Return Codes for 83h . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-13
Table 3-22 Receive Diagnostic Results Command Format . . . . . . . . . . . . . . . . . . . . .3-13
Table 3-23 Report LUNs Command Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-14
Table 3-24 Reported LUNs Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-14
Table 3-25 Request Sense Command Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-14
Table 3-26 Send Diagnostic Command Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-15
Table 3-27 Test Unit Ready Command Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-15
Table 3-28 Reject Command Format . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .3-16
x 8946121402
8946121402 1-1
Chapter 1 Product Overview
Introduction
This chapter describes StorageTek’s implementation of SES (SCSI-3 Enclosure Services) on
the StorageNet Fibre Channel Switch 4000.
SES implementation in a SCSI-3-based Host Adapter is up to the adapter manufacturer and
StorageTek cannot determine their implementation. Therefore, the focus of this guide is to
discuss StorageTek’s implementation of SES within the Fabric.
Note: Currently, the SES standard is in DRAFT status and is subject to change. See
“Reference Documents” for a pointer to the SES Standards Committee’s web site.
SES Management
SES is an in-band mechanism for managing devices, such as switches, within a Fabric or other
enclosures. SES commands are used to manage and sense the operational status of the power
supplies, cooling devices, displays, indicators, individual drives, and other non-SCSI elements
installed in a switch (enclosure). The command set uses the SCSI
SEND DIAGNOSTIC and
RECEIVE DIAGNOSTIC RESULTS commands to obtain/set configuration information from
the switch.
SES allows a SCSI entity (or initiator) to communicate with a switch through a standard Fiber
Channel Protocol (FCP) connection into the Fabric. The benefits are:
SES does not require supporting another protocol
SES does not require an additional network link (such as Ethernet)
Figure 1-1 shows the Fabric SES view. The switch’s Domain_ID is used as the Logical Unit
Number (LUN) address to identify each switch including the switch used for access through
SES. See the “SES Functional Model” section in Chapter 2 for more information.
Note: The connection to the Fabric is through the switch labeled LUN5 and which is also
called LUN0. The connection to the well known management address (FFFFFAh) is
always labeled LUN0 no matter which switch is used.
SES Management
1-2 8946121402
Figure 1-1 SES Overview
LUN addressing within the Fabric can be non-sequential because it is based on the switch’s
Domain_ID. Table 1-1 shows the sample LUN mapping used with Figure 1-1.
Figure 1-1 shows that the switch in the lower left hand corner is assigned both LUN5 and
LUN0. (LUN5 because the switch’s
Domain_ID is 5 and LUN0 because the client is
physically connected to that switch.) LUN values for the first byte, shown in Table 1-1, are:
00000000 00000000 - the bold characters indicate the local switch
0X0X0000 00000000 - the bold characters indicate the SCSI LUN address of the other
switches in the Fabric
Table 1-1 Example LUN Mapping
Domain ID Unique LUN Value (in Hex)
5 00000000 00000000 (Note that Domain ID 5 is used for both LUN 0 and 5)
2 01020000 00000000
5 01050000 00000000
6 01060000 00000000
9 01090000 00000000
10 010A0000 00000000
SES Management
8946121402 1-3
Therefore, if there are 5 switches in the Fabric SES reports 6 LUNs, one LUN value for each
switch and LUN0 for the local client connection.
Other SCSI-3 enclosures can also run SES outside the Fabric, such as JBODs, RAID-5 arrays,
SCSI-3 hard drives, and SCSI-3 tape drives. These devices are identified by their Fabric and
SCSI addresses, and are assigned LUNs using standard SCSI-3 host adapter LUN addressing.
Note: It is not this guide’s intent to describe the environment outside of the Fabric.
SES Management
1-4 8946121402
8946121402 2-1
Chapter 2 SES Concepts
Introduction
This chapter uses generic terms to describe enclosure services and specific SES
implementation. SES instances can be distributed inside and outside of the Fabric to any
enclosure capable of supporting enclosure services through an SES device.
SES is distributed transparently throughout the Fabric, with an instance of a distributed SES
Device (SESD) on each switch as shown in Figure 2-1.
Figure 2-1 SES Distribution
SES Functional Model
Each instance may be accessed by an SES Application Client by specifying the associated
unique LUN. See Figure 2-2 for information on LUN addressing. SES implementation also
provides an SES Application Client an in-band mechanism for managing any Fabric switch
that it is attached to.
Figure 2-2 shows the SES functional model.
SES Functional Model
2-2 8946121402
Figure 2-2 SES Functional Model
At the Fibre Channel level, each SESD is accessible through the Fibre Channel well known
address,
FFFFFAh (Management Server). At the SCSI-3 level, it is associated with a LUN. An
SES Application Client can refer to any distributed SESD within the Fabric using its LUN. A
LUN value of 0 is always associated with the local switch that is physically attached to the
SES Application Client. The unique LUN value is mapped based on peripheral device
addressing.
The bus number for each switch is set to
010000b as shown in Table 2-1. The first byte of the
Target/LUN is set using the
Domain_ID of the switch. Bytes 2..7 are set to zero.
Table 2-2 shows the LUN mapping.
Table 2-1 Format of LUN recognized by SESD
Byte/Bit 7 6 5 4 3 2 1 0
0 0 0 Bus Number = 010000b
1 Target
... or
7 Logical Unit Number (LUN)
Table 2-2 LUN Mapping
Domain ID Unique LUN Value (in Hex)
0 0h 01000000 00000000
5 5h 01050000 00000000
12 Ch 010C0000 00000000
15 Eh 010F0000 00000000
25 19h 01190000 00000000
SES Application
Client
FCP Port
FC-PH
SES Device
FCP _Port
FC-PH
FCP Command
FCP Response
SES Response
SES Request
Response Sequence
Request Sequence
Access to the Enclosure Services Process
8946121402 2-3
An SES Application Client may easily find the LUN values of all distributed SESDs inside the
Fabric by using the Report LUNs command. See the “Report LUNs” section in Chapter 3 for
more information.
Access to the Enclosure Services Process
An application client can monitor all enclosures capable of processing the enclosure services
command set with SES instances distributed throughout a Storage Area Network (SAN).
Enclosure services can monitor both devices inside and outside of the enclosure, such as an
Uninterruptable Power Supply (UPS). However, SES pertains only to SES instances inside the
Fabric.
An application client connects through Fiber Channel Protocol (FCP) using the Management
Service address (
FFFFAh) to any switch through its LUN. See Figure 1-1. The enclosure
services command set uses the
RECEIVE DIAGNOSTIC RESULTS and SEND DIAGNOSTIC
commands to any device capable of supporting SES.
Access Through an Enclosure Services Device
The Application Client requests information from the SESD to examine status and warning
information from the switch.
An Application Client through FCP calls the enclosure services process running on any switch
as a LUN that has SES enabled. The SESD sets the enclosure services bit (
EncServ) in the
INQUIRY command to indicate that it can transport enclosure services information. See the
“Inquiry” section in Chapter 3 for more information.
Indicators and Control Management
SESD is accessed through an application client that uses the SEND DIAGNOSTIC command to
transport control information to the enclosure services process. The control information may
include operations to perform or to modify its operating mode. The application client uses the
RECEIVE DIAGNOSTIC RESULTS command with the PF bit set to obtain enclosure status.
The information returned indicates the actual enclosure state. See the “Receive Diagnostic
Results” section in Chapter 3 for more information.
Note: The instructions from the application client may be ignored or overwritten by the
enclosure service processor to ensure proper state information. For example, the
enclosure may ignore an instruction to clear an error condition because the condition
is valid or because the instruction is not supported by the enclosure.
Indicators and Control Management
2-4 8946121402
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45

StorageTek StorageNet SCSI-3 User manual

Type
User manual
This manual is also suitable for

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI