QLogic Fibre-Channel HBA unter Linux

Um den QLogic Fibre-Channel HBA (z.B. QLA2340) mit erweiterten Funktionen nutzen zu können, benötigt man verschiedene Tools, die von der QLogic Website heruntergeladen werden können.

Ggf. interessant ist auch ein Artikel über Multipathing unter SLES9 von Novell.

Using UDEV to do Persistent storage device naming for large numbers of storage devices.

Tools

Qlogic Website qlafc-linux-8.01.01-1-install.tgz Installer für Kernel 2.6 (enthält scli und Kernel-Module)
scli-1.06.16-43.i386.rpm SLES9 SCLI rpm
qla2xxx-v8.01.01-dist.tgz Kernel 2.6 Source
:!: Sollte die SCLI keinen HBA finden, so liegt dies i.d.R. an einer falschen Treiberversion oder an zu alter Firmware.

UP

Installation

installation

# ./qlinstall --install

To disable persistent binding at installation:
# ./qlinstall -i -dp

To install the driver without unloading and loading the current drivers use:
# ./qlinstall -up 

Persistent Binding

Persistent binding

To disable: 
# ./qlinstall -p -d

To enable:  
# ./qlinstall -p -e

To update: 
# ./qlinstall -p -u

Persistent Name Binding support is available for adapters as well as for target devices. This support is provided for users to associate a specified device World Wide Name (WWN) to a specified device instance and/or a SCSI target ID.

The Persistent Name Binding support for adapter devices associates a user specified World Wide Node Name to a specified adapter instance. To enable it, entries of the following format should be added in the qla2100.conf or qla2200.conf file:

persistent name binding support

    hba<#>-adapter-node-name="<World Wide Node Name>";

For example, to associate the following node name to adapter instance 2, the entry will be:

example

    hba2-adapter-node-name="200000e08b023227";

The Persistent Name Binding support for target devices associates a SCSI target ID to a specified device World Wide Name. To enable it, lines of the following format should be added in the qla2100.conf or qla2200.conf file:

qla2200.conf

    hba<#>-SCSI-target-id-<#>-fibre-channel-name="<device WWN>";

For example, to associate the following WWN with target ID 2 on adapter instance 1, the entry will be:

example

    hba1-SCSI-target-id-2-fibre-channel-name="2000002037004ac9";

IMPORTANT

  • Unlike other parameter entries in the qla2100.conf or qla2200.conf file, values indicated in persistent name binding entries for instance 0 does not apply to other instances when there are no entries for the other instances.
  • For adapter devices, if no Persistent Name Binding entries are specified, the default WWNN used by the adapters will be the ones stored in the NVRAM.
  • For target devices, if no Persistent Name Binding entries are specified, the default SCSI target IDs assigned will be the loop ID of the devices. Please refer to the FAQ section for which default SCSI target IDs are assigned to fabric devices.

UP

Command Line

cmdline

To update NVRAM:
# ./qlinstall -nv <file name>

To update BIOS:
# ./qlinstall -b <file name>

To invoke SANSurfer CLI:
# ./qlinstall -s

UP

 
wissen/qlogic/qlogic_hba_in_linux_with_persistent_binding.txt · Zuletzt geändert: 05.09.2010 20:31
 
Recent changes RSS feed Donate Valid XHTML 1.0 Valid CSS Recent cached RSS feed cacert-signed web site: inhalt.serviert.de