<?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: Alternate pathing in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/alternate-pathing/m-p/2893394#M633554</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;It's pretty easy, if you have two paths to your disks.  Let's say you have c6t0d0 through c6t0d7 pointing to 8 disks, and you have PV links through another controller pointing to the same 8 disks as c8t0d0 through c8t0d7.  You can do something like this:&lt;BR /&gt;&lt;BR /&gt;vgcreate vg_name /dev/dsk/c6d0d0 /dev/dsk/c8t0d1 /dev/dsk/c6t0d2&lt;BR /&gt;&lt;BR /&gt;vgextend vg_name /dev/dsk/c8t0d0 /dev/dsk/c6t0d1 /dev/dsk/c8t0d2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Then, a vgdisplay -v vg_name should give you your PVs and your alternate links.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 30 Jan 2003 20:36:45 GMT</pubDate>
    <dc:creator>John Poff</dc:creator>
    <dc:date>2003-01-30T20:36:45Z</dc:date>
    <item>
      <title>Alternate pathing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/alternate-pathing/m-p/2893392#M633552</link>
      <description>How do I setup alternate pathing when creating volume groups.&lt;BR /&gt;&lt;BR /&gt;Jeremy</description>
      <pubDate>Thu, 30 Jan 2003 20:32:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/alternate-pathing/m-p/2893392#M633552</guid>
      <dc:creator>Jeremy Loukinas_1</dc:creator>
      <dc:date>2003-01-30T20:32:35Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate pathing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/alternate-pathing/m-p/2893393#M633553</link>
      <description>you just &lt;BR /&gt;&lt;BR /&gt;#vgextend vgname /dev/dsk/altdisk&lt;BR /&gt;&lt;BR /&gt;and when you do a &lt;BR /&gt;#vgdisplay vgname &lt;BR /&gt;&lt;BR /&gt;your disks will come up as&lt;BR /&gt;&lt;BR /&gt;   PV Name                     /dev/dsk/disk1&lt;BR /&gt;   PV Name                     /dev/dsk/disk2 Alternate Link&lt;BR /&gt;</description>
      <pubDate>Thu, 30 Jan 2003 20:34:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/alternate-pathing/m-p/2893393#M633553</guid>
      <dc:creator>Marco Santerre</dc:creator>
      <dc:date>2003-01-30T20:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate pathing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/alternate-pathing/m-p/2893394#M633554</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;It's pretty easy, if you have two paths to your disks.  Let's say you have c6t0d0 through c6t0d7 pointing to 8 disks, and you have PV links through another controller pointing to the same 8 disks as c8t0d0 through c8t0d7.  You can do something like this:&lt;BR /&gt;&lt;BR /&gt;vgcreate vg_name /dev/dsk/c6d0d0 /dev/dsk/c8t0d1 /dev/dsk/c6t0d2&lt;BR /&gt;&lt;BR /&gt;vgextend vg_name /dev/dsk/c8t0d0 /dev/dsk/c6t0d1 /dev/dsk/c8t0d2&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Then, a vgdisplay -v vg_name should give you your PVs and your alternate links.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 30 Jan 2003 20:36:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/alternate-pathing/m-p/2893394#M633554</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2003-01-30T20:36:45Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate pathing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/alternate-pathing/m-p/2893395#M633555</link>
      <description>HI Jeremy,&lt;BR /&gt;&lt;BR /&gt;Say c1t0d0,c2t0d0,c1t0d1 and c2t0d1 are links for two devices, follow the default vgcreate process.&lt;BR /&gt;&lt;BR /&gt;vgcreate (options) vg01 /dev/dsk/c1t0d0&lt;BR /&gt;vgextend vg01 /dev/dsk/c2t0d0&lt;BR /&gt;/dev/dsk/c1t0d1 /dev/dsk/c2t0d1&lt;BR /&gt;&lt;BR /&gt;This will put you into passive-passive configuration. Here only c1 path will be accessed for IO and the other path is idle until a failure occurs on c1 path.&lt;BR /&gt;&lt;BR /&gt;Now to load balance, do&lt;BR /&gt;&lt;BR /&gt;vgreduce vg01 /dev/dsk/c1t0d1&lt;BR /&gt;vgextend vg01 /dev/dsk/c1t0d1&lt;BR /&gt;&lt;BR /&gt;This will change the order of PV so that all the file systems on c1t0d1 will be accessed through c2 path. This may not loadbalance 100%, but atleast  you will be usign both the paths.&lt;BR /&gt;&lt;BR /&gt;If you do lvm striping, then you can get around 90% load balance.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Thu, 30 Jan 2003 20:40:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/alternate-pathing/m-p/2893395#M633555</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-01-30T20:40:26Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate pathing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/alternate-pathing/m-p/2893396#M633556</link>
      <description>Hi Jeremy:&lt;BR /&gt;&lt;BR /&gt;The rule is simple; the first path to a physical device specified during 'vgcreate' is the "primary" and sucessive ones (up to 8 paths, total) are "alternate"s.&lt;BR /&gt;&lt;BR /&gt;If a volume group is 'vgcreate'd from one physical device, an alternate link can be added later by 'vgextend'ing the volume group with a device file that represents the same physical path as the existing one.&lt;BR /&gt;&lt;BR /&gt;To swap an alternate and a primary link, 'vgreduce' the primary link.  The 'alternate' is then promoted to the primary;  Follow this by 'vgextend'ing the original primary link and it becomes the alternate link.&lt;BR /&gt;&lt;BR /&gt;In reality, the first path to a particular device is the primary link.  An duplicate path (in the form of another device file) is an alterante.  Primary links occur first in '/etc/lvmtab', followed by the alternate link(s).&lt;BR /&gt;&lt;BR /&gt;Remember that 'pvlinks' [alternates] are *not* for load-balancing.  LVM uses alternate links only for failover.  You want alternate and primary links on separate disk controllers or fibre channels for high-availability.&lt;BR /&gt;&lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 30 Jan 2003 20:45:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/alternate-pathing/m-p/2893396#M633556</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-01-30T20:45:38Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate pathing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/alternate-pathing/m-p/2893397#M633557</link>
      <description>How do I figure out which disks are on my alternate path?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 30 Jan 2003 20:53:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/alternate-pathing/m-p/2893397#M633557</guid>
      <dc:creator>Jeremy Loukinas_1</dc:creator>
      <dc:date>2003-01-30T20:53:30Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate pathing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/alternate-pathing/m-p/2893398#M633558</link>
      <description>Surprized..&lt;BR /&gt;&lt;BR /&gt;JRF.. Are you giving a message that the Alternate link should not be used for loadbalancing?. We use it all the time here and with lvm striping it works great. With the auto switch over capability, you can have high availability during failures even with this setup. And when the link comes back, it will start *load balancing* automatically.&lt;BR /&gt;&lt;BR /&gt;When the system does gigs of IO, I hate to see one path sitting idle.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Thu, 30 Jan 2003 21:00:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/alternate-pathing/m-p/2893398#M633558</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-01-30T21:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate pathing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/alternate-pathing/m-p/2893399#M633559</link>
      <description>Jeremy,&lt;BR /&gt;&lt;BR /&gt;You'll need to look at an ioscan to see which disks you have defined.  Also, you'll need to understand what kind of external disks you are using and how they are connected.  Are you using a disk array?&lt;BR /&gt;&lt;BR /&gt;Sri,&lt;BR /&gt;&lt;BR /&gt;I thought the same thing when I first read James' post, but then I understood what he was saying.  I think he means that when you see a PV Link that LVM isn't using the PV Link at all unless the main path fails.  You can still do the pseudo-load balancing that we all do by alternating the paths.  &lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Thu, 30 Jan 2003 21:14:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/alternate-pathing/m-p/2893399#M633559</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2003-01-30T21:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate pathing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/alternate-pathing/m-p/2893400#M633560</link>
      <description>Hi Sri and John:&lt;BR /&gt;&lt;BR /&gt;Sri, no, John Poff interpreted what I was trying to say correctly!  I was going to discuss the 'autoswitch' feature too, but got called away so I left the post as you see it.&lt;BR /&gt;&lt;BR /&gt;Thank you both for clarifying this.  Sorry I created confusion, but perhaps in doing so the important points will be driven home.&lt;BR /&gt;&lt;BR /&gt;With my warmest regards to you both...&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 30 Jan 2003 21:32:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/alternate-pathing/m-p/2893400#M633560</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2003-01-30T21:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate pathing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/alternate-pathing/m-p/2893401#M633561</link>
      <description>All,&lt;BR /&gt;Regarding use of Alternate Paths, I'm not sure it was made clear the dependency on the RAID system you are using. In one case we attach through a SAN to an LSI.  LSI controllers will experience some level of delay in switching a LUN from Ctrlr A to Ctrlr B.  So, if primary is on A, secondary on B, you will experience delays as the LUN switches between A and B.  This is unlike the HP XP controller that does allow LUNs to be equally accessed from both ctrlr paths.</description>
      <pubDate>Sun, 02 Feb 2003 14:23:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/alternate-pathing/m-p/2893401#M633561</guid>
      <dc:creator>Murray Yutzy</dc:creator>
      <dc:date>2003-02-02T14:23:34Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate pathing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/alternate-pathing/m-p/2893402#M633562</link>
      <description>Hi Murray,&lt;BR /&gt;&lt;BR /&gt;Good point. However with LVM's alternate pathing, you can only access one LUN through one PATH. So, the delay of LUN switching is not applicable.&lt;BR /&gt;&lt;BR /&gt;However, this may affect depending on how the backend is setup. On XPs and EMCs etc., the storage administrators (if not you) might have already configured the LUNs to loadbalance on their side. So there is a chance that the loadbalance on the system side may counterfeit their setup. So, it is important that we  their suggestions before we do anything on our side.&lt;BR /&gt;&lt;BR /&gt;For a good setup,  analysis alone is not sufficient. Good testing is paramount. I would not implement anything on production unless it is well-tested and proven on my staging environment.&lt;BR /&gt;&lt;BR /&gt;-Sri</description>
      <pubDate>Sun, 02 Feb 2003 20:22:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/alternate-pathing/m-p/2893402#M633562</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2003-02-02T20:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: Alternate pathing</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/alternate-pathing/m-p/2893403#M633563</link>
      <description>Just to add something about EMC gear. If you have the EMC "powerpath" product installed, you don't need to do anything, PVLINKS, alternate pathing etc. It has it's own way of dealing with both, providing the secondary link has been set up correctly in the first place.&lt;BR /&gt;&lt;BR /&gt;FWIW&lt;BR /&gt;Michael</description>
      <pubDate>Sun, 02 Feb 2003 22:09:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/alternate-pathing/m-p/2893403#M633563</guid>
      <dc:creator>Michael Tully</dc:creator>
      <dc:date>2003-02-02T22:09:08Z</dc:date>
    </item>
  </channel>
</rss>

