<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic qlogic failover &amp;amp; hp_rescan que? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/qlogic-failover-amp-hp-rescan-que/m-p/3745560#M22063</link>
    <description>Hello.&lt;BR /&gt;&lt;BR /&gt;I have 2 Q?&lt;BR /&gt;&lt;BR /&gt;1. on linux with 2 qlogic HBAs - with the&lt;BR /&gt;latest driver ( failover mode ) - if i am&lt;BR /&gt;looking at /proc/scsi/qla2300/0 &amp;amp; 1 do i need&lt;BR /&gt;to see the same luns on both HBAs ???( i present the luns to both HBAs ( eva5000 )&lt;BR /&gt;I know that in /proc/scsi/scsi i will see only&lt;BR /&gt;one scsi device.&lt;BR /&gt;2. Is it safe to run hp_rescan on production&lt;BR /&gt;server ?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
    <pubDate>Mon, 06 Mar 2006 15:17:48 GMT</pubDate>
    <dc:creator>klemerS</dc:creator>
    <dc:date>2006-03-06T15:17:48Z</dc:date>
    <item>
      <title>qlogic failover &amp; hp_rescan que?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/qlogic-failover-amp-hp-rescan-que/m-p/3745560#M22063</link>
      <description>Hello.&lt;BR /&gt;&lt;BR /&gt;I have 2 Q?&lt;BR /&gt;&lt;BR /&gt;1. on linux with 2 qlogic HBAs - with the&lt;BR /&gt;latest driver ( failover mode ) - if i am&lt;BR /&gt;looking at /proc/scsi/qla2300/0 &amp;amp; 1 do i need&lt;BR /&gt;to see the same luns on both HBAs ???( i present the luns to both HBAs ( eva5000 )&lt;BR /&gt;I know that in /proc/scsi/scsi i will see only&lt;BR /&gt;one scsi device.&lt;BR /&gt;2. Is it safe to run hp_rescan on production&lt;BR /&gt;server ?&lt;BR /&gt;&lt;BR /&gt;Thanks.</description>
      <pubDate>Mon, 06 Mar 2006 15:17:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/qlogic-failover-amp-hp-rescan-que/m-p/3745560#M22063</guid>
      <dc:creator>klemerS</dc:creator>
      <dc:date>2006-03-06T15:17:48Z</dc:date>
    </item>
    <item>
      <title>Re: qlogic failover &amp; hp_rescan que?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/qlogic-failover-amp-hp-rescan-que/m-p/3745561#M22064</link>
      <description>Shalom klemer,&lt;BR /&gt;&lt;BR /&gt;1. If the luns point to the same disk and the intent of your setup is to provide redundant access to both cards to the same disk, then yes you should see the same luns. They will have different physical paths though.&lt;BR /&gt;&lt;BR /&gt;2. I would not. That doesn't mean its not safe, but I don't trust this technology fully yet.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 06 Mar 2006 15:45:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/qlogic-failover-amp-hp-rescan-que/m-p/3745561#M22064</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-03-06T15:45:04Z</dc:date>
    </item>
    <item>
      <title>Re: qlogic failover &amp; hp_rescan que?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/qlogic-failover-amp-hp-rescan-que/m-p/3745562#M22065</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;hp_rescan has been tested in several different environments.  It should be safe to run this tool in a production environment.  I have run the tool on a system in production, to find an added LUN.&lt;BR /&gt;&lt;BR /&gt;However, since you seem to be concerned, you can reboot the system to rescan the scsi bus.  The tool was created to help avoid the reboot.  &lt;BR /&gt;&lt;BR /&gt;Regards,</description>
      <pubDate>Mon, 06 Mar 2006 21:46:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/qlogic-failover-amp-hp-rescan-que/m-p/3745562#M22065</guid>
      <dc:creator>Craig Gilmore</dc:creator>
      <dc:date>2006-03-06T21:46:55Z</dc:date>
    </item>
    <item>
      <title>Re: qlogic failover &amp; hp_rescan que?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/qlogic-failover-amp-hp-rescan-que/m-p/3745563#M22066</link>
      <description>re #2:&lt;BR /&gt;&lt;BR /&gt;I've run hp_rescan with no problems on multiple prod environments.  You could also reboot, or try the following script that I've found:&lt;BR /&gt;&lt;BR /&gt;#!/bin/bash&lt;BR /&gt;# rescan_scsi_bus.sh&lt;BR /&gt;# Script to rescan SCSI bus, using the &lt;BR /&gt;# scsi add-single-device mechanism&lt;BR /&gt;# (w) 1998-03-19 Kurt Garloff &lt;KURT&gt; (c) GNU GPL&lt;BR /&gt;# (w) 2003-07-16 Kurt Garloff &lt;GARLOFF&gt; (c) GNU GPL&lt;BR /&gt;# $Id: rescan-scsi-bus.sh,v 1.15 2004/05/08 14:47:13 garloff Exp $&lt;BR /&gt;&lt;BR /&gt;setcolor ()&lt;BR /&gt;{&lt;BR /&gt;  red="\e[0;31m"&lt;BR /&gt;  green="\e[0;32m"&lt;BR /&gt;  yellow="\e[0;33m"&lt;BR /&gt;  norm="\e[0;0m"&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;unsetcolor () &lt;BR /&gt;{&lt;BR /&gt;  red=""; green=""&lt;BR /&gt;  yellow=""; norm=""&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;# Return hosts. sysfs must be mounted&lt;BR /&gt;findhosts_26 ()&lt;BR /&gt;{&lt;BR /&gt;  hosts=&lt;BR /&gt;  if ! ls /sys/class/scsi_host/host* &amp;gt;/dev/null 2&amp;gt;&amp;amp;1; then&lt;BR /&gt;    echo "No SCSI host adapters found in sysfs"&lt;BR /&gt;    exit 1;&lt;BR /&gt;    #hosts=" 0"&lt;BR /&gt;    #return&lt;BR /&gt;  fi &lt;BR /&gt;  for hostdir in /sys/class/scsi_host/host*; do&lt;BR /&gt;    hostno=${hostdir#/sys/class/scsi_host/host}&lt;BR /&gt;    hostname=`cat $hostdir/proc_name`&lt;BR /&gt;    hosts="$hosts $hostno"&lt;BR /&gt;    echo "Host adapter $hostno ($hostname) found."&lt;BR /&gt;  done  &lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;# Return hosts. /proc/scsi/HOSTADAPTER/? must exist&lt;BR /&gt;findhosts ()&lt;BR /&gt;{&lt;BR /&gt;  hosts=&lt;BR /&gt;  for driverdir in /proc/scsi/*; do&lt;BR /&gt;    driver=${driverdir#/proc/scsi/}&lt;BR /&gt;    if test $driver = scsi -o $driver = sg -o $driver = dummy -o $driver = device_info; then continue; fi&lt;BR /&gt;    for hostdir in $driverdir/*; do&lt;BR /&gt;      name=${hostdir#/proc/scsi/*/}&lt;BR /&gt;      if test $name = add_map -o $name = map -o $name = mod_parm; then continue; fi&lt;BR /&gt;      num=$name&lt;BR /&gt;      driverinfo=$driver&lt;BR /&gt;      if test -r $hostdir/status; then&lt;BR /&gt; num=$(printf '%d\n' `sed -n 's/SCSI host number://p' $hostdir/status`)&lt;BR /&gt; driverinfo="$driver:$name"&lt;BR /&gt;      fi&lt;BR /&gt;      hosts="$hosts $num"&lt;BR /&gt;      echo "Host adapter $num ($driverinfo) found."&lt;BR /&gt;    done&lt;BR /&gt;  done&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;# Test if SCSI device $host $channen $id $lun exists&lt;BR /&gt;# Outputs description from /proc/scsi/scsi, returns new&lt;BR /&gt;testexist ()&lt;BR /&gt;{&lt;BR /&gt;  grepstr="scsi$host Channel: 0*$channel Id: 0*$id Lun: 0*$lun"&lt;BR /&gt;  new=`cat /proc/scsi/scsi | grep -e"$grepstr"`&lt;BR /&gt;  if test ! -z "$new"; then&lt;BR /&gt;    cat /proc/scsi/scsi | grep -e"$grepstr"&lt;BR /&gt;    cat /proc/scsi/scsi | grep -A2 -e"$grepstr" | tail -n2 | pr -o4 -l1&lt;BR /&gt;  fi&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;# Perform search (scan $host)&lt;BR /&gt;dosearch ()&lt;BR /&gt;{&lt;BR /&gt;  for channel in $channelsearch; do&lt;BR /&gt;    for id in $idsearch; do&lt;BR /&gt;      for lun in $lunsearch; do&lt;BR /&gt;        new=&lt;BR /&gt; devnr="$host $channel $id $lun"&lt;BR /&gt; echo "Scanning for device $devnr ..."&lt;BR /&gt; printf "${yellow}OLD: $norm"&lt;BR /&gt; testexist&lt;BR /&gt; if test ! -z "$remove" -a ! -z "$new"; then&lt;BR /&gt;   # Device exists and we're in remove mode, so remove and readd&lt;BR /&gt;   echo "scsi remove-single-device $devnr" &amp;gt;/proc/scsi/scsi&lt;BR /&gt;   echo "scsi add-single-device $devnr" &amp;gt;/proc/scsi/scsi&lt;BR /&gt;   printf "\r\x1b[A\x1b[A\x1b[A${yellow}OLD: $norm"&lt;BR /&gt;   testexist&lt;BR /&gt;   if test -z "$new"; then &lt;BR /&gt;     printf "\r${red}DEL: $norm\r\n\n\n\n"; let rmvd+=1; &lt;BR /&gt;          fi&lt;BR /&gt; fi&lt;BR /&gt; if test -z "$new"; then&lt;BR /&gt;   # Device does not exist, try to add&lt;BR /&gt;   printf "\r${green}NEW: $norm"&lt;BR /&gt;   echo "scsi add-single-device $devnr" &amp;gt;/proc/scsi/scsi&lt;BR /&gt;   testexist&lt;BR /&gt;   if test -z "$new"; then&lt;BR /&gt;     # Device not present&lt;BR /&gt;     printf "\r\x1b[A";&lt;BR /&gt;       # Optimization: if lun==0, stop here (only if in non-remove mode)&lt;BR /&gt;     if test $lun = 0 -a -z "$remove" -a $optscan = 1; then &lt;BR /&gt;       break;&lt;BR /&gt;     fi  &lt;BR /&gt;   else &lt;BR /&gt;     let found+=1; &lt;BR /&gt;   fi&lt;BR /&gt; fi&lt;BR /&gt;      done&lt;BR /&gt;    done&lt;BR /&gt;  done&lt;BR /&gt;}&lt;BR /&gt; &lt;BR /&gt;# main&lt;BR /&gt;if test @$1 = @--help -o @$1 = @-h -o @$1 = @-?; then&lt;BR /&gt;    echo "Usage: rescan-scsi-bus.sh [options] [host [host ...]]"&lt;BR /&gt;    echo "Options:"&lt;BR /&gt;    echo " -l activates scanning for LUNs 0-7    [default: 0]"&lt;BR /&gt;    echo " -w scan for target device IDs 0 .. 15 [default: 0-7]"&lt;BR /&gt;    echo " -c enables scanning of channels 0 1   [default: 0]"&lt;BR /&gt;    echo " -r enables removing of devices        [default: disabled]"&lt;BR /&gt;    echo "--remove:        same as -r"&lt;BR /&gt;    echo "--nooptscan:     don't stop looking for LUNs is 0 is not found"&lt;BR /&gt;    echo "--color:         use coloured prefixes OLD/NEW/DEL"&lt;BR /&gt;    echo "--hosts=LIST:    Scan only host(s) in LIST"&lt;BR /&gt;    echo "--channels=LIST: Scan only channel(s) in LIST"&lt;BR /&gt;    echo "--ids=LIST:      Scan only target ID(s) in LIST"&lt;BR /&gt;    echo "--luns=LIST:     Scan only lun(s) in LIST"  &lt;BR /&gt;    echo " Host numbers may thus be specified either directly on cmd line (deprecated) or"&lt;BR /&gt;    echo " or with the --hosts=LIST parameter (recommended)."&lt;BR /&gt;    echo "LIST: A[-B][,C[-D]]... is a comma separated list of single values and ranges"&lt;BR /&gt;    echo " (No spaces allowed.)"&lt;BR /&gt;    exit 0&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;expandlist ()&lt;BR /&gt;{&lt;BR /&gt;    list=$1&lt;BR /&gt;    result=""&lt;BR /&gt;    first=${list%%,*}&lt;BR /&gt;    rest=${list#*,}&lt;BR /&gt;    while test ! -z "$first"; do &lt;BR /&gt; beg=${first%%-*};&lt;BR /&gt; if test "$beg" = "$first"; then&lt;BR /&gt;     result="$result $beg";&lt;BR /&gt;     else&lt;BR /&gt;         end=${first#*-}&lt;BR /&gt;     result="$result `seq $beg $end`"&lt;BR /&gt; fi&lt;BR /&gt; test "$rest" = "$first" &amp;amp;&amp;amp; rest=""&lt;BR /&gt; first=${rest%%,*}&lt;BR /&gt; rest=${rest#*,}&lt;BR /&gt;    done&lt;BR /&gt;    echo $result&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;if test ! -d /proc/scsi/; then&lt;BR /&gt;  echo "Error: SCSI subsystem not active"&lt;BR /&gt;  exit 1&lt;BR /&gt;fi &lt;BR /&gt;&lt;BR /&gt;# defaults&lt;BR /&gt;unsetcolor&lt;BR /&gt;lunsearch="0"&lt;BR /&gt;idsearch=`seq 0 7`&lt;BR /&gt;channelsearch="0"&lt;BR /&gt;remove=""&lt;BR /&gt;optscan=1&lt;BR /&gt;if test -d /sys/class/scsi_host; then &lt;BR /&gt;  findhosts_26&lt;BR /&gt;else  &lt;BR /&gt;  findhosts&lt;BR /&gt;fi  &lt;BR /&gt;&lt;BR /&gt;# Scan options&lt;BR /&gt;opt="$1"&lt;BR /&gt;while test ! -z "$opt" -a -z "${opt##-*}"; do&lt;BR /&gt;  opt=${opt#-}&lt;BR /&gt;  case "$opt" in&lt;BR /&gt;    l) lunsearch=`seq 0 7` ;;&lt;BR /&gt;    w) idsearch=`seq 0 15` ;;&lt;BR /&gt;    c) channelsearch="0 1" ;;&lt;BR /&gt;    r) remove=1 ;;&lt;BR /&gt;    -remove)      remove=1 ;;&lt;BR /&gt;    -hosts=*)     arg=${opt#-hosts=};   hosts=`expandlist $arg` ;;&lt;BR /&gt;    -channels=*)  arg=${opt#-channels=};channelsearch=`expandlist $arg` ;; &lt;BR /&gt;    -ids=*)   arg=${opt#-ids=};         idsearch=`expandlist $arg` ;; &lt;BR /&gt;    -luns=*)  arg=${opt#-luns=};        lunsearch=`expandlist $arg` ;; &lt;BR /&gt;    -color) setcolor ;;&lt;BR /&gt;    -nooptscan) optscan=0 ;;&lt;BR /&gt;    *) echo "Unknown option -$opt !" ;;&lt;BR /&gt;  esac&lt;BR /&gt;  shift&lt;BR /&gt;  opt="$1"&lt;BR /&gt;done    &lt;BR /&gt;&lt;BR /&gt;# Hosts given ?&lt;BR /&gt;if test "@$1" != "@"; then &lt;BR /&gt;  hosts=$*; &lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;echo "Scanning hosts $hosts channels $channelsearch for "&lt;BR /&gt;echo " SCSI target IDs " $idsearch ", LUNs " $lunsearch&lt;BR /&gt;test -z "$remove" || echo " and remove devices that have disappeared"&lt;BR /&gt;declare -i found=0&lt;BR /&gt;declare -i rmvd=0&lt;BR /&gt;for host in $hosts; do &lt;BR /&gt;  dosearch; &lt;BR /&gt;done&lt;BR /&gt;echo "$found new device(s) found.               "&lt;BR /&gt;echo "$rmvd device(s) removed.                 "&lt;BR /&gt;&lt;BR /&gt;&lt;/GARLOFF&gt;&lt;/KURT&gt;</description>
      <pubDate>Tue, 07 Mar 2006 10:54:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/qlogic-failover-amp-hp-rescan-que/m-p/3745563#M22066</guid>
      <dc:creator>Alan_152</dc:creator>
      <dc:date>2006-03-07T10:54:20Z</dc:date>
    </item>
    <item>
      <title>Re: qlogic failover &amp; hp_rescan que?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/qlogic-failover-amp-hp-rescan-que/m-p/3745564#M22067</link>
      <description>Hi.&lt;BR /&gt;&lt;BR /&gt;I Think that i will reboot the machine.&lt;BR /&gt;&lt;BR /&gt;2. where i can found docs about the qlogic?&lt;BR /&gt;Because i have already 2 sites that i see &lt;BR /&gt;the luns only on one HBA &amp;amp; its seems to work O.K. - But from my memory its wrong ,&lt;BR /&gt;so can someone point me to doc who axplain&lt;BR /&gt;this issue?&lt;BR /&gt;&lt;BR /&gt;Thanks Alot to you Guys for your answers.</description>
      <pubDate>Tue, 07 Mar 2006 12:02:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/qlogic-failover-amp-hp-rescan-que/m-p/3745564#M22067</guid>
      <dc:creator>klemerS</dc:creator>
      <dc:date>2006-03-07T12:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: qlogic failover &amp; hp_rescan que?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/qlogic-failover-amp-hp-rescan-que/m-p/3745565#M22068</link>
      <description>Hi.&lt;BR /&gt;&lt;BR /&gt;i found A doc which say that the on the&lt;BR /&gt;other HBA you see nothing.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://uimon.cern.ch/twiki/bin/view/PSSGroup/Multipathing" target="_blank"&gt;https://uimon.cern.ch/twiki/bin/view/PSSGroup/Multipathing&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;--------------------------------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;Start of topic | Skip to actions &lt;BR /&gt;--------------------------------------------------------------------------------&lt;BR /&gt;&lt;BR /&gt;--&amp;gt; &lt;BR /&gt;&lt;BR /&gt;Multipathing with Qlogic HBAs - failover and LUN load balancing &lt;BR /&gt;This is a short guide to the configuration of multipathing with Qlogix HBAs for the physics database services at CERN. The key software and hardware components are: Oracle 10gR2, RAC, ASM, Linux RHEL 3, dual CPU Intel servers, SAN network, SATA disks in FC arrays (see also Reference Architecture). SAN and FC (2 Gb) infrastructure: Qlogic dual-ported HBAs (QLA2342), 2 x Qlogic SAN switches, dual-ported infortred FC arrays (A16F-S1211). Note: tested with RHEL 3 U6, QLA2342 driver=7.05.00-RH1-f0, firmware=3.03.11, bios=1.47. SANsurfer=2.0.30b69 &lt;BR /&gt;&lt;BR /&gt;Under the term multipathing, in this document, we refer to a SAN configuration for path failover redundancy and load balancing: &lt;BR /&gt;&lt;BR /&gt;redundant path to access the storage arrays &lt;BR /&gt;failover at the LUN level for failed path from the sevrer to the SAN switch (improved HA) &lt;BR /&gt;load balancing at the LUN level (improved scalability and performance) &lt;BR /&gt;&lt;BR /&gt;OS configuration files &lt;BR /&gt;Multipathing for Qlogic HBAs is configured via /etc/modules.conf, and /etc/qla2300.conf. Moreover it is important to check that both qla2300_conf and qla2300 kernel modules are loaded (ex: lsmod |grep qla23) &lt;BR /&gt;&lt;BR /&gt;After LUN load balancing configuration the /etc/modules.conf files should contain the following entry: &lt;BR /&gt;&lt;BR /&gt;alias scsi_hostadapter0 qla2300_conf&lt;BR /&gt;alias scsi_hostadapter1 qla2300&lt;BR /&gt;options qla2300 ConfigRequired=1 ql2xuseextopts=1 ql2xfailover=1 qlport_down_retry=1 ql2xretrycount=2&lt;BR /&gt;&lt;BR /&gt;FC and SAN configuration &lt;BR /&gt;&lt;BR /&gt;Change the PID number of the storage array controllers for each array use the same PID for both controllers. &lt;BR /&gt;Configure zoning in both SAN switches and make the storage arrays visible via both HBA ports of the linux servers. &lt;BR /&gt;&lt;BR /&gt;Qlogic HBA configuration &lt;BR /&gt;The /etc/qla2300.conf configuration can be done using Qlogic SANsurfer for HBA (downloadable from the Qlogic website). &lt;BR /&gt;&lt;BR /&gt;install the agent of SANsurfer for HBA on the nodes you need to configure &lt;BR /&gt;disable autostartup of the qlogic agent &lt;BR /&gt;chkconfig qlremote off &lt;BR /&gt;manually start and stop the agent using /etc/init.d/qlremote start or stop &lt;BR /&gt;Install and run the SANsurfer management console and connect to the node you want to configure &lt;BR /&gt;Don't run the node configuration wizard &lt;BR /&gt;Click the 'configure' icon &lt;BR /&gt;DEVICE menu &lt;BR /&gt;CONFIGURE &lt;BR /&gt;CONFIGURE ALL &lt;BR /&gt;FAILOVER &lt;BR /&gt;ENABLE ALL &lt;BR /&gt;LUN menu &lt;BR /&gt;ENABLE LUNS &lt;BR /&gt;ENABLE ALL &lt;BR /&gt;LOAD BALANCE &lt;BR /&gt;ALL LUNS &lt;BR /&gt;Save the configuration (default_pass='config') &lt;BR /&gt;Check the configuration in /etc/qla2300.conf and /etc/modules.conf. &lt;BR /&gt;/etc/init.d/qlremote stop&lt;BR /&gt;rmmod qla2300&lt;BR /&gt;rmmod qla2300_conf&lt;BR /&gt;modprobe qla2300&lt;BR /&gt;&lt;BR /&gt;Test the stability of the configuration across reboot &lt;BR /&gt;Recreate the init ramdisk: mkinitrd /boot/initrd-2.4.21-37.ELsmp.img 2.4.21-37.ELsmp &lt;BR /&gt;reboot and check that the new configuration is being picked up &lt;BR /&gt;&lt;BR /&gt;Post install - sample qla2300.conf configuration &lt;BR /&gt;This is a sample /etc/qla2300.conf configuration file for anode configured with 3 disk arrays, using dual ported HBAs on the server and the array. Note: extra new lines and comments have been added for clarity. &lt;BR /&gt;&lt;BR /&gt;scsi-qla0-adapter-port=210000e08b1481b8\;    -&amp;gt; WWN identifier of the first local HBA port (port 1)&lt;BR /&gt;&lt;BR /&gt;scsi-qla0-tgt-0-di-0-node=200000d0230e0671\;    -&amp;gt; WWNN: storage array controller (array N.1 of 3)&lt;BR /&gt;scsi-qla0-tgt-0-di-0-port=210000d0230e0671\;    -&amp;gt; WWNP: storage array 1/3 controller port 1&lt;BR /&gt;scsi-qla0-tgt-0-di-0-pid=020cef\;               -&amp;gt; ?&lt;BR /&gt;scsi-qla0-tgt-0-di-0-preferred=0000000000000000000000000000000000000000000000000000000000015555\; &lt;BR /&gt;                    -&amp;gt; command related to the activation LUN load balancing&lt;BR /&gt;scsi-qla0-tgt-0-di-0-control=00\;               &lt;BR /&gt;                    -&amp;gt; storage array N.1 is bound to port 0 (but LUN load balacing makes for &lt;BR /&gt;                       the desired alternate access path)&lt;BR /&gt;&lt;BR /&gt;scsi-qla0-tgt-1-di-0-node=200000d02350000e\;   -&amp;gt; WWNN array N.2/3 &lt;BR /&gt;scsi-qla0-tgt-1-di-0-port=210000d02350000e\;   -&amp;gt; WWNP array N.2/3&lt;BR /&gt;scsi-qla0-tgt-1-di-0-pid=020e33\;               &lt;BR /&gt;scsi-qla0-tgt-1-di-0-preferred=0000000000000000000000000000000000000000000000000000000000015555\;&lt;BR /&gt;scsi-qla0-tgt-1-di-0-control=00\;&lt;BR /&gt;&lt;BR /&gt;scsi-qla0-tgt-2-di-0-node=200000d0231e0279\;   -&amp;gt; WWNN array N.3/3 &lt;BR /&gt;scsi-qla0-tgt-2-di-0-port=210000d0231e0279\;   -&amp;gt; WWNP array N.2/3&lt;BR /&gt;scsi-qla0-tgt-2-di-0-pid=020fe8\;&lt;BR /&gt;scsi-qla0-tgt-2-di-0-preferred=000000000000000000000000000000000000000000000000000000000000aaaa\;&lt;BR /&gt;scsi-qla0-tgt-2-di-0-control=00\;&lt;BR /&gt;&lt;BR /&gt;scsi-qla1-adapter-port=210100e08b3481b8\;     -&amp;gt; WWN identifier of the first local HBA port (port 2)&lt;BR /&gt;scsi-qla1-tgt-0-di-1-node=200000d0230e0671\;  -&amp;gt; WWNN: same as above, array controller (array N.1 of 3)&lt;BR /&gt;scsi-qla1-tgt-0-di-1-port=220000d0230e0671\;  -&amp;gt; WWNP: storage array 1/3 controller port 2&lt;BR /&gt;scsi-qla1-tgt-0-di-1-pid=010cef\;             -&amp;gt; ?&lt;BR /&gt;scsi-qla1-tgt-0-di-1-preferred=000000000000000000000000000000000000000000000000000000000000aaaa\;&lt;BR /&gt;scsi-qla1-tgt-0-di-1-control=80\;&lt;BR /&gt;                    -&amp;gt; port 1 is failover for storage array N.1 &lt;BR /&gt;&lt;BR /&gt;scsi-qla1-tgt-1-di-1-node=200000d02350000e\;&lt;BR /&gt;scsi-qla1-tgt-1-di-1-port=220000d02350000e\;&lt;BR /&gt;scsi-qla1-tgt-1-di-1-pid=010e33\;&lt;BR /&gt;scsi-qla1-tgt-1-di-1-preferred=000000000000000000000000000000000000000000000000000000000000aaaa\;&lt;BR /&gt;scsi-qla1-tgt-1-di-1-control=80\;&lt;BR /&gt;scsi-qla1-tgt-2-di-1-node=200000d0231e0279\;&lt;BR /&gt;scsi-qla1-tgt-2-di-1-port=220000d0231e0279\;&lt;BR /&gt;scsi-qla1-tgt-2-di-1-pid=010fe8\;&lt;BR /&gt;scsi-qla1-tgt-2-di-1-preferred=0000000000000000000000000000000000000000000000000000000000015555\;&lt;BR /&gt;scsi-qla1-tgt-2-di-1-control=80\;&lt;BR /&gt;&lt;BR /&gt;Post install - sample /proc output &lt;BR /&gt;A sample from the /proc/scsi/qla2300/1 file is reported below. The list of SCSI LUNinformation on /proc/scsi/qla2300/2 should be empty. However, the last column in the list reports for each LUN the HBA port that is used. For example '0:0:81' means port 1, while '1:1:81' means port 2. In case of failover these numbers change accordingly (see also below): &lt;BR /&gt;&lt;BR /&gt;SCSI LUN Information:&lt;BR /&gt;(Id:Lun)  * - indicates lun is not registered with the OS.&lt;BR /&gt;( 0: 0): Total reqs 5, Pending reqs 0, flags 0x2, 0:0:81,&lt;BR /&gt;( 0: 1): Total reqs 5, Pending reqs 0, flags 0x2, 1:1:81,&lt;BR /&gt;( 0: 2): Total reqs 5, Pending reqs 0, flags 0x2, 0:0:81,&lt;BR /&gt;( 0: 3): Total reqs 5, Pending reqs 0, flags 0x2, 1:1:81,&lt;BR /&gt;( 0: 4): Total reqs 5, Pending reqs 0, flags 0x2, 0:0:81,&lt;BR /&gt;( 0: 5): Total reqs 5, Pending reqs 0, flags 0x2, 1:1:81,&lt;BR /&gt;( 0: 6): Total reqs 5, Pending reqs 0, flags 0x2, 0:0:81,&lt;BR /&gt;( 0: 7): Total reqs 5, Pending reqs 0, flags 0x2, 1:1:81,&lt;BR /&gt;( 0: 8): Total reqs 5, Pending reqs 0, flags 0x2, 0:0:81,&lt;BR /&gt;( 0: 9): Total reqs 5, Pending reqs 0, flags 0x2, 1:1:81,&lt;BR /&gt;( 0:10): Total reqs 5, Pending reqs 0, flags 0x2, 0:0:81,&lt;BR /&gt;( 0:11): Total reqs 5, Pending reqs 0, flags 0x2, 1:1:81,&lt;BR /&gt;( 0:12): Total reqs 5, Pending reqs 0, flags 0x2, 0:0:81,&lt;BR /&gt;( 0:13): Total reqs 5, Pending reqs 0, flags 0x2, 1:1:81,&lt;BR /&gt;( 0:14): Total reqs 5, Pending reqs 0, flags 0x2, 0:0:81,&lt;BR /&gt;( 0:15): Total reqs 5, Pending reqs 0, flags 0x2, 1:1:81,&lt;BR /&gt;( 0:16): Total reqs 5, Pending reqs 0, flags 0x2, 0:0:81,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Post install - sample failover log &lt;BR /&gt;In case of LUN failover the following information is displayed in the /var/log/messages file: &lt;BR /&gt;&lt;BR /&gt;..... kernel: qla2x00: FAILOVER device 0 from 210000d0230e0671 -&amp;gt; 220000d0230e0671 - LUN 0b, reason=0x1&lt;BR /&gt;..... kernel: qla2x00: FROM HBA 0 to HBA 1&lt;BR /&gt;The failover is triggered only when the failed LUN is accessed, while the failback is triggered as soon as the failure is restored: &lt;BR /&gt;&lt;BR /&gt;..... kernel: qla2x00: FAILBACK device 0 -&amp;gt; 200000d0230e0671 LUN 0b&lt;BR /&gt;..... kernel: qla2x00: FROM HBA 1 to HBA 0&lt;BR /&gt;History: Version 1, Luca Feb-2006 &lt;BR /&gt;&lt;BR /&gt;to top&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 07 Mar 2006 12:47:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/qlogic-failover-amp-hp-rescan-que/m-p/3745565#M22068</guid>
      <dc:creator>klemerS</dc:creator>
      <dc:date>2006-03-07T12:47:26Z</dc:date>
    </item>
  </channel>
</rss>

