<?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 LUN persistence with Failover mode QLogic driver in HPE EVA Storage</title>
    <link>https://community.hpe.com/t5/hpe-eva-storage/lun-persistence-with-failover-mode-qlogic-driver/m-p/3810756#M19906</link>
    <description>LUN persistence with Failover mode QLogic driver &lt;BR /&gt;&lt;BR /&gt;I presented 2 LUNs on 2 different EVA5000 to a server ( running Red Hat Enterprise Linux 3, with Kernel 2.4 ), and used QLogic driver as "Failover mode" to combine 4 paths to 1, then I can see 2 LUNs ( each LUN is at different location. ): &lt;BR /&gt;&lt;BR /&gt;# lssd&lt;BR /&gt;sda  0,0,0,1         COMPAQ HSV110 (C)COMPAQ 3020  5000-1fe1-5004-569c&lt;BR /&gt;sdb  0,0,2,1         COMPAQ HSV110 (C)COMPAQ 3020  5000-1fe1-5004-5448&lt;BR /&gt;&lt;BR /&gt;The problem is that the mapping of "sda -- 5000-1fe1-5004-569c" and "sdb -- 5000-1fe1-5004-5448" may change after reboot, because which LUN maps to sda/sdb depends on which LUN the server can detect first! And as requested by our DBA to setup RAC, I HAVE TO make the mapping like this:&lt;BR /&gt;&lt;BR /&gt;sda  5000-1fe1-5004-5448&lt;BR /&gt;sdb 5000-1fe1-5004-569c&lt;BR /&gt;&lt;BR /&gt;So, it should be crossover! Now, I wonder whether it's possible for me to make the LUN persistent to such crossover mapping, even the server reboots, sda has to point to LUN 5000-1fe1-5004-5448.&lt;BR /&gt;&lt;BR /&gt;The problem is that such LUN order is controlled by the QLogic driver with Failover mode automatically, I can't find any config file to change such order, it seems the order is out of my control!&lt;BR /&gt;&lt;BR /&gt;I read the last document from HP for LUN persistence, I attach the utiliy files with the doc ( application notes: HP StorageWorks LUN migration and persistence utilities 1.1 ) within this email (LMPutilsv1.1.tar.gz), you can take a look, there is a solution for Linux with 2.4 kernel.&lt;BR /&gt;&lt;BR /&gt;So, I did the following:&lt;BR /&gt;&lt;BR /&gt;Change the QLogic driver back to Single Path mode, reboot, then&lt;BR /&gt;&lt;BR /&gt;After reboot:&lt;BR /&gt;&lt;BR /&gt;[root@srs121 /]# lssd&lt;BR /&gt;sda  0,0,0,1         COMPAQ HSV110 (C)COMPAQ 3020  5000-1fe1-5004-569c&lt;BR /&gt;sdb  0,0,1,1         COMPAQ HSV110 (C)COMPAQ 3020  5000-1fe1-5004-5699&lt;BR /&gt;sdc  0,0,2,1         COMPAQ HSV110 (C)COMPAQ 3020  5000-1fe1-5004-5448&lt;BR /&gt;sdd  0,0,3,1         COMPAQ HSV110 (C)COMPAQ 3020  5000-1fe1-5004-544d&lt;BR /&gt;sde  1,0,0,1         COMPAQ HSV110 (C)COMPAQ 3020  5000-1fe1-5004-5698&lt;BR /&gt;sdf  1,0,1,1         COMPAQ HSV110 (C)COMPAQ 3020  5000-1fe1-5004-569d&lt;BR /&gt;sdg  1,0,2,1         COMPAQ HSV110 (C)COMPAQ 3020  5000-1fe1-5004-544c&lt;BR /&gt;sdh  1,0,3,1         COMPAQ HSV110 (C)COMPAQ 3020  5000-1fe1-5004-5449&lt;BR /&gt;&lt;BR /&gt;[root@srs121 backup]# ll -lrt&lt;BR /&gt;...&lt;BR /&gt;-rw-r--r--    1 root     root       330038 Jun 21 08:52 LMPutilsv1.1.tar.gz&lt;BR /&gt;&lt;BR /&gt;[root@srs121 backup]# tar -zxvf LMPutilsv1.1.tar.gz&lt;BR /&gt;LMPutils/&lt;BR /&gt;LMPutils/HPMigrationPersistenceUtil-1.1-1.noarch.rpm&lt;BR /&gt;LMPutils/LUN Migration Application Notes.pdf&lt;BR /&gt;LMPutils/hpudev-cfg-1.1-1.noarch.rpm&lt;BR /&gt;LMPutils/install.sh&lt;BR /&gt;&lt;BR /&gt;[root@srs121 backup]# cd LMPutils&lt;BR /&gt;[root@srs121 LMPutils]# pwd&lt;BR /&gt;/backup/LMPutils&lt;BR /&gt;&lt;BR /&gt;[root@srs121 LMPutils]# ./install.sh -i&lt;BR /&gt;&lt;BR /&gt;                Please wait ...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;                   Welcome to the Linux Lun Migration and Lun Persistence instal&lt;BR /&gt;&lt;BR /&gt;                                       Version 1.1&lt;BR /&gt;&lt;BR /&gt;                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;                ~   1. Lun Migration with Lun Persistency&lt;BR /&gt;                ~   2. Lun Persistency only (2.4 Linux Kernel)&lt;BR /&gt;                ~   3. Lun Persistency only (2.6 Linux Kernel)&lt;BR /&gt;                ~   4. Exit&lt;BR /&gt;                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;&lt;BR /&gt;                        Enter your Choice (1/2/3/4) : 2&lt;BR /&gt;&lt;BR /&gt;                Please wait, checking the system...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;                Installing Lun Persistence Utility Please Wait....&lt;BR /&gt;&lt;BR /&gt;Preparing...                ########################################### [100%]&lt;BR /&gt;   1:HPMigrationPersistenceU########################################### [100%]&lt;BR /&gt;&lt;BR /&gt;                Lun Persistence utility Installed successfully&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;                Lun Migration and Persistence utility is installed successfully&lt;BR /&gt;&lt;BR /&gt;                INSTALL QLOGIC DRIVER IN FAILOVER MODE,AND FOLLOW THE INSTRUCTIONS IN LUN MIGRATION&lt;BR /&gt;                 &amp;amp; PERSISTENCE UTILITY APPLICATION NOTES FOR MIGRATION AND ARRAY UPGRADE PROCESS&lt;BR /&gt;&lt;BR /&gt;[root@srs121 LMPutils]# cd /opt/hp/src/hp_qla2x00src/&lt;BR /&gt;[root@srs121 hp_qla2x00src]# ./set_parm&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   Driver Parameters&lt;BR /&gt;-----------------------&lt;BR /&gt;&lt;BR /&gt;1) XP/MSA/EVA Failover&lt;BR /&gt;2) Secure Path&lt;BR /&gt;3) Single Path&lt;BR /&gt;4) Set Paramters Manually&lt;BR /&gt;5) Quit&lt;BR /&gt;&lt;BR /&gt;Choice: 1&lt;BR /&gt;Writing new /etc/hp_qla2x00.conf...done&lt;BR /&gt;adding line to /etc/modules.conf: alias scsi_hostadapter1 qla2200&lt;BR /&gt;adding line to /etc/modules.conf: alias scsi_hostadapter2 qla2300_conf&lt;BR /&gt;adding line to /etc/modules.conf: alias scsi_hostadapter3 qla2300&lt;BR /&gt;adding line to /etc/modules.conf: alias scsi_hostadapter4 sg&lt;BR /&gt;adding line to /etc/modules.conf: options qla2200  ql2xmaxqdepth=16 qlport_down_retry=30 qlogin_retry_count=16 ql2xfailover=1 ql2xlbType=1 ql2xexcludemodel=0x0&lt;BR /&gt;adding line to /etc/modules.conf: options qla2300  ql2xmaxqdepth=16 qlport_down_retry=30 qlogin_retry_count=16 ql2xfailover=1 ql2xlbType=1 ql2xexcludemodel=0x0&lt;BR /&gt;&lt;BR /&gt;Would you like to create a new initrd to reflect the changes in the parameters (Y/n)? Y&lt;BR /&gt;Creating new initrd - initrd-2.4.21-27.ELsmp.img&lt;BR /&gt;&lt;BR /&gt;---Press ENTER to continue---&lt;BR /&gt;&lt;BR /&gt;Quit...&lt;BR /&gt;&lt;BR /&gt;# reboot&lt;BR /&gt;&lt;BR /&gt;After reboot:&lt;BR /&gt;&lt;BR /&gt;[root@srs121 /]# lssd&lt;BR /&gt;sda  0,0,0,1         COMPAQ HSV110 (C)COMPAQ 3020  5000-1fe1-5004-569c&lt;BR /&gt;sdb  0,0,2,1         COMPAQ HSV110 (C)COMPAQ 3020  5000-1fe1-5004-5448&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Now, the LUN order is still wrong, how can I use "hpdevlabel" to make it crossover, and make it persistent?&lt;BR /&gt;It has two ways to create symbolic links:&lt;BR /&gt;&lt;BR /&gt;hpdevlabel add -d /dev/sdb1 -s /dev/myalias&lt;BR /&gt;hpdevlabel add -u UUID -s /dev/myalias&lt;BR /&gt;&lt;BR /&gt;But the problem is that I want to do the mapping between "disk" and "LUN", not between "partition" and "LUN", and I can't use this:&lt;BR /&gt;&lt;BR /&gt;[root@srs121 root]# scsi_unique_id /dev/sda&lt;BR /&gt;model: COMPAQ  HSV110 (C)COMPAQ&lt;BR /&gt;page80: 503538343945314141514530344a&lt;BR /&gt;page83 type3: 600508b4001010640000c00000090000&lt;BR /&gt;&lt;BR /&gt;[root@srs121 hp-devlabel]# hpdevlabel add -u 503538343945314141514530344a -s /dev/sdb&lt;BR /&gt;The file /dev/sdb already exists.&lt;BR /&gt;Failure. Could not create a symlink.&lt;BR /&gt;&lt;BR /&gt;Yeah, that's true, sda/sdb was occupied!&lt;BR /&gt;So, how can I FORCE the mapping as I want before the QLogic automatically assign the mapping? Any config file(s) for that?&lt;BR /&gt;&lt;BR /&gt;Thanks a lot!</description>
    <pubDate>Thu, 22 Jun 2006 10:46:05 GMT</pubDate>
    <dc:creator>yyghp</dc:creator>
    <dc:date>2006-06-22T10:46:05Z</dc:date>
    <item>
      <title>LUN persistence with Failover mode QLogic driver</title>
      <link>https://community.hpe.com/t5/hpe-eva-storage/lun-persistence-with-failover-mode-qlogic-driver/m-p/3810756#M19906</link>
      <description>LUN persistence with Failover mode QLogic driver &lt;BR /&gt;&lt;BR /&gt;I presented 2 LUNs on 2 different EVA5000 to a server ( running Red Hat Enterprise Linux 3, with Kernel 2.4 ), and used QLogic driver as "Failover mode" to combine 4 paths to 1, then I can see 2 LUNs ( each LUN is at different location. ): &lt;BR /&gt;&lt;BR /&gt;# lssd&lt;BR /&gt;sda  0,0,0,1         COMPAQ HSV110 (C)COMPAQ 3020  5000-1fe1-5004-569c&lt;BR /&gt;sdb  0,0,2,1         COMPAQ HSV110 (C)COMPAQ 3020  5000-1fe1-5004-5448&lt;BR /&gt;&lt;BR /&gt;The problem is that the mapping of "sda -- 5000-1fe1-5004-569c" and "sdb -- 5000-1fe1-5004-5448" may change after reboot, because which LUN maps to sda/sdb depends on which LUN the server can detect first! And as requested by our DBA to setup RAC, I HAVE TO make the mapping like this:&lt;BR /&gt;&lt;BR /&gt;sda  5000-1fe1-5004-5448&lt;BR /&gt;sdb 5000-1fe1-5004-569c&lt;BR /&gt;&lt;BR /&gt;So, it should be crossover! Now, I wonder whether it's possible for me to make the LUN persistent to such crossover mapping, even the server reboots, sda has to point to LUN 5000-1fe1-5004-5448.&lt;BR /&gt;&lt;BR /&gt;The problem is that such LUN order is controlled by the QLogic driver with Failover mode automatically, I can't find any config file to change such order, it seems the order is out of my control!&lt;BR /&gt;&lt;BR /&gt;I read the last document from HP for LUN persistence, I attach the utiliy files with the doc ( application notes: HP StorageWorks LUN migration and persistence utilities 1.1 ) within this email (LMPutilsv1.1.tar.gz), you can take a look, there is a solution for Linux with 2.4 kernel.&lt;BR /&gt;&lt;BR /&gt;So, I did the following:&lt;BR /&gt;&lt;BR /&gt;Change the QLogic driver back to Single Path mode, reboot, then&lt;BR /&gt;&lt;BR /&gt;After reboot:&lt;BR /&gt;&lt;BR /&gt;[root@srs121 /]# lssd&lt;BR /&gt;sda  0,0,0,1         COMPAQ HSV110 (C)COMPAQ 3020  5000-1fe1-5004-569c&lt;BR /&gt;sdb  0,0,1,1         COMPAQ HSV110 (C)COMPAQ 3020  5000-1fe1-5004-5699&lt;BR /&gt;sdc  0,0,2,1         COMPAQ HSV110 (C)COMPAQ 3020  5000-1fe1-5004-5448&lt;BR /&gt;sdd  0,0,3,1         COMPAQ HSV110 (C)COMPAQ 3020  5000-1fe1-5004-544d&lt;BR /&gt;sde  1,0,0,1         COMPAQ HSV110 (C)COMPAQ 3020  5000-1fe1-5004-5698&lt;BR /&gt;sdf  1,0,1,1         COMPAQ HSV110 (C)COMPAQ 3020  5000-1fe1-5004-569d&lt;BR /&gt;sdg  1,0,2,1         COMPAQ HSV110 (C)COMPAQ 3020  5000-1fe1-5004-544c&lt;BR /&gt;sdh  1,0,3,1         COMPAQ HSV110 (C)COMPAQ 3020  5000-1fe1-5004-5449&lt;BR /&gt;&lt;BR /&gt;[root@srs121 backup]# ll -lrt&lt;BR /&gt;...&lt;BR /&gt;-rw-r--r--    1 root     root       330038 Jun 21 08:52 LMPutilsv1.1.tar.gz&lt;BR /&gt;&lt;BR /&gt;[root@srs121 backup]# tar -zxvf LMPutilsv1.1.tar.gz&lt;BR /&gt;LMPutils/&lt;BR /&gt;LMPutils/HPMigrationPersistenceUtil-1.1-1.noarch.rpm&lt;BR /&gt;LMPutils/LUN Migration Application Notes.pdf&lt;BR /&gt;LMPutils/hpudev-cfg-1.1-1.noarch.rpm&lt;BR /&gt;LMPutils/install.sh&lt;BR /&gt;&lt;BR /&gt;[root@srs121 backup]# cd LMPutils&lt;BR /&gt;[root@srs121 LMPutils]# pwd&lt;BR /&gt;/backup/LMPutils&lt;BR /&gt;&lt;BR /&gt;[root@srs121 LMPutils]# ./install.sh -i&lt;BR /&gt;&lt;BR /&gt;                Please wait ...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;                   Welcome to the Linux Lun Migration and Lun Persistence instal&lt;BR /&gt;&lt;BR /&gt;                                       Version 1.1&lt;BR /&gt;&lt;BR /&gt;                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;                ~   1. Lun Migration with Lun Persistency&lt;BR /&gt;                ~   2. Lun Persistency only (2.4 Linux Kernel)&lt;BR /&gt;                ~   3. Lun Persistency only (2.6 Linux Kernel)&lt;BR /&gt;                ~   4. Exit&lt;BR /&gt;                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~&lt;BR /&gt;&lt;BR /&gt;                        Enter your Choice (1/2/3/4) : 2&lt;BR /&gt;&lt;BR /&gt;                Please wait, checking the system...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;                Installing Lun Persistence Utility Please Wait....&lt;BR /&gt;&lt;BR /&gt;Preparing...                ########################################### [100%]&lt;BR /&gt;   1:HPMigrationPersistenceU########################################### [100%]&lt;BR /&gt;&lt;BR /&gt;                Lun Persistence utility Installed successfully&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;                Lun Migration and Persistence utility is installed successfully&lt;BR /&gt;&lt;BR /&gt;                INSTALL QLOGIC DRIVER IN FAILOVER MODE,AND FOLLOW THE INSTRUCTIONS IN LUN MIGRATION&lt;BR /&gt;                 &amp;amp; PERSISTENCE UTILITY APPLICATION NOTES FOR MIGRATION AND ARRAY UPGRADE PROCESS&lt;BR /&gt;&lt;BR /&gt;[root@srs121 LMPutils]# cd /opt/hp/src/hp_qla2x00src/&lt;BR /&gt;[root@srs121 hp_qla2x00src]# ./set_parm&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   Driver Parameters&lt;BR /&gt;-----------------------&lt;BR /&gt;&lt;BR /&gt;1) XP/MSA/EVA Failover&lt;BR /&gt;2) Secure Path&lt;BR /&gt;3) Single Path&lt;BR /&gt;4) Set Paramters Manually&lt;BR /&gt;5) Quit&lt;BR /&gt;&lt;BR /&gt;Choice: 1&lt;BR /&gt;Writing new /etc/hp_qla2x00.conf...done&lt;BR /&gt;adding line to /etc/modules.conf: alias scsi_hostadapter1 qla2200&lt;BR /&gt;adding line to /etc/modules.conf: alias scsi_hostadapter2 qla2300_conf&lt;BR /&gt;adding line to /etc/modules.conf: alias scsi_hostadapter3 qla2300&lt;BR /&gt;adding line to /etc/modules.conf: alias scsi_hostadapter4 sg&lt;BR /&gt;adding line to /etc/modules.conf: options qla2200  ql2xmaxqdepth=16 qlport_down_retry=30 qlogin_retry_count=16 ql2xfailover=1 ql2xlbType=1 ql2xexcludemodel=0x0&lt;BR /&gt;adding line to /etc/modules.conf: options qla2300  ql2xmaxqdepth=16 qlport_down_retry=30 qlogin_retry_count=16 ql2xfailover=1 ql2xlbType=1 ql2xexcludemodel=0x0&lt;BR /&gt;&lt;BR /&gt;Would you like to create a new initrd to reflect the changes in the parameters (Y/n)? Y&lt;BR /&gt;Creating new initrd - initrd-2.4.21-27.ELsmp.img&lt;BR /&gt;&lt;BR /&gt;---Press ENTER to continue---&lt;BR /&gt;&lt;BR /&gt;Quit...&lt;BR /&gt;&lt;BR /&gt;# reboot&lt;BR /&gt;&lt;BR /&gt;After reboot:&lt;BR /&gt;&lt;BR /&gt;[root@srs121 /]# lssd&lt;BR /&gt;sda  0,0,0,1         COMPAQ HSV110 (C)COMPAQ 3020  5000-1fe1-5004-569c&lt;BR /&gt;sdb  0,0,2,1         COMPAQ HSV110 (C)COMPAQ 3020  5000-1fe1-5004-5448&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Now, the LUN order is still wrong, how can I use "hpdevlabel" to make it crossover, and make it persistent?&lt;BR /&gt;It has two ways to create symbolic links:&lt;BR /&gt;&lt;BR /&gt;hpdevlabel add -d /dev/sdb1 -s /dev/myalias&lt;BR /&gt;hpdevlabel add -u UUID -s /dev/myalias&lt;BR /&gt;&lt;BR /&gt;But the problem is that I want to do the mapping between "disk" and "LUN", not between "partition" and "LUN", and I can't use this:&lt;BR /&gt;&lt;BR /&gt;[root@srs121 root]# scsi_unique_id /dev/sda&lt;BR /&gt;model: COMPAQ  HSV110 (C)COMPAQ&lt;BR /&gt;page80: 503538343945314141514530344a&lt;BR /&gt;page83 type3: 600508b4001010640000c00000090000&lt;BR /&gt;&lt;BR /&gt;[root@srs121 hp-devlabel]# hpdevlabel add -u 503538343945314141514530344a -s /dev/sdb&lt;BR /&gt;The file /dev/sdb already exists.&lt;BR /&gt;Failure. Could not create a symlink.&lt;BR /&gt;&lt;BR /&gt;Yeah, that's true, sda/sdb was occupied!&lt;BR /&gt;So, how can I FORCE the mapping as I want before the QLogic automatically assign the mapping? Any config file(s) for that?&lt;BR /&gt;&lt;BR /&gt;Thanks a lot!</description>
      <pubDate>Thu, 22 Jun 2006 10:46:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-eva-storage/lun-persistence-with-failover-mode-qlogic-driver/m-p/3810756#M19906</guid>
      <dc:creator>yyghp</dc:creator>
      <dc:date>2006-06-22T10:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: LUN persistence with Failover mode QLogic driver</title>
      <link>https://community.hpe.com/t5/hpe-eva-storage/lun-persistence-with-failover-mode-qlogic-driver/m-p/3810757#M19907</link>
      <description>NOTE: I have to keep using Kernel 2.4, instead of 2.6.&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Thu, 22 Jun 2006 10:48:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-eva-storage/lun-persistence-with-failover-mode-qlogic-driver/m-p/3810757#M19907</guid>
      <dc:creator>yyghp</dc:creator>
      <dc:date>2006-06-22T10:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: LUN persistence with Failover mode QLogic driver</title>
      <link>https://community.hpe.com/t5/hpe-eva-storage/lun-persistence-with-failover-mode-qlogic-driver/m-p/3810758#M19908</link>
      <description>Any idea for this?&lt;BR /&gt;Thanks!</description>
      <pubDate>Tue, 27 Jun 2006 09:10:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-eva-storage/lun-persistence-with-failover-mode-qlogic-driver/m-p/3810758#M19908</guid>
      <dc:creator>yyghp</dc:creator>
      <dc:date>2006-06-27T09:10:29Z</dc:date>
    </item>
    <item>
      <title>Re: LUN persistence with Failover mode QLogic driver</title>
      <link>https://community.hpe.com/t5/hpe-eva-storage/lun-persistence-with-failover-mode-qlogic-driver/m-p/3810759#M19909</link>
      <description>The reason why I want to change the LUN order is that our DBA asked me to make it the same LUN mapping as the other two production RAC servers, just for his configuration convenience, not a must technically. &lt;BR /&gt;However, even now I don't care about such crossover LUN order request by our DBA, I still have to find out a way to ensure the LUN persistence under the QLogic Failover mode. Because QLogic driver with failover mode, which combines 4 paths to 1, assigns /dev/sda to the first LUN that the server detects, since now we have two LUNs at the same EVA5000, we have to make sure /dev/sda always point to the same LUN. That is, Server A has /dev/sda and /dev/sdb point to two LUNs on the same EVA5000, for example, /dev/sda points to LUN#1, and /dev/sdb points to LUN#2, which is controlled by QLogic driver with failover mode automatically when system restarts. If during next reboot, Server A detects LUN#2 first, then it will assign /dev/sda to it, instead of /dev/sdb, then I think Oracle RAC will encounter the wrong raw device files. So, we have to find out a way to make sure that the raw device file ( sda or sdb ) always points to the right LUN. &lt;BR /&gt;I had the similar issue before on our production RAC servers, however, because those two LUNs are located in two different EVA5000, so, either server normally dectected the local LUN first, then the remote LUN, which helped to ensure the persistent order, but not guarantee. &lt;BR /&gt;As I mentioned in my post above, the problem is that the LUN order is controlled by the QLogic driver automatically, but how can we control the order manually? &lt;BR /&gt;&lt;BR /&gt;Thanks again!</description>
      <pubDate>Tue, 04 Jul 2006 10:38:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-eva-storage/lun-persistence-with-failover-mode-qlogic-driver/m-p/3810759#M19909</guid>
      <dc:creator>yyghp</dc:creator>
      <dc:date>2006-07-04T10:38:12Z</dc:date>
    </item>
    <item>
      <title>Re: LUN persistence with Failover mode QLogic driver</title>
      <link>https://community.hpe.com/t5/hpe-eva-storage/lun-persistence-with-failover-mode-qlogic-driver/m-p/3810760#M19910</link>
      <description>I know this thread is out of date, but a tip if anyone searches for similar: -&lt;BR /&gt;&lt;BR /&gt;Instead of worrying about LUN persistence, use filesystem labels.  Okay it doesn't work for Oracle using RAW filesystems, but it does for ext3 filesystems, and also ocfs (Oracle filesystem).&lt;BR /&gt;&lt;BR /&gt;If you use OCFS for RAC, you can mount the filesystems by LABEL and not specify /dev/sda etc.  That way if the disks are reordered it doesn't matter.&lt;BR /&gt;&lt;BR /&gt;One point to note, it seems you need to create a partition sda1 as the full size of the LUN and use this rather than the "whole disk" - the mount facility searching for labels looks on partitions and not on disks for matching labels.</description>
      <pubDate>Wed, 14 Feb 2007 04:52:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/hpe-eva-storage/lun-persistence-with-failover-mode-qlogic-driver/m-p/3810760#M19910</guid>
      <dc:creator>Simon Hargrave</dc:creator>
      <dc:date>2007-02-14T04:52:54Z</dc:date>
    </item>
  </channel>
</rss>

