HP StorageWorks Using the QLogic HBA driver for single-path or multi-path failover mode on Linux systems application notes

Similar documents
HP StorageWorks Using the QLogic HBA Driver for Single-path or Multi-path Failover Mode on Linux Systems

hp StorageWorks Using the QLogic Driver for Single-path or Multi-path Failover Mode on Linux Systems

HP StorageWorks Using the QLogic HBA driver for single-path or multipath failover mode on Linux systems application notes

MSA1500csReleaseNotes8_ txt MSA1500cs ReleaseNotes. hp StorageWorks Modular Smart Array 1500 cs Release Notes. Third Edition (February 2005)

HP StorageWorks QLogic Fibre Channel host bus adapters for ProLiant and Integrity servers using Linux and VMware operating systems release notes

HP StorageWorks QLogic fibre channel host bus adapters for ProLiant and Integrity servers using Linux and VMware operating systems release notes

HP StorageWorks 4000/6000/8000 Enterprise Virtual Array connectivity for Sun Solaris installation and reference guide

HP StorageWorks QLogic fibre channel host bus adapters for ProLiant and Integrity servers using Linux and VMware operating systems release notes

HP StorageWorks Emulex fibre channel host bus adapters for ProLiant and Integrity servers using Linux and VMware operating systems release notes

HP StorageWorks Emulex fibre channel host bus adapters for ProLiant and Integrity servers using Linux and VMware operating systems release notes

HP StorageWorks Emulex fibre channel host bus adapters for ProLiant and Integrity servers using Linux and VMware operating systems release notes

HP StorageWorks Emulex fibre channel host bus adapters for ProLiant and Integrity servers using Linux and VMware operating systems release notes

DtS Data Migration to the MSA1000

HP StorageWorks MPxIO for Sun Solaris application notes

HP StorageWorks Emulex Fibre Channel host bus adapters for ProLiant and Integrity servers using Linux, VMware and Citrix operating systems release

HP StorageWorks QLogic host bus adapters for x86 and x64 Linux and Windows and x86 NetWare release notes

Configuring the MSA1000 for Linux or NetWare Environments

HP StorageWorks MPxIO for Sun Solaris application notes

HP StorageWorks Booting Windows Server 2003 for Itanium-based systems from a storage area network application notes

Upgrading the MSA1000 for Enhanced Features

Configuring the HP StorageWorks Modular Smart Array 1000 and 1500cs for external boot with Novell NetWare New Installations

HP StorageWorks Continuous Access EVA 2.1 release notes update

Device Mapper Multipath Enablement Kit for HP StorageWorks Disk Arrays v4.2.1 release notes

HP StorageWorks Enterprise Virtual Array

HP StorageWorks Emulex host bus adapters for x86 and x64 Linux and Windows systems release notes

HP BladeSystem Matrix Compatibility Chart

HP Serviceguard for Linux Certification Matrix

QuickSpecs. Models. HP StorageWorks 8Gb PCIe FC HBAs Overview

HP StorageWorks Emulex Adapters Release Notes

HP MSA2000 Family VDS and VSS Hardware Providers installation guide

HP ProLiant Storage Server iscsi Feature Pack

Device Mapper Multipath Enablement Kit for HP StorageWorks Disk Arrays v4.4.0 release notes

Device Mapper Multipath Enablement Kit for HP StorageWorks Disk Arrays v4.4.1 release notes

HP StorageWorks Modular Smart Array 1500 cs application note

StorageWorks Dual Channel 4Gb, PCI-X-to-Fibre Channel Host Bus Adapter for Windows and Linux (Emulex LP11002)

HP StorageWorks Enterprise Virtual Array

ProLiant Cluster HA/F500 for Enterprise Virtual Array Introduction Software and Hardware Pre-Checks Gathering Information...

Mac OS X Fibre Channel connectivity to the HP StorageWorks Enterprise Virtual Array storage system configuration guide

FC-FCoE Adapter Inbox Driver Update for Linux Kernel 2.6.x. Table of Contents

Virtual Recovery Assistant user s guide

HP StorageWorks Enterprise Virtual Array 4400 to 6400/8400 upgrade assessment

QuickSpecs. HPE Library and Tape Tools. Overview. Features & Benefits. What's New

SANsurfer Fibre Channel Command Line Interface (CLI) Table of Contents

Guidelines for using Internet Information Server with HP StorageWorks Storage Mirroring

HP StorageWorks. EVA Virtualization Adapter administrator guide

HP Serviceguard Quorum Server Version A Release Notes, Fourth Edition

HP StorageWorks Performance Advisor. Installation Guide. Version 1.7A

QuickSpecs. What's New. Models. ProLiant Essentials Server Migration Pack - Physical to ProLiant Edition. Overview

SUSE Linux Enterprise Server 11 Support Pack 2 Support Notes

QuickSpecs. Models ProLiant Cluster F200 for the Entry Level SAN. Overview

HP Library and Tape Tools 4.20 Release Notes

Fibre Channel Adapter and Converged Network Adapter Inbox Driver Update for Linux Kernel 2.6.x and 3.x. Readme. QLogic Corporation All rights reserved

HP StorageWorks MSA/P2000 Family Disk Array Installation and Startup Service

HP Storage Provisioning Manager HP 3PAR StoreServ Peer Persistence

Release Notes. EMC PowerPath for Linux. Version 4.3. P/N Rev A09. June 7, 2005

Support Notes for Red Hat Enterprise Linux ES v.4.6 for HP Integrity Servers

Data Protector Express Hewlett-Packard Company

NetBackup SAN Client and Fibre Transport Troubleshooting Guide. 2 What are the components of the SAN Client feature?

HP 3PAR Host Explorer MU1 Software User Guide

FC HBA Driver for Linux Kernel 2.6.x. Table of Contents

QuickSpecs. What's New. Models. HP ProLiant Essentials Performance Management Pack version 4.5. Overview. Retired

QuickSpecs. ProLiant Cluster F500 for the Enterprise SAN. Overview. Retired

SANsurfer FC/CNA HBA Command Line Interface (CLI) Table of Contents

SANsurfer Fibre Channel (FC) HBA Manager. Table of Contents

QLogic QLA4010/QLA4010C/QLA4050/QLA4050C/ QLA4052C/QMC4052/QLE4060C/QLE4062C iscsi Driver for Linux Kernel 2.6.x.

Intelligent Provisioning 1.64(B) Release Notes

FC HBA Driver Installation Script for Linux. Table of Contents

HP MSA Family Installation and Startup Service

HP P6000 Cluster Extension Software Installation Guide

HP OpenVMS Software-Based iscsi Initiator Technology Demonstration Kit Configuration and User s Guide

HP EVA Cluster Extension Software Installation Guide

QLogic iscsi Boot for HP FlexFabric Adapters User Guide

Introduction...2. Executive summary...2. Test results...3 IOPs...3 Service demand...3 Throughput...4 Scalability...5

QuickSpecs. What's New Support for HP software and hardware server support. Models. HP Insight Server Migration software for ProLiant v.3.

Veritas NetBackup Appliance Upgrade Guide

Symmetrix Fibre Channel with Qlogic Host Bus Adapters in the SCO UnixWare 7 Environment

HP StorageWorks Partitioning in an EBS Environment Implementation Guide

HP BladeSystem Matrix 6.0 Compatibility Chart

Disaster Recovery Guide for Windows 2008 and RHEL 5.x platforms with external disk support

HP StorageWorks SmartStart EVA Storage 3.2 Release Notes

Intelligent Provisioning 1.70 Release Notes

HPE OneView for Microsoft System Center Release Notes (v 8.2 and 8.2.1)

The Contents and Structure of this Manual. This document is composed of the following three chapters.

QuickSpecs. HP Integrity Virtual Machines (Integrity VM) Overview. Currently shipping versions:

Veritas NetBackup Appliance Upgrade Guide

RDP 3.70 Deployment Support

HP StorageWorks Data Protector Express ProLiant Edition 3.1 SP4. Overview

Support Notes for SUSE LINUX Enterprise Server 10 Service Pack 1 for HP Integrity Servers

QuickSpecs. HP Integrity Virtual Machines (Integrity VM) Overview. Currently shipping versions:

SANsurfer iscsi Host Bus Adapter CLI. Table of Contents

HP BladeSystem c-class Virtual Connect Support Utility Version Release Notes

HPE D2600/D2700 Disk Enclosure I/O Module Firmware 0149 Release Notes

Target Environments The Smart Array 6i Controller offers superior investment protection to the following environments: Non-RAID

HP Storage Mirroring Application Manager 4.1 for Exchange white paper

HP AutoPass License Server

HP P6000 Enterprise Virtual Array Compatibility Reference

Support Note for Red Hat Enterprise Linux AS v.3 for the Itanium Processor on HP Integrity Servers

QuickSpecs. Useful Web Sites For additional information, see the following web sites: Linux Operating System. Overview. Retired

Marvell BIOS Utility User Guide

Fully integrated and tested with most ProLiant servers and management software. See list of servers with each adapter specifications.

Transcription:

HP StorageWorks Using the QLogic HBA driver for single-path or multi-path failover mode on Linux systems application notes Part number: AA-RVGWD-TE Fourth edition: May 2005

Legal and notice information Copyright 1998-2005 Hewlett-Packard Development Company, L.P. Hewlett-Packard Company makes no warranty of any kind with regard to this material, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. Hewlett-Packard shall not be liable for errors contained herein or for incidental or consequential damages in connection with the furnishing, performance, or use of this material. This document contains proprietary information, which is protected by copyright. No part of this document may be photocopied, reproduced, or translated into another language without the prior written consent of Hewlett-Packard. The information contained in this document is subject to change without notice. Compaq Computer Corporation is a wholly-owned subsidiary of Hewlett-Packard Company. Hewlett-Packard Company shall not be liable for technical or editorial errors or omissions contained herein. The information is provided as is without warranty of any kind and is subject to change without notice. The warranties for Hewlett-Packard Company products are set forth in the express limited warranty statements for such products. Nothing herein should be construed as constituting an additional warranty. Using the QLogic HBA driver for single-path or multi-path failover mode on Linux systems application notes

About this document These application notes cover the following major topics: Intended audience Other documentation Supported hardware and software Installing the QLogic HBA driver Removing the kit components UsingthesourceRPM Contents of hp_qla2x00 and hp_qla2x00src Fibre Channel utilities Downloading Red Hat Package Manager Using QLogic failover with different storage system types Intended audience This document is intended for customers who are using the QLogic Host Bus Adapter (HBA) driver. Other documentation In addition to these application notes, HP provides the HP StorageWorks LUN migration and persistence utilities application notes. Additional documentation, including white papers and best practices documents, is available on the HP web site: http://www.hp.com. New features The following is a list of new features or support since the last release: Path Preference Auto-restore Coexistence with Secure Path on the same host and host bus adapter Support for the HP StorageWorks 4000/6000/8000 Enterprise Virtual Array SANsurfer GUI 4.0 Supported hardware and software This driver kit contains all the drivers and utilities needed to set up supported HP adapters on Linux. Table 1 lists supported hardware and software. Using the QLogic HBA driver for single-path or multi-path failover mode on Linux systems application notes 3

Depending upon your storage array, existing Secure Path customers are eligible to transfer their path failover to the QLogic HBA driver. For more information see the HP StorageWorks LUN migration and persistence utilities application notes. Table 1 Supported hardware and software Component Description BIOS (minimum) Adapters FCA2214DC (x86 only) 1.45 FCA2214DC 1.45 A6826A (ia64 only) EFI 1.42 BL20P FC Mezzanine card 1.45 BL30P FC Balcony card 1.45 A7538A EFI 1.42 BL25P Mezzanine card 1.48 BL35P Balcony Card 1.45 Storage Systems EVA3000/EVA5000, 3.020, 3.025 EVA4000/6000/8000, 5.020 MSA1000/1500, 4.42/4.86 XP 128/1024/12000 Linux distributions 7.xx Red Hat Advanced Server 2.1, i86, ia64 SuSE Linux Enterprise Server 8 (Service Pack 3 or later) i386, ia64, x86_64 Red Hat Enterprise Linux 3.0, i386, ia64, x86_64 Linux distributions 8.xx SuSE Linux Enterprise Server 9, x86, x86_64, ia64 Red Hat Enterprise Linux 4 x86, x86_64, ia64 If an EVA4000/6000/8000 storage system resides in a storage area network (SAN), the minimum driver revisions for 2.4 kernels must be 7.05.00a and 8.00.02a for 2.6 kernels. Installing the QLogic HBA driver You can download the new driver from the HP HBA web site: http://h20180.www2.hp.com/apps/nav?h_pagetype=prodhomes&h_lang=en&h_cc=us&h_product=hpfibrecha315744&h_client=s-a-r163-1&h_page=hpcom&lang=en&cc=us The QLogic HBA driver kit contains the following components: 4

Source code Red Hat Package Manager (RPM) for QLA 7.xx driver (hp_qla2x00src) Source code RPM for QLA 8.xx driver (hp_qla2x00src) Source RPM for QLA 7.xx driver (hp_qla2x00) Source RPM for QLA 8.xx driver (hp_qla2x00) Fibre Channel utilities for x86 architectures (fibreutils, i386) Fibre Channel utilities for x86_64 architectures (fibreutils, x86_64) Fibre Channel utilities for ia64 architectures (fibreutils, ia64) Kernel-specific driver parameter configuration scripts are as follows: For 2.4 kernels (set_parm.24) For 2.6 kernels (set_parm.26) Master installation script (INSTALL) You can install this driver kit using one of the following methods: Setting up driver parameters Before you install the driver, set up the driver mode with the set_parm.xx for your kernel type script that comes with the driver kit. Refer tochanging Driver Parameters for a list of modes and switches. Using the scripted installation You will need to install the GNU Compiler Collection gcc and the kernel sources to use the scripted installation. The INSTALL script installs the hp_qla2x00src RPM and the fibreutils RPM for the x86, x86_64, or ia64 architecture. The INSTALL script handles the following pre-existing system configuration conditions: No previous driver or platform kit installed Configuration was installed with a previous hp_qla2x00src RPM Configuration was installed with a previous platform kit that includes the qla2x00 binary RPM The default INSTALL command with no switches, installs the driver in either failover or non-failover mode depending upon the mode of the currently installed driver. The following command is an example of the INSTALL command for single path-mode: #./INSTALL If you want to install the driver in multipath failover mode, use the -f switch with the INSTALL command. For example: #./INSTALL -f The following command line switches for the INSTALL script are also available: Compile and install the driver for all installed kernels using the -a switch Skip third party storage detection using the -F switch. The driver RPMs search all devices attached to FC HBAs (using /proc/scsi/scsi) and if any devices have vendor IDs other than DEC, COMPAQ or HP, the RPM installation fails. The -F switch overrides that behavior. Using the QLogic HBA driver for single-path or multi-path failover mode on Linux systems application notes 5

Using the manual installation You can install the driver manually using the RPM command for installing the individual RPM packages. To install the driver package and the fibreutils package, enter the following commands: # rpm -ivh hp_qla2x00src- version-revision.noarch.rpm # rpm ivh fibreutils-version-revision.architecture.rpm To install the hp_qla2x00src RPM without running the driver build scripts, enter the following commands: # rpm -ivh --noscripts hp_qla2x00src-version-revision.noarch.rpm If you need to manually upgrade the RPMs, enter the following commands: # rpm -Uvh hp_qla2x00src-version-revision.noarch.rpm # rpm -Uvh fibreutils-version-revision.architecture.rpm If you have a qla2x00 RPM from HP installed on your system, use the INSTALL script. The INSTALL script removes the old qla2x00 RPM and installs the new hp_qla2x00src while retaining the driver settings from the previous installation. If you have a previous version of the qla2x00 RPM and Secure Path installed and you plan to migrate to the QLogic failover solution, you must uninstall Secure Path and reboot first. Failure to do so can cause a kernel panic. Removing the kit components To remove the driver kit components, use the INSTALL script with the -u option: #./INSTALL -u If you want to manually remove all the components, choose all of the three following commands. If you want to remove just one of the components, choose the appropriate command: # rpm -e fibreutils # rpm -e hp_qla2x00 # rpm -e hp_qla2x00src Using the source RPM In some cases, you may have to build a binary RPM (hp_qla2x00) from the source RPM and use that in place of the scripted RPM (hp_qla2x00src). You need to do this if the production servers do nothaveyourkernelsourcesandgcc installed. If you need to build a binary RPM to install, use a development machine with the same kernel as the production servers that you are targeting. Then, install the binary RPM produced using the usual rpm methods on your production servers. The binary RPM that you build works only for the kernel and configuration that you build it on (and possibly some errata kernels). Use the following steps to create the binary RPM from the source RPM: 6

1. Select one of the following options: a. Enter the following command to automatically build a binary RPM: #./INSTALL -s If you use./install -s, you do not need to perform Step 2 through Step 4. b. Enter the following command to install the source RPM: # rpm -ivh hp_qla2x00-version-revision.src.rpm 2. Select one of the following options, depending upon your Linux distribution: Use the following command for Red Hat Linux: # cd /usr/src/redhat/specs Use the following command for SuSE Linux: # cd /usr/src/packages/specs 3. Build the RPM by executing the following rpmbuild command: # rpmbuild -bb hp_qla2x00.spec In some older distributions, the rpm command contains RPM build functionality. Attheendofthecommandoutput,thefollowingsampleoutputlineisdisplayed: Wrote:...rpm. In between Wrote and rpm, the location of binary RPM is displayed. 4. Copy the binary RPM to the production servers and install it using the following command: # rpm -ivh hp_qla2x00-version-revision.architecture.rpm Using the QLogic HBA driver for single-path or multi-path failover mode on Linux systems application notes 7

Contents of hp_qla2x00 and hp_qla2x00src The hp_qla2x00 and hp_qla2x00src RPMs contain the following scripts in the /opt/hp/hp_qla2x00 or /opt/hp/src/hp_qla2x00src directories. Table 2 RPM scripts Script name condition_kernel Description Sets the kernel source dependencies to reflect the current running kernel or the specified kernel. * build_driver Builds the QLA driver from source code. edit_conf make_initrd set_parm Makesthepropereditstosystemconfigurationfilesto imbed the qla2200 and qla2300 modules in the initrd with the proper driver load time parameters. Builds a new initrd using the correct system utilities. Sets up the /etc/hp_qla2x00.conf file so that it has the correct driver settings based upon the configurationthattheuserwantstorun;itthen rebuilds the initrd. * master.sh Runs the condition_kernel, build_driver, edit_conf and make_initrd utilities. Useful for compiling a new driver when a new kernel is loaded. *compile_all_kernels scsi_patch_sles9.bin Runs master.sh for all installed kernels (For use with SLES 9 only) Corrects the HSV110 entry in the scsi_devinfo.c file. It also recompiles scsi_mod.ko and creates a new initrd. Table 2 Script names containing an asterisk (*) are available only in the hp_qla2x00src RPM. Using master.sh You can compile new modules using master.sh even after the hp_qla2x00src RPM has been installed. This is especially useful when you install a new errata kernel, as that errata kernel may not have the latest supported HP driver. To compile a new driver for the current kernel, enter the following command: # hp_compile_qldriver The hp_compile_qldriver file is a symbolic link to master.sh. 8

If you have just installed a new kernel, perform the following steps: 1. Change the directory to /opt/hp/src/hp_qla2x00src. 2. Execute the following command to display a list of valid module and source directories:./master.sh -l 3. Select the set of directories that match your new kernel and enter them with the -s and -m switches of the master.sh script. For example: master.sh -s linux-2.4.21-9.el -m linux-2.4.21-9.elsmp The script automatically completes the rest of the compilation. Getting information on the QLA SDM/HBAAPI libraries The hp_qla2x00src and hp_qla2x00 RPMs contain the QLA SDM libraries (libqlsdm) for x86(i386) and ia64 architectures. This library is located in /usr/lib as libqlsdm.so. There is also a readme file that comes with the library; the file is located in /opt/hp/src/hp_qla2x00src or /opt/hp/hp_qla2x00 and is namedreadme.libqlsdm. Changing driver parameters HP changes the following four parameter values from the default values in the NVRAM of the QLogic adapters. Port Down Retry Count (qlport_down_retry) Login Retry Count (qlogin_retry_count) Queue Depth (ql2xmaxqdepth) Failover (ql2xfailover) Load Balancing Type (ql2xlbtype) Exclude Model (ql2xexcludemodel) The following sections describe the driver parameters and the values set on each parameter. Port Down Retry Count The Port Down Retry Count (qlport_down_retry) parameter sets the number of retries that the driver attempts when a port communicates a port down status. Depending upon your configuration, ensure that the values are set to the following: Single Path: 64 Secure Path: 1 For QLogic failover mode, the value depends on your kernel. Kernel values are as follows: For 7.x: 3 For 8.x: 30 Login Retry Count This Login Retry Count (qlogin_retry_count) parameter sets the number of logins the driver attempts before declaring the port down. Ensure that this value is set to one of the following parameters: For 7.x: 16 For 8.x: 30 Using the QLogic HBA driver for single-path or multi-path failover mode on Linux systems application notes 9

Queue Depth Failover This value sets the length of the command queue for each LUN attached to the QLogic adapter. This LUNcommandqueuevaluecanbeanythingfrom1to256. However,youmustnotsetthisvalue high enough so that you saturate the storage that you are connected to. HP sets the default value of this parameter to 16. The ql2xfailover value turns the failover functionality of the QLogic driver on or off. A value of 0 disables it and a value of 1 enables it. The following parameters are set automatically by choosing one of the failover modes: Static Load Balancing (ql2xlbtype) This parameter will make the driver attempt to distribute LUNs evenly across known active paths. This parameter only works in failover mode with active-active arrays. Exlude Device (ql2xexcludedevice) When the driver is in failover mode, this parameter forces the driver to export particular devices as non-failover devices. Used only when Secure Path is installed. These values reside in a file called /etc/hp_qla2x00.conf. HP recommends that you do not edit this file directly, but use the set_parm script. If you want to edit these values manually in the /etc/hp_qla2x00.conf file, you will have to run the edit_conf and make_initrd scripts after you do so or else your new values will not take effect. You can change the parameters of the driver using the set_parm script in either the /opt/hp/src/hp_qla2x00src directory or the /opt/hp/hp_qla2x00 directory depending upon which RPM you have installed. Table 3 describes the predetermined settings. Table 3 Driver parameter settings Parameter setting type Switch Description Single Path -s Connect through one path to the storage without any redundancy. Secure Path -m Using the Secure Path software for multipathing and failover. QLogic Failover -x Using multipathing and failover functionality built into the qla2x00 adapter driver. -x Using multipathing and failover functionality built into the qla2x00 adapter driver. QLogic Failover -x Using multipathing and failover functionality built into the qla2x00 adapter driver. You can also manually set the driver parameters if you invoke set_parm with no arguments and select the manual option from the menu. If you changed the driver parameters, a new initrd hastobebuild.thisisdonebytheset_parm script calling the edit_conf and make_initrd scripts. 10

Fibre Channel utilities The fibreutils RPM contains assorted utilities that complement the hp_qla2x00src driver package. Installing and removing the fibreutils RPM The fibreutils RPM is installed during the normal installation procedure. The fibreutils RPM can also be installed by copying the.rpm file to your system by entering the following command: # rpm -ivh fibreutils-version-revision.arch.rpm To remove the fibreutils package, enter the following command: # rpm e fibreutils Table 4 describes the default utilities that are installed with fibreutils RPM. Table 4 The fibreutils RPM utilities lssd Utility Description Lists /dev/sd disks on your system. adapter_info hp_rescan probe-luns scsi_unfo hp_system_info lssg Lists information for HP-supported adapters on the system. Use the -h command to display a list of options. Dynamically rescans for new devices on the SAN. Forces the SCSI mid-layer to rescan for LUNs. The probe-luns utility is used in conjunction with the hp_rescan utility. Lists inquiry information for a /dev/sd device. Gathers system and installation information about the server that it is executed upon. Once the information is gathered, it is put together into a compressed tar file called system_info.tar.gz. Lists all sg* devices with instance, channel, bus, and LUN information as well as SCSI product ID, firmware level, and FC port WWID information. EFI driver and utilities The latest supported version of the Extensible Firmware Interface (EFI) driver, HBA firmware, and EFI configuration utility for the A6826A adapter are included with the ia64 fibreutils RPM. Refer to the qlefireadme.txt in the /boot/efi /qla2x00 directory for more information. The user s guide for efiutil can be found in PDF format in /opt/hp/hp_fibreutils. Downloading and Installing Red Hat Package Manager The following bullets list RPMs that you can download depending upon your Linux architecture: For x86 and EM64T Proliant servers, use the i386 version For AMD64 Proliant servers, use the x86_64 version For Itanium Integrity servers, use the ia64 version Once you have downloaded the appropriate RPM, install it using the following command: Using the QLogic HBA driver for single-path or multi-path failover mode on Linux systems application notes 11

# rpm i hp_sansurfer-version.architecture.rpm The RPM installs without intervention. Persistence binding notes You will need to rebuild the initrd when you make a persistent binding change. This is because anewqla2300_conf.o (for 2.4 kernels) or qla2xxx_conf.ko (for 2.6 kernels) is built. These rebuilt modules need to be in the initrd for the QLogic driver to access them during boot. Rebuilding the initrd solves this issue. If you are using the hp_qla2x00src RPM, youcanusethe /opt/hp/src/hp_qla2x00src/make_initrd script to do this. With Linux, you can only select targets to persistently bind to HP XP and VA storage arrays through a drop-down menu. Enterprise Virtual Arrays and MSAxxx storage systems are automatically bound to a particular target number and do not allow you to select the target ID through a drop-down menu. You must use the automatically assigned target numbers for persistence though reboots. Using QLogic failover with different storage system types The following sections indicate specific storage system procedures you may need to follow when using QLogic failover depending upon your storage system type. Using QLogic Failover with Enterprise Virtual Array storage system If you are using the built-in failover functionality of the QLogic driver (version 7.00.03 or later) set the failover preference to Path A Failover or Path B Failover in the Management Appliance host settings. FailuretodosocancauseI/Oerrorswhenafailoveroccurs. ThehostmodemustbesettoSunSolaris.Failuretodosocanresultindiscoveryerrors. Using QLogic Failover with MSA1000 If you are using the built-in failover functionality of the QLogic driver (version 7.00.03 or later), set the host mode to Linux. FailuretodosocancauseI/Oerrorswhenafailoveroccurs. HSG80 storage systems The failover mode of the QLogic driver is not supported on HSG80 controller-based storage. Avoiding problem situations The following sections address problem situations and how to avoid them. Coexistence with other multipathing products This section addresses adding new EVA4000/6000/8000 LUNs to a host which also presents LUNs to a legacy storage system managed by Secure Path. Use the following procedure to update to the new QLogic driver and Utilities that support EVA4000/6000/8000: run /opt/hp/src/hp_qla2x00src/set_parm to setup driver parameters, Select option 4, change Failover to 1, Export models to 6, Answer Yes to Create a new initrd. 1. Enter /opt/hp/src/hp_qla2x00src/set_parm to setup the driver parameters. 12

2. Select option 2 Secure Path.Enter No to create a new initrd. 3. Enter 1 in option 4 Failover. 4. Export models to 6, Answer Yes to create a new initrd. 5. Select option 5 quit 6. Enter /opt/hp/hp_fibreutils/pbl/pbl_inst.sh i for the 2.4 kernels SCSI blacklist that does not include the HSV 2x0 arrays. This step is needed for EVA XL LUN discovery to occur on system boot. 7. Reboot the system, and verify that Secure Path operations are working. 8. Add your EVA4000/6000/8000 storage system selection to the SAN. In order for all LUNs to be listed in sequential order, your EVA4000/6000/8000 storage system selection must be placed in front of the lower switch port numbers of the legacy storage system managed by Secure Path. 9. Reboot the system, and verify that the QLogic and Secure Path LUNs are present and accessible. Running hp_rescan and probe-luns is not supported when Secure Path is loaded. For discovering newly added devices, reboot the system. Troubleshooting HSV210 devices on Linux operating system distributions As of the release of this document, the blacklist or HSV210 device list entries needed by the SCSI midlayer of the Linux kernel do not exist. Blacklist or device list entries can cause Linux not to be able to see these devices during system boot. If you are having trouble seeing these devices, run the /opt/hp/hp_fibreutils/probe-luns script during system boot to see these devices. The following distributions may need to have probe-luns run during system boot: Red Hat Enterprise Linux 2.1 Red Hat Enterprise Linux 3 Red Hat Enterprise Linux 4 If you need to start probe-luns at system boot, the appropriate code can be installed with the pbl_inst.sh script in the /opt/hp/hp_fibreutils/pbl directory. Use the following procedure to start probe-luns. 1. Enter the following commands to install prob-luns startup code: # cd /opt/hp/hp_fibreutils/pbl #./pbl_inst.sh -i 2. Enter the following commands to remove probe-luns startup code: # cd /opt/hp/hp_fibreutils/pbl #./pbl_inst.sh -u If you are not having issues seeing your devices, do not run probe-luns at system boot! Using the QLogic HBA driver for single-path or multi-path failover mode on Linux systems application notes 13