<?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: Changing Alterante Paths. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-alterante-paths/m-p/3691939#M247362</link>
    <description>You can do that with pvchange also.&lt;BR /&gt;pvchange -s</description>
    <pubDate>Thu, 15 Dec 2005 04:55:47 GMT</pubDate>
    <dc:creator>RAC_1</dc:creator>
    <dc:date>2005-12-15T04:55:47Z</dc:date>
    <item>
      <title>Changing Alterante Paths.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-alterante-paths/m-p/3691936#M247359</link>
      <description>Hi,&lt;BR /&gt;I have the following PV configuration.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;pvdisplay -v /dev/dsk/c4t4d1 | pg&lt;BR /&gt;Device file path "/dev/dsk/c4t4d1" is an alternate path&lt;BR /&gt;to the Physical Volume. Using Primary Link "/dev/dsk/c6t4d1".&lt;BR /&gt;--- Physical volumes ---&lt;BR /&gt;PV Name                     /dev/dsk/c6t4d1&lt;BR /&gt;PV Name                     /dev/dsk/c4t4d1     Alternate Link&lt;BR /&gt;PV Name                     /dev/dsk/c15t4d1    Alternate Link&lt;BR /&gt;PV Name                     /dev/dsk/c16t4d1    Alternate Link&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The correct one should be &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;   PV Name        33    B      /dev/dsk/c4t4d1&lt;BR /&gt;   PV Name                     /dev/dsk/c15t4d1 Alternate Link&lt;BR /&gt;   &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Can anybody help me out how to change this&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Dec 2005 04:31:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-alterante-paths/m-p/3691936#M247359</guid>
      <dc:creator>Amit Manna_6</dc:creator>
      <dc:date>2005-12-15T04:31:18Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Alterante Paths.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-alterante-paths/m-p/3691937#M247360</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you need to:&lt;BR /&gt;vgreduce /dev/your_vg_name /dev/dsk/c6t4d1&lt;BR /&gt;vgextend /dev/your_vg_name /dev/dsk/c6t4d1&lt;BR /&gt;&lt;BR /&gt;then you will have such order:&lt;BR /&gt;/dev/dsk/c4t4d1&lt;BR /&gt;/dev/dsk/c15t4d1 &lt;BR /&gt;/dev/dsk/c16t4d1&lt;BR /&gt;/dev/dsk/c6t4d1</description>
      <pubDate>Thu, 15 Dec 2005 04:43:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-alterante-paths/m-p/3691937#M247360</guid>
      <dc:creator>Slawomir Gora</dc:creator>
      <dc:date>2005-12-15T04:43:44Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Alterante Paths.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-alterante-paths/m-p/3691938#M247361</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The best way to do this is to set it while creating VG.&lt;BR /&gt;&lt;BR /&gt;If you remove the VG from the three alternate links than obviously the forth one will remina as primary. At this stage you can extend it back to the same PVs.&lt;BR /&gt;&lt;BR /&gt;#vgreduce /dev/vgname /dev/dsk/c6t4d1&lt;BR /&gt;&lt;BR /&gt;#vgreduce /dev/vgname /dev/dsk/c15t4d1&lt;BR /&gt;&lt;BR /&gt;#vgreduce /dev/vgname /dev/dsk/c16t4d1&lt;BR /&gt;&lt;BR /&gt;If after first command itself it does prompt for the correct device to be primary then you need not to reduce it from other two. Can simply reextend it to the same disk.&lt;BR /&gt;&lt;BR /&gt;#vgextend /dev/vgname /dev/dsk/c6t4d1&lt;BR /&gt;&lt;BR /&gt;Repeat for others if required.&lt;BR /&gt;&lt;BR /&gt;Good Luck.&lt;BR /&gt;Devender</description>
      <pubDate>Thu, 15 Dec 2005 04:46:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-alterante-paths/m-p/3691938#M247361</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-12-15T04:46:49Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Alterante Paths.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-alterante-paths/m-p/3691939#M247362</link>
      <description>You can do that with pvchange also.&lt;BR /&gt;pvchange -s</description>
      <pubDate>Thu, 15 Dec 2005 04:55:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-alterante-paths/m-p/3691939#M247362</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2005-12-15T04:55:47Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Alterante Paths.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-alterante-paths/m-p/3691940#M247363</link>
      <description>Yes  I agree. The simplest way of activating it will be&lt;BR /&gt;&lt;BR /&gt;#pvchange -s /dev/dsk/c4t4d1&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Thu, 15 Dec 2005 04:59:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-alterante-paths/m-p/3691940#M247363</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-12-15T04:59:11Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Alterante Paths.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-alterante-paths/m-p/3691941#M247364</link>
      <description>see pvchange man page on EXAMPLEs part. It is having an example to suit your requirement. Answer is using pvchange -s will change controller path.&lt;BR /&gt;&lt;BR /&gt;-Muthu</description>
      <pubDate>Thu, 15 Dec 2005 05:41:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-alterante-paths/m-p/3691941#M247364</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2005-12-15T05:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Alterante Paths.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-alterante-paths/m-p/3691942#M247365</link>
      <description>&lt;A href="http://docs.hp.com/en/B2355-60105/pvchange.1M.html" target="_blank"&gt;http://docs.hp.com/en/B2355-60105/pvchange.1M.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Dec 2005 05:44:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-alterante-paths/m-p/3691942#M247365</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-12-15T05:44:23Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Alterante Paths.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-alterante-paths/m-p/3691943#M247366</link>
      <description>If we use pvchange that will not sustain after reboot. Any alternatives please&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Dec 2005 08:04:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-alterante-paths/m-p/3691943#M247366</guid>
      <dc:creator>Amit Manna_6</dc:creator>
      <dc:date>2005-12-15T08:04:24Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Alterante Paths.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-alterante-paths/m-p/3691944#M247367</link>
      <description>Hi Armit:&lt;BR /&gt;&lt;BR /&gt;You are correct, using 'pvchange' will not retain you new pvlink order following a reboot.&lt;BR /&gt;&lt;BR /&gt;The "correct" way is to 'vgreduce' and 'vgextend' so that you achieve the order of alternate paths you want.&lt;BR /&gt;&lt;BR /&gt;You probably also want to make sure that allow a switch back to the assigned primary path in the event of a failure of the primary:&lt;BR /&gt;&lt;BR /&gt;# pvchange -S y /dev/dsk/cXtYdZ&lt;BR /&gt;&lt;BR /&gt;See the man pages for 'pvchange' for more information.&lt;BR /&gt;  &lt;BR /&gt;Regards!&lt;BR /&gt;&lt;BR /&gt;...JRF...</description>
      <pubDate>Thu, 15 Dec 2005 08:15:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-alterante-paths/m-p/3691944#M247367</guid>
      <dc:creator>James R. Ferguson</dc:creator>
      <dc:date>2005-12-15T08:15:20Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Alterante Paths.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-alterante-paths/m-p/3691945#M247368</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;To change it permanently (across VG deacivation/reactivation) you have to change the order in /etc/lvmtab by using vgreduce and vgextend commands - look at my previous reply.&lt;BR /&gt;</description>
      <pubDate>Thu, 15 Dec 2005 08:16:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-alterante-paths/m-p/3691945#M247368</guid>
      <dc:creator>Slawomir Gora</dc:creator>
      <dc:date>2005-12-15T08:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: Changing Alterante Paths.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-alterante-paths/m-p/3691946#M247369</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;The alternative has allready been provided.&lt;BR /&gt;Try this and should exist even after reboot.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;Devender</description>
      <pubDate>Thu, 15 Dec 2005 08:23:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-alterante-paths/m-p/3691946#M247369</guid>
      <dc:creator>Devender Khatana</dc:creator>
      <dc:date>2005-12-15T08:23:40Z</dc:date>
    </item>
  </channel>
</rss>

