SANsurfer FC/CNA HBA CLI User’s Guide
Command Line Interface for QLogic FC and FCoE Adapters
Information furnished in this manual is believed to be accurate and reliable. However, QLogic Corporation assumes no
responsibility for its use, nor for any infringements of patents or other rights of third parties that may result from its use.
QLogic Corporation reserves the right to change product specifications at any time without notice. Applications
described in this document for any of these products are for illustrative purposes only. QLogic Corporation makes no
representation nor warranty that such applications are suitable for the specified use without further testing or
modification. QLogic Corporation assumes no responsibility for any errors that may appear in this document.
\
Document Revision History
Revision A, August 20, 2004
Revision B, September 28, 2005
Revision C, June 7, 2006
Revision D, October 1, 2006
Revision E, February 1, 2007
Revision F, February 29, 2008
Revision G, June 30, 2008
Revision H, July 16, 2008
Revision J, March 11, 2009
Revision K, June 15, 2009
ChangesSections Affected
Revision K Changes:
Changed product name from “SANsurfer FC HBA
CLI” to “SANsurfer FC/CNA HBA CLI.”
Added
QLE81xx and QMI81xx to the list of sup-
ported adapters.
Added Red Hat and Novell PowerPC64 to supported Linux OSs.
Added list of unsupported features for QLE81xx
and QMI81xx adapters on Linux OS.
Added note recommending uninstalling older version rather than upgrading.
Added new FCoE menu option to Getting Started
chapter.
All
“Supported QLogic Adapters” on page 1-2
“Supported Operating Systems” on page 1-3
“Unsupported Features” on page 1-5
“Installing SANsurfer FC/CNA HBA CLI” on
page 1-7
“Starting Interactive Mode” on page 2-1
Added -cna command line option to Non-interac-
Table 2-1 on page 2-4
tive Mode Options table.
iiSN0054614-00 K
SANsurfer FC/CNA HBA CLI User’s Guide
Command Line Interface for QLogic FC and FCoE Adapters
Added new FCoE menu option to Interactive Com-mands chapter.
Added Flash Image Version to list of actual VPD
information.
Added new ENode MAC Address information for
QLE81xx adapters.
Added cautions about deleting the LUN persistent
name for a LUN with active I/O.
Updated the Utilities menu (renamed some
options per modifications to the CLI, added new
MPI config table options, and removed the FCoE Utility option).
Updated Update Flash option.“Update Flash (Per Adapter Port or All HBAs)
Added new message passing interface (MPI)
options for the Utilities menu.
Updated loopback and read/write buffer test
descriptions and examples.
3 Interactive Commands
“Generate Report (Per Adapter Port)” on
page 3-11
“HBA Information (Command Line Option -i)” on
page 3-21
“Persistent Names Menu (Command Line Option
-pl)” on page 3-39
“-pl (Show, Add, and Delete Persistent Names)” on
page 4-41
“Utilities Menu” on page 3-64
“Update MPI Config Table” on page 3-71
“Save MPI Config Table” on page 3-71
(Command Line Option -b)” on page 3-65
“Update MPI Config Table” on page 3-71
“Save MPI Config Table” on page 3-71
“Diagnostics Loopback Test (Command Line
Option -kl)” on page 3-77
“Diagnostics Read/Write Buffer Test” on page 3-83
Updated the transceiver details output examples.“Diagnostics Transceiver Details: DMI (Command
Line Option -dm)” on page 3-85
Updated FCoE menu section to reflect support for
both QLE80xx (FCoE adapters) and QLx81xx
(converged network adapters).
Added new section for converged network adapters (QLE81xx and QMI81xx).
Added new command line options for converged
network adapters (QLE81xx and QMI81xx).
Renamed Interactive Exit Codes appendix and
updated and added new error return codes.
Removed redundant Non-Interactive Error Codes
appendix (codes are the same as in Appendix C
Error/Exit Return Codes).
Added new glossary terms.
“FCoE Menu (Command Line Option -cna)” on
page 3-108
“FCoE Utilities Menu for QLx81xx Adapters (Command Line Option -cna)” on page 3-111
“-cna (FCoE Utilities Menu for QLx81xx Adapters)”
on page 4-8
Appendix CError/Exit Return Codes
—
Glossary
SN0054614-00 Kiii
SANsurfer FC/CNA HBA CLI User’s Guide
Command Line Interface for QLogic FC and FCoE Adapters
The SANsurfer® FC/CNA HBA CLI tool provides a command line interface (CLI)
that lets you easily install, configure, and deploy QLogic
adapters, as well as QLogic Fibre Channel over Ethernet (FCoE) converged
network adapters (CNAs). It also provides robust diagnostic and troubleshooting
capabilities and useful statistical information to optimize SAN performance. This
tool only configures adapters on the local machine (where SANsurfer FC/CNA
HBA CLI is installed.)
SANsurfer FC/CNA HBA CLI is a simplified, condensed version of the SANsurfer
FC HBA Manager graphical user interface (GUI), which manages both local and
remote hosts.
SANsurfer FC/CNA HBA CLI can be operated in two modes:
Interactive mode (menu-driven interface). This mode requires user
intervention.
Non-interactive mode (command line interface). Use this mode for
scripting or when you want to do a single operation.
NOTE:
This guide uses interchangeably the terms HBA, CNA, and adapter.
®
Fibre Channel (FC)
Intended Audience
This guide is intended for end users responsible for administration of QLogic FC
adapters.
What’s in This Guide
This preface provides a general overview of the product and covers the intended
audience, related materials, document conventions, and contact information for
technical support.
SN0054614-00 Kxv
Preface
What’s in This Guide
The remainder of this guide is organized into the following chapters and
appendices:
1 Installation and Removal lists the supported QLogic adapters and
2 Getting Started describes the two modes used in SANsurfer FC/CNA HBA
3 Interactive Commands provides detailed explanations and examples of
4 Non-Interactive Commands provides detailed explanations and examples
Appendix AXML Format 1 provides explanations and examples of XML files
operating systems, lists the system hardware and software requirements,
and provides step-by-step instructions for installing and uninstalling
SANsurfer FC/CNA HBA CLI on Windows, Linux, Solaris, and Macintosh.
CLI: interactive and non-interactive. It also explains some special terms
used in this guide.
the command line options used in interactive mode.
of the command line options used in non-interactive mode.
created with the -x1 command line option.
Appendix B XML Format 2 provides explanations and examples of XML files
created with the -x2 command line option.
Appendix C Error/Exit Return Codeslists the error return codes that can
occur while running SANsurfer FC/CNA HBA CLI in interactive and
non-interactive modes. For each return code number, it provides the name
and description.
Appendix D Help Commands provides an alphabetical list of the command
line actions, arguments, and functions of the help commands.
Following the appendices are a glossary of terms used and an index that will help
you quickly find the information you need.
Documentation Conventions
This guide uses the following typographic conventions:
Te x t i n bold font indicates a menu or menu item. For example:
From the General Information Menu, type the number for Host Topology.
Text in a monospace font (Courier New) indicates CLI window text output.
For example:
The HBA already has the device selected as boot device.
Text in a bold sans serif font (Courier New) indicates user input (what you
type). For example:
# scli -z
xviSN0054614-00 K
Preface
License Agreements
Te x t i n
keyboard. For example:
Italicized text indicates either a document reference, glossary term, or
emphasis. For example:
Italicized text within angle brackets indicates user-defined variables. For
example:
Text shown in blue indicates a cross-reference hyperlink to a Web site or to
another section of this guide. Click the hyperlink to jump to that site or
section. For example:
In 3 Interactive Commands, a “breadcrumbs” line follows most command
headings to show you how to access that option; that is, it shows the
hierarchical path from the top level to the command under discussion. For
example, to reach the Save to Text File options from the main SANsurfer
FC/CNA HBA CLI menu, you would select option 1 to open the General Information menu, 2 to open the Host Topology menu, and 2 again to see
the Save to Text File options.
ALL CAPITALS
Type the number for Host Information and then press
Attached Port means a QLogic adapter....
For a complete list, see the QLogic SAN Interoperability Guide.
# scli -k (<hba instance> | <hba wwpn>)
Visit the QLogic support Web site at support.qlogic.com
firmware and product updates.
For information on the Virtual Menu, see “Virtual Menu for Adapter
Instance” on page 3-98.
indicates the name of a key that you press on the
ENTER
.
for the latest
The following shows a breadcrumbs example:
1: General Information 2: Host Topology 2: Save to Text File
Related Materials
For additional information, refer to the SANsurfer FC/CNA HBA CLI ReadMe file
and release notes.
License Agreements
Refer to the QLogic Software End User License Agreement for a complete listing
of all license agreements affecting this product.
SN0054614-00 Kxvii
Preface
Technical Support
Technical Support
Customers should contact their authorized maintenance provider for technical
support of their QLogic switch products. QLogic-direct customers may contact
QLogic Technical Support; others will be redirected to their authorized
maintenance provider.
Visit the QLogic support Web site listed in Contact Information for the latest
firmware and software updates.
Availability
QLogic Technical Support for products under warranty is available during local
standard working hours excluding QLogic Observed Holidays.
Training
QLogic offers training for technical professionals for all iSCSI, InfiniBand, and
Fibre Channel products. From the main QLogic Web page, www.qlogic.com
the Education and Resources tab at the top, and then click the Education & Training tab at the left. The QLogic Global Training Portal offers online courses,
certification exams, and scheduling of in-person training.
, click
Technical certification courses include installation, maintenance, and
troubleshooting QLogic products. Upon demonstrating knowledge using live
equipment, QLogic awards a certificate identifying the student as a Certified
Professional. The training professionals at QLogic may be reached by e-mail at
training@qlogic.com
Contact Information
Please feel free to contact your QLogic approved reseller or QLogic Technical
Support at any phase of integration for assistance. QLogic Technical Support can
be reached by the following methods:
Webhttp://support.qlogic.com
E-mailsupport@qlogic.com
The QLogic knowledge database contains troubleshooting information for the
QLogic adapters. Access the database from the QLogic Support Web page,
http://support.qlogic.com
specific troubleshooting information.
.
. Use the Support Center search engine to look for
xviiiSN0054614-00 K
1Installation and Removal
This chapter lists the supported QLogic adapters and system requirements,
provides procedures for downloading and installing SANsurfer FC/CNA HBA CLI,
and instructions for removing the product. Refer to the following sections:
“Supported QLogic Adapters” on page 1-2
“Supported Operating Systems” on page 1-3
“System Requirements” on page 1-4
“Downloading the Installation Package” on page 1-6
“Installing SANsurfer FC/CNA HBA CLI” on page 1-7
“Uninstalling SANsurfer FC/CNA HBA CLI” on page 1-21
Prerequisites
Before you run SANsurfer FC/CNA HBA CLI, ensure that the following
requirements are met:
The adapters must be installed.
The adapter drivers must be installed.
For QLE81xx and QMI81xx adapters, a QLogic-specific small form factor
pluggable (SFP) must be installed.
NOTE:
Some SANsurfer FC/CNA HBA CLI features are not available when:
You have a Solaris system that is running with the driver distributed with
the OS installation CDs (QLC driver).
You have a Linux system that is running with the IOCTL or sysfs (inbox)
driver.
You have a Linux system that is running with a VMware driver.
SN0054614-00 K1-1
1–Installation and Removal
Supported QLogic Adapters
Supported QLogic Adapters
SANsurfer FC/CNA HBA CLI is supported for the following QLogic adapters:
Not all SANsurfer FC/CNA HBA CLI features are available on every supported
adapter. For more information, see “Unsupported Features” on page 1-5.
NOTE:
If SANsurfer FC/CNA HBA CLI detects an unsupported adapter, the
following message appears, where X is the adapter instance number and YYYYYYY is the adapter model:
Unsupported HBA (Instance X – YYYYYYY)
If SANsurfer FC/CNA HBA CLI detects an adapter for which no information
is known, the following message appears, where X is the adapter instance
number, 0xYYYY is the subsystem vendor ID, and 0xZZZZ is subsystem
device ID of the adapter:
Unknown HBA type (Instance X SSVID=0xYYYY SSDID=0xZZZZ)!
1-2SN0054614-00 K
Supported Operating Systems
SANsurfer FC/CNA HBA CLI is supported on the following operating systems:
®
Microsoft
Windows 2000, 32-bit, Intel x86 Intel 64, AMD64
Windows Server 2003, 32-bit Intel x86, Intel 64, AMD64
Windows Server 2008, 32-bit Intel x86, Intel 64, AMD64
Windows XP Professional, 32-bit Intel x86, Intel 64, AMD64
Windows XP Professional, x64-bit Intel 64, AMD64
Windows Vista, 32-bit Intel x86
Windows Vista x64
Linux
Red Hat
Red Hat RHEL AS/ES 4.5 32-bit, 64-bit Intel IA64, Intel 64, AMD64
Red Hat RHEL AS/ES 4.0 32-bit, 64-bit Intel IA64, Intel 64, AMD64
Red Hat RHEL AS/ES 3.0 32-bit, 64-bit Intel x86, Intel 64, AMD64
Red Hat PowerPC64
Mac OS X (Panther/Tiger), 32-bit, 64-bit PowerPC/Intel
NetWare
®
:
NetWare 6.5 32-bit Intel x86, Intel 64, AMD64
VMware
®
ESX:
ESX 3.5 32-bit, Intel 64, AMD64
SN0054614-00 K1-3
1–Installation and Removal
System Requirements
NOTES:
Throughout this guide, the terms Windows, Linux, Solaris, and
Macintosh refer to all the respective supported operating systems unless
otherwise noted.
For specific service packs (SPs) and OS updates, refer to the
descriptions where this software version is posted on the QLogic Web
site: http://support.qlogic.com
System Requirements
The system requirements for SANsurfer FC/CNA HBA CLI are described in the
following sections:
“Hardware Requirements” on page 1-4
“Software Requirements” on page 1-5
.
Hardware Requirements
The minimum hardware requirements are as follows:
QLogic adapters (see “Supported QLogic Adapters” on page 1-2).
Single- or multiprocessor server or workstation:
Pentium
Server 2003, Windows XP Professional, Linux, and Solaris.
Windows Vista and Windows Server 2008—Use the minimum
requirements from Microsoft.
Power Mac
FC devices, such as disks and RAID subsystems.
QLogic FC adapters.
SANsurfer FC/CNA HBA CLI supports most FC devices. For a complete list of
devices that support failover, see the QLogic SAN Interoperability Guide, which
you can download from the QLogic Web site:
Tape devices are shown as part of the configuration, but are not fully
supported by SANsurfer FC/CNA HBA CLI. Only persistent binding and LUN
masking are available.
®
III with 450 MHz or greater for Windows 2000, Windows
®
G5 1.8 MHz or greater with 512 MB of memory.
1-4SN0054614-00 K
256 MB physical RAM are required to run SANsurfer FC/CNA HBA CLI;
running with less memory can cause disk swapping (“paging” or “paging
out”), which severely affects performance.
Video card capable of 256 colors and a screen resolution of 800x600 pixels.
About 7 MB of disk space.
Software Requirements
The minimum software requirements are as follows:
QLogic drivers for your OS platform.
Administrative privileges to perform management functions.
One of the operating systems listed in “Supported Operating Systems” on
page 1-3.
Unsupported Features
Depending on your system, not all SANsurfer FC adapter features are available.
Features Not Available When Running Windows Driver with NPIV Enabled
When running the driver with NPIV enabled on Windows, the following features
are not available with virtual ports:
1–Installation and Removal
System Requirements
Adapter parameters settings
Adapter parameters restore default
Flash update from file
Flash save to file
Adapter parameters update from file
Adapter parameters save to file
Adapter parameters update from templates
Target link speed
Boot device settings
Driver settings
Adapter beacon
Target/LUN list
Features Not Available When Running IOCTL Module Driver
When running the input/output control (IOCTL) module driver on a Linux OS, the
following features are not available:
1–Installation and Removal
Downloading the Installation Package
Features Not Available When Running Linux with Converged Network Adapters
When running Linux OS with converged network adapters (QLE81xx and
QMI81xx), the following features are not available:
Support for inbox driver only; no driver update support
Persistent binding
Adapter port statistics
iiDMA support
Loopback test
Features Not Available When Running Sysfs Inbox Driver
When running the Sysfs Inbox driver on a Linux OS, the following features are not
available:
Persistent binding
Selective LUN
Adapter port statistics
Driver settings
Host topology
Link status
Loopback test
Features Not Available When Running VMware Driver
When running the VMware driver on a Linux OS, the following features are not
available with virtual ports:
Adapter parameters settings
Adapter parameters restore default
Flash update from file
Flash save to file
Adapter parameters update from file
Adapter parameters save to file
Adapter parameters update from templates
Downloading the Installation Package
Follow these steps to download the SANsurfer FC/CNA HBA CLI installation
package from the QLogic Web site.
To download the installation package:
1.From the QLogic home page (www.qlogic.com
2.On the Driver Downloads / Manuals page, select Fibre Channel HBAs,
your adapter model, and operating system, and then click Go!
), click the Downloads tab.
1-6SN0054614-00 K
1–Installation and Removal
Installing SANsurfer FC/CNA HBA CLI
Figure 1-1 shows an example.
Figure 1-1 Selecting Adapter Model (Example)
The resources page for the selected model appears.
3.Under Management Tools, click SANsurfer CLI....
The End User Software License Agreement page appears.
4.Scroll to the bottom and click Agree.
5.On the File Download dialog box, click Save. Select a directory on your
system and download the file.
Installing SANsurfer FC/CNA HBA CLI
NOTE:
If you have a previous version of SANsurfer FC HBA CLI already installed,
the installation program (except on Solaris) provides the option to upgrade
the previous version to this latest version. However, QLogic recommends
that you always uninstall any older version of SANsurfer before
installing the new version.
Follow the installation instructions in the section that corresponds to your
operating system (OS):
“Windows Installation” on page 1-8
“Linux Installation” on page 1-14
“Solaris Installation” on page 1-15
“Macintosh Installation” on page 1-18
“VMware Installation” on page 1-20
SN0054614-00 K1-7
1–Installation and Removal
Installing SANsurfer FC/CNA HBA CLI
Windows Installation
To install SANsurfer FC/CNA HBA CLI on Windows, follow either the GUI or
command line installation steps:
“Standard (GUI) Installation” on page 1-8
“Command Line Installation” on page 1-12
Standard (GUI) Installation
Follow these steps to install SANsurfer FC/CNA HBA CLI on a Windows operating
system using the standard (GUI) method.
To install SANsurfer FC/CNA HBA CLI on Windows (GUI):
1.Locate and double-click the installer package.
The Preparing to Install dialog box appears, as shown in Figure 1-2. The
status bar indicates that the installation package is loading.
Figure 1-2 Preparing to Install Dialog Box
1-8SN0054614-00 K
1–Installation and Removal
Installing SANsurfer FC/CNA HBA CLI
After the install package is loaded, the Welcome dialog box appears as
shown in Figure 1-3.
Figure 1-3 Welcome Dialog Box
2.Read the information, and then click Next.
SN0054614-00 K1-9
1–Installation and Removal
Installing SANsurfer FC/CNA HBA CLI
The Choose Destination Location dialog box appears as shown in
Figure 1-4.
Figure 1-4 Choose Destination Location Dialog Box
3.In the Choose Destination Location dialog box, do one of the following:
To select the destination location in the dialog box, click Next
(recommended). The default location for a Windows system is: