<?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 Re: pvlink multipathing in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/pvlink-multipathing/m-p/4007429#M298293</link>
    <description>PV Links really only do failover. You can do some load-balancing by choosing alternate SCSI buses for different PV's within a VG.&lt;BR /&gt;&lt;BR /&gt;For example, consider the case of a single 200GiB LUN that makes up a VG. You would have a primary path (A) to the LUN and an alternate path (B). Pvlink B would come into play only if A failed.&lt;BR /&gt;&lt;BR /&gt;Now, instead lets' create the same 200GiB VG but use 2 100 GiB LUN's. LUN0 might use primary path A (alternate B) and LUN1 might use primary path B (alternate A). If you then stripe your LVOL's within the VG over both PV's then you achieve I/O distribution and failover.&lt;BR /&gt;&lt;BR /&gt;Of course this same scheme could be extended over as many LUN's as you have separate paths to the array. How much this actually benefits you in terms of performance depends greatly upon the underlying hardware.</description>
    <pubDate>Fri, 25 May 2007 14:53:12 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2007-05-25T14:53:12Z</dc:date>
    <item>
      <title>pvlink multipathing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvlink-multipathing/m-p/4007428#M298292</link>
      <description>Hi Folks,&lt;BR /&gt;I am new to this pvlink arena and after a few posts i gathered some knowledge about it. &lt;BR /&gt;&lt;BR /&gt;Could any please tell, how would i set preferred path from two available paths ? After adding the link to my existing volume group it shows the additional link. Also, does pvlink supports any load balancing feature for IO ?? With other multipathing application i have seen, Round Robin; Failover; etc different IO policy. Also, there are features like, turning on and off load balancing. Does pvlink provides such features ?? Any docs, guide to pvlink will be help full. I am using HP-UX 11.23 &lt;BR /&gt;&lt;BR /&gt;Thanks for the reply,&lt;BR /&gt;NKD</description>
      <pubDate>Fri, 25 May 2007 14:42:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvlink-multipathing/m-p/4007428#M298292</guid>
      <dc:creator>dasn</dc:creator>
      <dc:date>2007-05-25T14:42:20Z</dc:date>
    </item>
    <item>
      <title>Re: pvlink multipathing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvlink-multipathing/m-p/4007429#M298293</link>
      <description>PV Links really only do failover. You can do some load-balancing by choosing alternate SCSI buses for different PV's within a VG.&lt;BR /&gt;&lt;BR /&gt;For example, consider the case of a single 200GiB LUN that makes up a VG. You would have a primary path (A) to the LUN and an alternate path (B). Pvlink B would come into play only if A failed.&lt;BR /&gt;&lt;BR /&gt;Now, instead lets' create the same 200GiB VG but use 2 100 GiB LUN's. LUN0 might use primary path A (alternate B) and LUN1 might use primary path B (alternate A). If you then stripe your LVOL's within the VG over both PV's then you achieve I/O distribution and failover.&lt;BR /&gt;&lt;BR /&gt;Of course this same scheme could be extended over as many LUN's as you have separate paths to the array. How much this actually benefits you in terms of performance depends greatly upon the underlying hardware.</description>
      <pubDate>Fri, 25 May 2007 14:53:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvlink-multipathing/m-p/4007429#M298293</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-05-25T14:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: pvlink multipathing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvlink-multipathing/m-p/4007430#M298294</link>
      <description>&lt;!--!*#--&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;From vgcreate(1M):&lt;BR /&gt;&lt;BR /&gt;           pv_path             The block device path name of a physical&lt;BR /&gt;                               volume that will be assigned to the new&lt;BR /&gt;                               volume group.  You can specify physical&lt;BR /&gt;                               volume links (pv-links) for a physical volume&lt;BR /&gt;                               providing different paths that reference the&lt;BR /&gt;                               same physical volume in the pv_path list.&lt;BR /&gt;                               The order in which the paths are listed is&lt;BR /&gt;                               important.  The first path becomes the&lt;BR /&gt;                               primary link to the physical volume, the&lt;BR /&gt;                               second becomes an alternate link to the&lt;BR /&gt;                               physical volume.  The primary link is the&lt;BR /&gt;                               default path used to access the physical&lt;BR /&gt;                               volume.  If the primary link becomes&lt;BR /&gt;                               unavailable, LVM automatically switches to&lt;BR /&gt;                               the alternate link to access the physical&lt;BR /&gt;                               volume.  Currently LVM supports a maximum of&lt;BR /&gt;                               8 paths to a physical volume (7 alternate and&lt;BR /&gt;                               one primary).&lt;BR /&gt;&lt;BR /&gt;Until HP-UX 11iv3, pvlinks were used for failover, not load balancing.  If you had controllers set up in active/active mode, you could manually load balance by creating some VGs with primary links going through controller, and other VGs with primary links going through another.  Then you would spread files evenly over the corresponding filesystems.&lt;BR /&gt;&lt;BR /&gt;11iv3 supports load balancing over pvlinks using persistent device files.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5991-6481/ch01s04.html" target="_blank"&gt;http://docs.hp.com/en/5991-6481/ch01s04.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;PCS</description>
      <pubDate>Fri, 25 May 2007 14:58:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvlink-multipathing/m-p/4007430#M298294</guid>
      <dc:creator>spex</dc:creator>
      <dc:date>2007-05-25T14:58:16Z</dc:date>
    </item>
    <item>
      <title>Re: pvlink multipathing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvlink-multipathing/m-p/4007431#M298295</link>
      <description>Clay,&lt;BR /&gt;Thanks for the reply. &lt;BR /&gt;&lt;BR /&gt;As you said in case of two LUN, LUN0 will have path A as active and LUN1 will have path B as active. How do we tell pvlink to choose one of these paths ( for ex path B in case of LUN1)? Is there a default path that pvlink will pick up for IO out of two available paths. I have one 3 Gig LUN and want to drive IO in both the paths or either of them. How do i tell pvlink to select one of them ?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;NKD</description>
      <pubDate>Fri, 25 May 2007 15:00:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvlink-multipathing/m-p/4007431#M298295</guid>
      <dc:creator>dasn</dc:creator>
      <dc:date>2007-05-25T15:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: pvlink multipathing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvlink-multipathing/m-p/4007432#M298296</link>
      <description>Clay,&lt;BR /&gt;Thanks for the reply. &lt;BR /&gt;&lt;BR /&gt;As you said in case of two LUN, LUN0 will have path A as active and LUN1 will have path B as active. How do we tell pvlink to choose one of these paths ( for ex path B in case of LUN1)? Is there a default path that pvlink will pick up for IO out of two available paths. I have one 3 Gig LUN and want to drive IO in both the paths or either of them. How do i tell pvlink to select one of them ? Also is there any docs on pvlink ?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;NKD</description>
      <pubDate>Fri, 25 May 2007 15:00:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvlink-multipathing/m-p/4007432#M298296</guid>
      <dc:creator>dasn</dc:creator>
      <dc:date>2007-05-25T15:00:19Z</dc:date>
    </item>
    <item>
      <title>Re: pvlink multipathing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvlink-multipathing/m-p/4007433#M298297</link>
      <description>Standard LVM PVLINKs provide **nothing** except an alternate link to a device.  There is **NO** load balancing, round robin'ing, etc.  The alternate link will take over if/when the primary fails.  That is all.&lt;BR /&gt;&lt;BR /&gt;However, there are something you do when creating a VG to get some pseudo-load balancing.&lt;BR /&gt;&lt;BR /&gt;Say you have 4 devices c4t1d1, c4t1d2, c4t1d3 and c4t1d4 with alternate links of c5t1d1, c5t1d2, c5t1d3 and c5t1d4.&lt;BR /&gt;&lt;BR /&gt;Now, when you create your VG, create such that the primary links for 2 devices are c4 (with c5 as alternate) and 2 devices are c5 (with c4 as alternate).&lt;BR /&gt;&lt;BR /&gt;Something like this with your vgcreate command:&lt;BR /&gt;&lt;BR /&gt;vgcreate /dev/vg01 /dev/dsk/c4t1d1 /dev/dsk/c5t1d2 /dev/dsk/c4t1d3 /dev/dsk/c5t1d4&lt;BR /&gt;&lt;BR /&gt;Then vgextend the alternate links.&lt;BR /&gt;&lt;BR /&gt;vgextend /dev/vg01 /dev/dsk/c5t1d1 /dev/dsk/c4t1d2 /dev/dsk/c5t1d3 /dev/dsk/c4t1d4.&lt;BR /&gt;&lt;BR /&gt;Then when you create your LV, you could create it as a striped LV, striping over 4 devices.&lt;BR /&gt;&lt;BR /&gt;lvcreate -L 10240 -i 4 -I 64 -n lvol1 /dev/vg01&lt;BR /&gt;&lt;BR /&gt;The above would create a 10,240 MB LV stripes across the 4 volumes with a stripe size of 64kb.  &lt;BR /&gt;&lt;BR /&gt;So when you do any writes to this LV, the will be spread across both controllers, thus my "pseudo-load balancing".</description>
      <pubDate>Fri, 25 May 2007 15:06:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvlink-multipathing/m-p/4007433#M298297</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2007-05-25T15:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: pvlink multipathing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvlink-multipathing/m-p/4007434#M298298</link>
      <description>The first path listed for a given PV when you do a vgcreate will be the primary link. You can change an existing alternate link to a primary by doing a vgreduce and specifying the primary path. This will remove the current primary path and the alternate will become the primary. You then run vgextend and specify the old primary path and it becomes the altermate. Man vgreduce, vgextend, vgcreate for details.</description>
      <pubDate>Fri, 25 May 2007 15:18:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvlink-multipathing/m-p/4007434#M298298</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-05-25T15:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: pvlink multipathing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/pvlink-multipathing/m-p/4007435#M298299</link>
      <description>Thanks for all the responses. Replies are very informative and useful.&lt;BR /&gt;- NKD</description>
      <pubDate>Fri, 25 May 2007 15:33:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/pvlink-multipathing/m-p/4007435#M298299</guid>
      <dc:creator>dasn</dc:creator>
      <dc:date>2007-05-25T15:33:33Z</dc:date>
    </item>
  </channel>
</rss>

