Q-Logic PHE-ORE User Manual

Q
Simplify
SANblade 2300 Series User’s Guide
2-Gb Fibre Channel to cPCI and SBus Host Bus
Adapters
CF2351102-00 F Page i
SANblade 2300 Series User’s Guide
0
2-Gb Fibre Channel to cPCI and SBus Host Bus 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 which 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.
No part of this document may be copied nor reproduced by any means, nor translated nor transmitted to any magnetic medium without the express written consent of QLogic Corporation.
Microsoft, Windows NT, and Windows 2000 are trademarks or registered trademarks of Microsoft Corporation.
QLogic is a trademark of QLogic Corporation.
Solaris is a registered trademark of Sun Microsystems, Inc.
SPARC is a registered trademark of SPARC International, Inc. Products bearing SPARC trademarks are based on an architecture developed by Sun Microsystems, Inc.
All other brand and product names are trademarks or registered trademarks of their respective owners.
Document Revision History
Rev. A release, 4/23/02
Rev. B update, 5/2/02
Rev. C update, 9/17/02
Rev. D update, 2/14/03
Rev. E update, 8/22/03
Rev. F update, 9/29/03
Changes Document Sections Affected
Added FDMI support 1.4
Added FC-SP support 1.4
© 2002–2003 QLogic Corporation. All rights reserved worldwide.
First Published: March 2002
Printed in U.S.A.
QLogic Corporation, 26650 Aliso Viejo Parkway, Aliso Viejo, CA 92656, (800) 662-4471 or (949) 389-600
Page ii CF2351102-00 F

Table of Contents

Section 1 Introduction
1.1 How to Use this Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
1.2 General Description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
1.3 What is Fibre Channel? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
1.4 Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
Part I Hardware
Section 2 QCP2330/2332
2.1 QCP2330/2332 HBA Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
2.1.1 LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
2.1.2 Jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
2.2 Installation and Removal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
2.2.1 Installation in the Computer (Standard) . . . . . . . . . . . . . . . . . . . . . . . . 2-2
2.2.2 Installation in the Computer (Hot Swap) . . . . . . . . . . . . . . . . . . . . . . . 2-3
2.3 Removing the QCP2330/2332 HBA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
2.4 FCode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
2.4.1 Updating FCode on the QCP2330/2332 HBA . . . . . . . . . . . . . . . . . . . 2-6
2.4.2 Setting the QCP2330/2332 HBA Connection Mode . . . . . . . . . . . . . . 2-6
2.4.3 Setting the QCP2330/2332 HBA Loop ID . . . . . . . . . . . . . . . . . . . . . . 2-7
2.4.4 Selecting the Boot Device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7
2.4.5 Building the Bootable Disk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8
2.4.6 Setting and Viewing the Fibre Channel Data Rate . . . . . . . . . . . . . . . 2-11
2.5 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12
2.6 Label . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13
2.7 Agency Certification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13
2.7.1 EMC/EMI Test Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-13
2.7.2 Product Safety Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-14
Section 3 QCP2340/2342
3.1 QCP2340/2342 HBA Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
3.1.1 LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
3.1.2 Jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
3.2 Installation and Removal . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
3.2.1 Installation in the Computer (Standard) . . . . . . . . . . . . . . . . . . . . . . . . 3-2
3.2.2 Installation in the Computer (Hot Swap) . . . . . . . . . . . . . . . . . . . . . . . 3-3
CF2351102-00 F Page iii
SANblade 2300 User’s Guide 2-Gb Fibre Channel to cPCI and SBus Host Bus Adapters
3.3 Removing the QCP2340/2342 HBA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6
3.4 FCode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-6
3.4.1 Updating FCode on the QCP2340/2342 HBA . . . . . . . . . . . . . . . . . . . 3-7
3.4.2 Setting the QCP2340/2342 HBA Connection Mode . . . . . . . . . . . . . . 3-7
3.4.3 Setting the QCP2340/2342 HBA Loop ID . . . . . . . . . . . . . . . . . . . . . . 3-8
3.4.4 Selecting the Boot Device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-9
3.4.5 Building the Bootable Disk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-10
3.4.6 Setting and Viewing the Fibre Channel Data Rate . . . . . . . . . . . . . . . 3-13
3.5 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-13
3.6 Label . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-14
3.7 Agency Certification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-14
3.7.1 EMI and EMC Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-14
3.7.2 Product Safety Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-15
Section 4 QSB2340/2342
4.1 QSB2340/2342 HBA Components . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
4.1.1 LEDs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2
4.1.2 Jumpers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2
4.2 Installation in the Computer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2
4.3 FCode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
4.3.1 Updating FCode on the QSB2340/2342 HBA . . . . . . . . . . . . . . . . . . . 4-3
4.3.2 Setting the QSB2340/2342 HBA Connection Mode . . . . . . . . . . . . . . 4-4
4.3.3 Setting the QSB2340/2342 HBA Loop ID . . . . . . . . . . . . . . . . . . . . . . 4-4
4.3.4 Selecting the Boot Device . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-5
4.3.5 Building the Bootable Disk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6
4.4 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-9
4.5 Label . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-10
4.6 Agency Certification . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-10
4.6.1 EMI and EMC Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-10
4.6.2 Product Safety Requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-11
Section 5 Troubleshooting
5.1 Problems After Installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1
5.2 Hardware Problem Checklist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1
5.3 Fibre Channel Problem Checklist . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5-1
Page iv CF2351102-00 F
SANblade 2300 User’s Guide
2-Gb Fibre Channel to cPCI and SBus Host Bus Adapters
Part II Software
Section 6 Solaris SPARC Driver Installation
6.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1
6.2 Pre-installation Requirements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-1
6.3 Installing the Solaris SPARC Driver from a CD-ROM. . . . . . . . . . . . . . . . 6-2
6.4 Installing the Solaris SPARC Driver from the QLogic Web Site . . . . . . . . 6-2
6.5 FCode . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6-5
Figures
Figure Page
2-1 QCP2330/2332 HBA Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
3-1 QCP2340/2342 HBA Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
4-1 QSB2340/2342 HBA Layout . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
Tables
Table Page
2-1 Fibre Channel Data Rates. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12
2-2 QCP2330/2332 Board Operating Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12
2-3 QCP2330/2332 Board Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-12
3-1 LED1 and LED2 (QCP2342) Activity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
3-2 Fibre Channel Data Rates. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-13
3-3 QCP2340/2342 Board Operating Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-13
3-4 QCP2340/2342 Board Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-13
4-1 LED1 and LED2 (QCP2342) Activity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-2
4-2 QSB2340/2342 Board Operating Environment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-9
4-3 QSB2340/2342 Board Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-9
CF2351102-00 F Page v
SANblade 2300 User’s Guide 2-Gb Fibre Channel to cPCI and SBus Host Bus Adapters
Notes
Page vi CF2351102-00 F
1.1

How to Use this Guide

The SANblade QLogic host bus adapters (HBAs) supported in this document are described in the following paragraphs. They are collectively referred to as the QCP/QSB23xx HBA unless otherwise noted. The QCP23xx HBAs are all 64-bit PCI to Fibre Channel optical media. The QSB23xx HBAs are all 64-bit SBus to Fibre Channel optical media.
QCP2330 (cPCI to single-channel)
QCP2332 (cPCI to dual-channel)
QCP2340 (cPCI to single-channel)
QCP2342 (cPCI to dual-channel)
QSB2340 (SBus to single-channel)
QSB2342 (SBus to dual-channel)
First, install the QCP/QSB23xx HBA according to the directions in the appropriate hardware installation section. Second, install the Solaris driver. If the device attached to the HBA is the boot device, install the FCode.
Section 1
Introduction
1.2

General Description

Thank you for selecting the QCP/QSB23xx Fibre Channel (FC) HBA. The QCP/QSB23xx HBA is a single- or dual-channel, intelligent, high-performance, DMA bus master host adapter designed for high-end systems. The intelligence and performance are derived from the ISP23xx controller, making the QCP/QSB23xx HBA a leading-edge host adapter. The ISP23xx combines a powerful RISC processor and a fibre protocol module (FPM) with one 2-Gb Fibre Channel transceiver in a single-chip solution. The QCP/QSB23xx HBA supports all FC peripherals that support private loop direct attach (PLDA) and fabric loop attach (FLA). Installation of the QCP/QSB23xx board is quick and easy.
1.3

What is Fibre Channel?

Fibre channel technology is outlined in the SCSI-3 Fibre Channel Protocol (SCSI-FCP) standard. Fibre Channel is a high-speed data transport technology used for mass storage and networking. It connects mainframes, super computers, workstations, storage devices, and servers.
Two-gigabit Fibre Channel supports data transfer rates of 200 MBps half-duplex and 400 MBps full-duplex. The QCP/QSB23xx HBA uses a multimode optical
CF2351102-00 F 1-1
1 – Introduction Features
1.4

Features

interface for intermediate distances (less than 500 meters at the data rate of 1 Gbps; less than 300 meters at the data rate of 2 Gbps).
With increased connectivity and performance, Fibre Channel is the technology preferred and used by system designers.
Compliance with the following PCI standards (QCP HBAs):
PCI Local Bus Specification, revision 2.1PCI Hot Plug Specification, revision 1.0PCI Power Management Interface Specification, revision 1.0PICMG 2.0 Compact PCI Specification, revision 2.1CompactPCI Hot Swap Specification, revision 2.1
Compliance with SBus Specification, IEEE std 1496-1993 (QSB HBAs)
Compliance with the following Fibre Channel standards:
Second Generation Fibre Channel Physical and Signaling Interface
(FC-PH-2), revision 7.4
Third Generation Fibre Channel Physical and Signaling Interface (FC-PH-3),
revision 9.2
Fibre Channel-Arbitrated Loop (FC-AL-2), revision 5.4
Fibre Channel Fabric Loop Attachment (FC-FLA), revision 2.7
Fibre Channel Generic Services 2 (FC-GS-2), revision 5.3
Fibre Channel Switched Fabric (FC-SW), revision 3.3
Compliance with U.S. and international safety and emissions standards
Support for bus master DMA
Supports Fibre Channel SCSI (FCP-SCSI) protocol
Supports point-to-point fabric connection (F-PORT FABRIC LOGIN)
Supports Fibre Channel security protocol (FC-SP) using DH-CHAP
Supports fabric device management interface (FDMI)
Using FDMI, storage area network (SAN) administrators can view device-specific information (for example, driver version, firmware version, and model number) from a central console, regardless of the device manufacturer. This information is kept at the FC switch and viewed through the switch's management application or third party SAN management applications.
1-2 CF2351102-00 F
Part I
Hardware
This part of the SANblade 2300 User’s Guide describes the host bus adapters (HBAs) and how to install and configure them. See the section that corresponds to your HBA. Section 5 contains troubleshooting information.
HBA Section
QCP2330/2332 2
QCP2340/2342 3
QSB2340/2342 4
CF2351102-00 F I-1
I – Hardware
Notes
I-2 CF2351102-00 F
Section 2
QCP2330/2332
2.1

QCP2330/2332 HBA Components

Figure 2-1 identifies the QCP2330/2332 HBA components referenced throughout
this section.
Each QCP2330/2332 HBA has a unique serial number, located on the back of the HBA. Take a minute to write down the serial number of the QCP2330/2332 HBA in the unlikely event that the NVRAM is corrupted.
2.1.1
LEDs
J1
1
3
J5
J6
J2
1
3
LED1
RELEASE SWITCH
NOTE: THE SERIAL NUMBER IS ON THE OTHER SIDE
OF THE HBA.
J5 and J1 QCP2332 ONLY
ISP CHIP
ISP CHIP
QCP2332 ONLY
Figure 2-1. QCP2330/2332 HBA Layout
In a standard installation, LED1 is off, indicating that the HBA is active.
In a hot swap installation, LED1 turns blue while the HBA is inserted. If the LED turns off, the HBA is inserted and has been configured.
CF2351102-00 F 2-1
2 – QCP2330/2332 Installation and Removal
2.1.2
Jumpers
Jumpers J1 (QCP2332) and J2 on the QCP2330/2332 HBA determine the default state of connectors J5 (QCP2332) and J6, respectively. The jumpers are set at the factory with a jumper plug on pins 2–3, which enables the connectors.
CAUTION!
2.2
Changing the jumper settings can result in the HBA being inoperable.

Installation and Removal

The following sections describe how to install the QCP2330/2332 HBA (standard and hot swap installations) as well as how to remove the HBA.
Before you install the QCP2330/2332 HBA in your computer, you need the following:
A screwdriver (usually a Phillips #1)
An optical, multimode cable with an LC-style duplex connector
2.2.1
Installation in the Computer (Standard)
Perform the following steps to install the QCP2330/2332 HBA in your system. These instructions are for a standard installation (the computer is shut down). See
section 2.2.2 for hot swap instructions.
1. Shut down the system.
2. Choose any available cPCI slot. (Check the indicator lights next to (or above) the available slots. The top two lights are off; the bottom light is amber.)
3. Place the QCP2330/2332 HBA into the slot. Carefully press the HBA into the slot until it seats firmly (the switch clicks into a locked position when the HBA is seated).
4. Connect the appropriate cables from the devices to the J5 (QCP2332) and J6 connectors.
5. Power up all external FC devices, then power up the system and observe the monitor. The HBA will not appear as part of the system components unless the driver has been installed; in which case, the HBA and corresponding driver are listed.
6. Check the QCP2330/2332 HBA hot swap LED1; it should be off, indicating that the HBA is active. The bottom indicator light next to the slot should be green (in some systems, the lights are above the slots).
See section 6 for detailed instructions on how to install the software driver.
If you need FCode, see section 2.4 for instructions on how to install or update the FCode on the QCP2330/2332 HBA.
2-2 CF2351102-00 F
2.2.2
Installation in the Computer (Hot Swap)
Perform the following steps to install the QCP2330/2332 HBA without shutting down the system (hot swap). See section 2.2.1 for standard installation instructions.
1. Log on to the system as a superuser.
2. At the prompt (#), type the following command to find an available slot for the QCP2330/2332 HBA:
cfgadm
A list of the system’s processors, memory, and I/O boats appears, as in the following example. In this example, cPCI slots 0, 1, 3, and 4 are available.
Ap_Id Typ e Receptacle Occupant Condition
N0.IB6 cPCI_I/O_bo connected configured ok
N0.IB8 unknown empty unconfigured unknown
N0.SB0 CPU_Board connected configured ok
N0.SB2 CPU_Board connected configured ok
c0 scsi-bus connected configured unknown
pcisch0:sg6slot2 stpcipci/fhs connected configured ok
pcisch0:sg6slot3 unknown empty unconfigured unknown
pcisc1:sg6slot0 unknown empty unconfigured unknown
pcisch2:sg6slot4 unknown empty unconfigured unknown
pcisch2:sg6slot5 unknown connected unconfigured unknown
pcisch3:sg6slot1 unknown empty unconfigured unknown
2 – QCP2330/2332
Installation and Removal
NOTE: If the cPCI slots are not displayed, add the following line to the
etc/system file:
set sghsc:cpci_enable=1
Check the indicator lights next to the available slots (in some systems, the lights are above the slots). The top two lights are off; the bottom light is amber. This is another way to verify an available slot.
3. Place the QCP2330/2332 HBA into the slot. Carefully press the HBA into the slot until it seats firmly (the switch clicks into a locked position when the HBA is seated). The bottom indicator light next to (or above) the slot changes from amber to off. The top indicator light turns green.
The hot swap LED1 on the QCP2330/2332 HBA turns blue while the HBA is inserted. If LED1 turns off, the HBA is inserted and has been configured; continue with step 6. If LED1 stays blue after the HBA is inserted, continue with
step 4.
CF2351102-00 F 2-3
2 – QCP2330/2332 Installation and Removal
4. Type the cfgadm command (see step 2) to verify that the system recognizes the QCP2330/2332 HBA and that the HBA is not configured. In the following example, the QCP2330/2332 HBA has been installed in slot 4 and is not configured.
N0.IB6 cPCI_I/O_bo connected configured ok
N0.IB8 unknown empty unconfigured unknown
N0.SB0 CPU_Board connected configured ok
N0.SB2 CPU_Board connected configured ok
c0 scsi-bus connected configured unknown
pcisch0:sg6slot2 stpcipci/fhs connected configured ok
pcisch0:sg6slot3 unknown empty unconfigured unknown
pcisc1:sg6slot0 unknown empty unconfigured unknown
pcisch2:sg6slot4 unknown disconnected unconfigured unknown
pcisch2:sg6slot5 unknown connected unconfigured unknown
pcisch3:sg6slot1 unknown empty unconfigured unknown
Ap_Id Typ e Receptacle Occupant Condition
5. Type the following commands to configure the QCP2330/2332 HBA:
cfgadm -c configure slot path
For example, type the following commands to configure the QCP2330/2332 HBA in slot 4, as shown in step 4:
cfgadm -c configure pcisch2:sg6slot4
The system configuration is as follows:
Ap_Id Typ e Receptacle Occupant Condition
N0.IB6 cPCI_I/O_bo connected configured ok
N0.IB8 unknown empty unconfigured unknown
N0.SB0 CPU_Board connected configured ok
N0.SB2 CPU_Board connected configured ok
c0 scsi-bus connected configured unknown
pcisch0:sg6slot2 stpcipci/fhs connected configured ok
pcisch0:sg6slot3 unknown empty unconfigured unknown
pcisc1:sg6slot0 unknown empty unconfigured unknown
pcisch2:sg6slot4 stpcipci/fhs connected configured ok
pcisch2:sg6slot5 unknown connected unconfigured unknown
pcisch3:sg6slot1 unknown empty unconfigured unknown
2-4 CF2351102-00 F
6. Connect the appropriate cables from the devices to the J5 (QCP2332) and J6 connectors.
7. Check the QCP2330/2332 HBA hot swap LED1; it should be off, indicating that the HBA is active.
See section 6 for detailed instructions on how to install the software driver.
If you need FCode, see section 2.4 for instructions on how to install or update the FCode on the QCP2330/2332 HBA.
2.3

Removing the QCP2330/2332 HBA

Follow these steps to unconfigure and remove the QCP2330/2332 HBA.
1. Type the following commands to unconfigure the QCP2330/2332 HBA:
cfgadm -c unconfigure slot path
For example, type the following commands to unconfigure the QCP2330/2332 HBA in slot 4, as shown in section 2.2.2:
2 – QCP2330/2332

FCode

2.4
FCode
cfgadm -c unconfigure pcisch2:sg6slot4
2. When the QCP2330/2332 HBA hot swap LED1 is blue, remove the cables from the J5 (QCP2332) and/or J6 connectors.
3. Remove the HBA by pressing the release button, then gently pull the HBA out of the slot.
This section provides instructions for installing FCode on a QCP2330/2332 HBA installed in a Solaris SPARC system. A QCP2330/2332 HBA with FCode loaded in its flash ROM provides boot capability to its attached devices.
The following files are included. Be sure to review the Readme.txt file for both new and changed information. The naming convention for the associated files and messages is QLA; however, the FCode supports standard QLogic PCI HBAs (QLAxxxx) and cPCI HBAs (QCPxxxx).
ifp2300.prom—FCode code binary file
readme.txt—FCode readme file
qla2x00flash — Solaris flash utility
readme — readme for qla2x00flash
The procedure for installing FCode flash is summarized in the following steps and explained in detail in the following sections.
1. Update FCode on the QCP2330/2332 HBA (see section 2.4.1).
2. Set the QCP2330/2332 HBA connection mode (see section 2.4.2).
CF2351102-00 F 2-5
2 – QCP2330/2332 FCode
3. Set the QCP2330/2332 HBA loop ID (see section 2.4.3).
4. Select the boot device (see section 2.4.4).
5. Build the bootable disk (see section 2.4.5).
2.4.1
Updating FCode on the QCP2330/2332 HBA
If you need to update the FCode on the QCP2330/2332 HBA, use the QLogic qla2x00 flash utility. A QLogic Solaris SPARC driver revision 3.06 or later must be installed before the flash utility can be run.
WARNING!!
Perform the following steps to run the flash utility:
1. Copy the qla2x00flash file and the ifp2300.prom file to the desired directory.
2. At the command line, enter the appropriate path. Use the information obtained with the show-devs command (see step 1 in section 2.4.4). For example:
./qla2x00flash -l /devices/pci@1f,0/pci@1/QLGC,qla@4: devctl ifp2300.prom
2.4.2
Be very careful when changing flash contents; incorrect data may render the QCP2330/2332 HBA unusable to the point that the operating system may no longer function.
Setting the QCP2330/2332 HBA Connection Mode
Perform the following steps to view the current QCP2330/2332 HBA connection mode and change it if necessary:
1. To view the current connection mode, type the show-connection-mode command:
ok show-connection-mode
The connection mode and options display. For example:
Current HBA connection mode: 1 - Point-to-point only
Possible connection mode choices: 0 - Loop Only 1 - Point-to-point only 2 - Loop preferred, otherwise point-to-point
2. If the connection mode is not correct based on the devices connected to the QCP2330/2332 HBA, change it using the set-connection-mode command. For example:
ok 0 set-connection-mode
2-6 CF2351102-00 F
The new connection mode displays. For example:
Calculating NVRAM checksum, please wait...
Current HBA connection mode: 0 - Loop Only
Possible connection mode choices: 0 - Loop Only 1 - Point-to-point only 2 - Loop preferred, otherwise point-to-point
2.4.3
Setting the QCP2330/2332 HBA Loop ID
When the QCP2330/2332 HBA is currently operating in loop mode (through connection mode 0 or connection mode 2), perform the following steps to view its loop ID and change it if necessary:
1. To view the loop ID, type the show-adapter-loopid command.
ok show-adapter-loopid
The loop ID displays. For example:
2 – QCP2330/2332
FCode
Adapter loopid - 7c
2. If the loop ID is not correct, change it using the set-adapter-loopid command. For example:
ok 0 set-adapter-loopid
The new loop ID displays. For example:
Adapter loopid - 0
2.4.4
Selecting the Boot Device
Perform the following steps to select a Fibre Channel device that is attached to the QCP2330/2332 HBA as the boot device:
1. Use the show-devs command to display the device tree for all devices attached to the machine.
ok show-devs
The device tree displays. The QCP2330/2332 HBAs with FCode are referenced with QLGC,qla@. For example:
ok show-devs . . /pci@1f,0/pci@1/QLGC,qla@4
CF2351102-00 F 2-7
2 – QCP2330/2332 FCode
2. Select the QCP2330/2332 HBA attached to the Fibre Channel device from which you want to boot. For example, type the following at the ok prompt:
ok " /pci@1f,0/pci@1/QLGC,qla@4" select-dev
3. Use the show-children command to view the devices attached to the QCP2330/2332 HBA. For example:
ok show-children
4. The list of devices displays. Write down the boot device’s world wide name (WWN), loop ID, and logical unit number (LUN).
5. Save the boot device information to the QCP2330/2332 HBA’s NVRAM. Use the set-boot-id command. Include the selected QCP2330/2332 HBA’s WWN, loop ID, and LUN. For example:
ok 2200002037009eeb 82 0 set-boot-id
The following displays:
Calculating NVRAM checksum, please wait.... done
Boot device login successful Boot WWN - 20000020 37009eeb WWPN - 22000020 37009eeb
Id - 82 Lun - 0
ok
6. To boot the QCP2330/2332 HBA, type the complete boot path, including the loop ID and LUN. The loop ID and LUN must match those entered in step 5. For example:
ok boot /pci@1f,0/pci@1/QLGC,qla@4/sd@82,0
NOTE: Enter the reset command before attempting to boot if the boot was
interrupted or any of the QLogic FCode commands were executed.
2.4.5
Building the Bootable Disk
This procedure assumes that the system is already booted from an existing system hard disk, and that you have already performed a full system backup.
The device path on each system differs, depending on the PCI bus slot, target ID, LUN, etc. The device name shown in this example is for a device on the third PCI bus slot, target ID 130, LUN 0, slice 0.
You must have already completed the steps in the previous sections before attempting to create a bootable disk.
2-8 CF2351102-00 F
2 – QCP2330/2332
FCode
To build a bootable disk, perform the following steps:
1. Determine the amount of disk space used/available on your current boot disk. Use the df command for a listing. For example:
/usr/bin/df -k -l
Filesystem /dev/dsk/c0t0d0s0 /proc fd mnttab swap swap /dev/dsk/c0t0d0s7
This df example shows that the current boot disk is /dev/dsk/c0t0d0s(x). There are two partitions of interest, slice 0 (/) and slice 7 (/home). Slice 0 uses 1.65 GB and has 875 MB free. Slice 7 uses 114 MB and has 5 GB free. Therefore, slice 7 (/home) contains enough disk space to store the temporary saveset files.
If there were not at least 1.7 GB free on this disk, you would need to create a partition on the new bootable disk large enough to hold the largest temporary saveset files plus the largest used space on a partition. In this example, it would be a 3.2 GB (1.6 GB+1.6 GB) partition.
2. Use the format command to create, label, and format partitions on the new bootable disk. These partitions must be able to contain the contents of your temporary saveset files. If you are not familiar with the format command, refer to the Solaris documentation.
kbytes
2577118
1310480 1311344 5135326
used
1650245 0 0 0
864 114
avail
0 0 0 0
1310480 1310480 5083859
875331
capacity
0 0 0
66%
0% 0% 0% 0% 1% 1%
Mounted on / /proc /dev/fd /etc/mnttab /var/run /tmp /home
WARNING!!
Misusing the format command can destroy the data on your current disk drives.
a. At the root prompt, type format.
b. A list of available hard disks displays. Specify the disk.
c. At the format prompt, type partition.
CF2351102-00 F 2-9
Loading...
+ 43 hidden pages