beautypg.com

Linux, Driver failover mode, Installing a qlogic driver – HP 4000.6000.8000 Enterprise Virtual Arrays User Manual

Page 77: Driver failover mode installing a qlogic driver

background image

Linux

Driver failover mode

If you use the INSTALL command without command options, the driver’s failover mode depends
on whether a QLogic driver is already loaded in memory (listed in the output of the lsmod
command). Possible driver failover mode scenarios include:

If an hp_qla2x00src driver RPM is already installed, the new driver RPM uses the failover of
the previous driver package.

If there is no QLogic driver module (qla2xxx module) loaded, the driver defaults to failover
mode. This is also true if an inbox driver is loaded that does not list output in the
/proc/scsi/qla2xxx

directory.

If there is a driver loaded in memory that lists the driver version in /proc/scsi/qla2xxx
but no driver RPM has been installed, then the driver RPM loads the driver in the failover mode
that the driver in memory currently uses.

Installing a Qlogic driver

NOTE:

The HP Emulex driver kit performs in a similar manner; use ./INSTALL -h to list all

supported arguments.

1.

Download the appropriate driver kit for your distribution. The driver kit file is in the format
hp_qla2x00-yyyy-mm-dd.tar.gz

.

2.

Copy the driver kit to the target system.

3.

Uncompress and untar the driver kit using the following command:

# tar zxvf hp_qla2x00-yyyy-mm-dd.tar.gz

4.

Change directory to the hp_qla2x00-yyyy-mm-dd directory.

5.

Execute the INSTALL command.

The INSTALL command syntax varies depending on your configuration.

If a previous driver kit is installed, you can invoke the INSTALL command without any
arguments. To use the currently loaded configuration:

# ./INSTALL

To force the installation to failover mode, use the -f flag:

# ./INSTALL -f

To force the installation to single-path mode, use the -s flag:

# ./INSTALL -s

To list all supported arguments, use the -h flag:

# ./INSTALL -h

The INSTALL script installs the appropriate driver RPM for your configuration, as well as the
appropriate fibreutils RPM.

6.

Once the INSTALL script is finished, you will either have to reload the QLogic driver modules
(qla2xxx, qla2300, qla2400, qla2xxx_conf) or reboot your server.

To reload the driver use one or more of the following commands, as applicable:

# /opt/hp/src/hp_qla2x00src/unload.sh

# modprobe qla2xxx_conf

# modprobe qla2xxx

# modprobe qla2300

Linux

77