<?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 Mulipathing help in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/mulipathing-help/m-p/4549249#M39128</link>
    <description>I am using Redhat 4.7 on ProLiant BL460c G6. The FC card is Emulex LPe1105-HP 4Gb FC HBA for HP c-Class BladeSystem. This is connected with eva8400. It is working properly. i can see all the LUNs. Is there any tool that allw me to configure the failover policy. In EMC power path something like powermt?</description>
    <pubDate>Sun, 13 Dec 2009 23:37:52 GMT</pubDate>
    <dc:creator>Khashru</dc:creator>
    <dc:date>2009-12-13T23:37:52Z</dc:date>
    <item>
      <title>Mulipathing help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mulipathing-help/m-p/4549249#M39128</link>
      <description>I am using Redhat 4.7 on ProLiant BL460c G6. The FC card is Emulex LPe1105-HP 4Gb FC HBA for HP c-Class BladeSystem. This is connected with eva8400. It is working properly. i can see all the LUNs. Is there any tool that allw me to configure the failover policy. In EMC power path something like powermt?</description>
      <pubDate>Sun, 13 Dec 2009 23:37:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mulipathing-help/m-p/4549249#M39128</guid>
      <dc:creator>Khashru</dc:creator>
      <dc:date>2009-12-13T23:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: Mulipathing help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mulipathing-help/m-p/4549250#M39129</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;you should be able to use multipath. The config is /etc/multipath.conf&lt;BR /&gt;&lt;BR /&gt;By default, the config file with default config should do the work.&lt;BR /&gt;&lt;BR /&gt;# service start multipathd&lt;BR /&gt;&lt;BR /&gt;ensure this service is autostart aft reboot.&lt;BR /&gt;# chkconfig multipathd on&lt;BR /&gt;&lt;BR /&gt;start scan possible Luns with multipath access&lt;BR /&gt;# multipath -v3&lt;BR /&gt;&lt;BR /&gt;You could refer this doc. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01705624/c01705624.pdf?jumpid=reg_R1002_USEN" target="_blank"&gt;http://h20000.www2.hp.com/bc/docs/support/SupportManual/c01705624/c01705624.pdf?jumpid=reg_R1002_USEN&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;which are for HP storages.&lt;BR /&gt;&lt;BR /&gt;Rgds&lt;BR /&gt;&lt;BR /&gt;PS : appreciate if you could assign some points.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 14 Dec 2009 04:54:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mulipathing-help/m-p/4549250#M39129</guid>
      <dc:creator>Khairy</dc:creator>
      <dc:date>2009-12-14T04:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: Mulipathing help</title>
      <link>https://community.hpe.com/t5/operating-system-linux/mulipathing-help/m-p/4549251#M39130</link>
      <description>Hi Khasura&lt;BR /&gt;&lt;BR /&gt;I use the following procedure for configuring multipathed devices on RHEL:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Procedure for configuring the system with DM-Multipath:&lt;BR /&gt;&lt;BR /&gt;   1. Install device-mapper-multipath rpm&lt;BR /&gt;   2. Edit the multipath.conf configuration file:&lt;BR /&gt;          * comment out the default blacklist&lt;BR /&gt;          * change any of the existing defaults as needed&lt;BR /&gt;   3. Start the multipath daemons&lt;BR /&gt;   4. Create the multipath device with the multipath&lt;BR /&gt;&lt;BR /&gt;Install Device Mapper Multipath&lt;BR /&gt;&lt;BR /&gt;# rpm -ivh device-mapper-multipath-0.4.7-8.el5.i386.rpm&lt;BR /&gt;warning: device-mapper-multipath-0.4.7-8.el5.i386.rpm: Header V3 DSA signature:&lt;BR /&gt;Preparing...                ########################################### [100%]&lt;BR /&gt;1:device-mapper-multipath########################################### [100%]&lt;BR /&gt;&lt;BR /&gt;Initial Configuration&lt;BR /&gt;&lt;BR /&gt;Set user_friendly_name. The devices will be created as /dev/mapper/mpath[n]. Uncomment the blacklist.&lt;BR /&gt;&lt;BR /&gt;# vim /etc/multipath.conf&lt;BR /&gt;&lt;BR /&gt;#blacklist {&lt;BR /&gt;#        devnode "*"&lt;BR /&gt;#}&lt;BR /&gt;&lt;BR /&gt;defaults {&lt;BR /&gt;user_friendly_names yes&lt;BR /&gt;path_grouping_policy multibus&lt;BR /&gt;&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Load the needed modul and the startup service.&lt;BR /&gt;&lt;BR /&gt;# modprobe dm-multipath&lt;BR /&gt;# /etc/init.d/multipathd start&lt;BR /&gt;# chkconfig multipathd on&lt;BR /&gt;&lt;BR /&gt;Print out the multipathed device.&lt;BR /&gt;&lt;BR /&gt;# multipath -v2&lt;BR /&gt;or&lt;BR /&gt;# multipath -v3&lt;BR /&gt;&lt;BR /&gt;Configuration&lt;BR /&gt;&lt;BR /&gt;Configure device type in config file.&lt;BR /&gt;&lt;BR /&gt;# cat /sys/block/sda/device/vendor&lt;BR /&gt;HP&lt;BR /&gt;&lt;BR /&gt;# cat /sys/block/sda/device/model&lt;BR /&gt;HSV200&lt;BR /&gt;&lt;BR /&gt;# vim /etc/multipath.conf&lt;BR /&gt;devices {&lt;BR /&gt;&lt;BR /&gt;device {&lt;BR /&gt;vendor                  "HP"&lt;BR /&gt;product                 "HSV200"&lt;BR /&gt;path_grouping_policy    multibus&lt;BR /&gt;no_path_retry           "5"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Configure multipath device in config file.&lt;BR /&gt;&lt;BR /&gt;# cat /var/lib/multipath/bindings&lt;BR /&gt;&lt;BR /&gt;# Format:&lt;BR /&gt;# alias wwid&lt;BR /&gt;#&lt;BR /&gt;mpath0 3600508b400070aac0000900000080000&lt;BR /&gt;&lt;BR /&gt;# vim /etc/multipath.conf&lt;BR /&gt;&lt;BR /&gt;multipaths {&lt;BR /&gt;&lt;BR /&gt;multipath {&lt;BR /&gt;wwid                    3600508b400070aac0000900000080000&lt;BR /&gt;alias                   mpath0&lt;BR /&gt;path_grouping_policy    multibus&lt;BR /&gt;path_checker            readsector0&lt;BR /&gt;path_selector           "round-robin 0"&lt;BR /&gt;failback                "5"&lt;BR /&gt;rr_weight               priorities&lt;BR /&gt;no_path_retry           "5"&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Set not mutipathed devices on the blacklist. (f.e. local Raid-Devices, Volume Groups)&lt;BR /&gt;&lt;BR /&gt;# vim /etc/multipath.conf&lt;BR /&gt;&lt;BR /&gt;devnode_blacklist {&lt;BR /&gt;&lt;BR /&gt;devnode "^cciss!c[0-9]d[0-9]*"&lt;BR /&gt;devnode "^vg*"&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Show Configured Multipaths.&lt;BR /&gt;&lt;BR /&gt;# dmsetup ls --target=multipath&lt;BR /&gt;mpath0  (253, 1)&lt;BR /&gt;&lt;BR /&gt;# multipath -ll&lt;BR /&gt;&lt;BR /&gt;mpath0 (3600508b400070aac0000900000080000) dm-1 HP,HSV200&lt;BR /&gt;[size=10G][features=1 queue_if_no_path][hwhandler=0]&lt;BR /&gt;\_ round-robin 0 [prio=4][active]&lt;BR /&gt;\_ 0:0:0:1 sda 8:0   [active][ready]&lt;BR /&gt;\_ 0:0:1:1 sdb 8:16  [active][ready]&lt;BR /&gt;\_ 1:0:0:1 sdc 8:32  [active][ready]&lt;BR /&gt;\_ 1:0:1:1 sdd 8:48  [active][ready]&lt;BR /&gt;&lt;BR /&gt;Format and mount Device&lt;BR /&gt;&lt;BR /&gt;Fdisk cannot be used with /dev/mapper/[dev_name] devices. Use fdisk on the underlying disks and execute the following command when device-mapper multipath maps the device to create a /dev/mapper/mpath[n] device for the partition.&lt;BR /&gt;&lt;BR /&gt;# fdisk /dev/sda&lt;BR /&gt;&lt;BR /&gt;# kpartx -a /dev/mapper/mpath0&lt;BR /&gt;&lt;BR /&gt;# ls /dev/mapper/*&lt;BR /&gt;mpath0  mpath0p1&lt;BR /&gt;&lt;BR /&gt;# mkfs.ext3 /dev/mapper/mpath0p1&lt;BR /&gt;&lt;BR /&gt;# mount /dev/mapper/mpath0p1 /mnt/san&lt;BR /&gt;&lt;BR /&gt;After that /dev/mapper/mpath0p1 is the first partition on the multipathed device.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Useful Links:&lt;BR /&gt;&lt;A href="http://thomasvogt.wordpress.com/2007/11/29/linux-san-multipathing/" target="_blank"&gt;http://thomasvogt.wordpress.com/2007/11/29/linux-san-multipathing/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://thomasvogt.wordpress.com/2008/02/04/linux-san-multipathing-hp-storage/" target="_blank"&gt;http://thomasvogt.wordpress.com/2008/02/04/linux-san-multipathing-hp-storage/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt; - Thomas</description>
      <pubDate>Tue, 26 Jan 2010 10:16:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/mulipathing-help/m-p/4549251#M39130</guid>
      <dc:creator>Thomas Vogt (CH)</dc:creator>
      <dc:date>2010-01-26T10:16:03Z</dc:date>
    </item>
  </channel>
</rss>

