HP 6400/8400 HP StorageWorks 6400/8400 Enterprise Virtual Array User Guide - Page 54
Linux, Driver failover mode, Installing a Qlogic driver
View all HP 6400/8400 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 54 highlights
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 6. The INSTALL script installs the appropriate driver RPM for your configuration, as well as the appropriate fibreutils RPM. 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. The commands to reload the driver are: # /opt/hp/src/hp_qla2x00src/unload.sh # modprobe qla2xxx_conf # modprobe qla2xxx # modprobe qla2300 54 Configuring application servers