<?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 Disk mirroring - removing the original PV? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-mirroring-removing-the-original-pv/m-p/3595035#M828601</link>
    <description>Good evening,&lt;BR /&gt;&lt;BR /&gt;I should know this, but I need to ask to be sure.&lt;BR /&gt;&lt;BR /&gt;OK, here's the scenario:&lt;BR /&gt;&lt;BR /&gt;Volume group 'VG_A' is made up of a number of external EMC san PV's ('SAN A'). The logical volumes are then mirrored to another set of external EMC san PV's ('SAN B'). &lt;BR /&gt;&lt;BR /&gt;The server on which VG_A is defined is then moved to another site, and is physically connected to SAN B. We no longer require the mirroring of the logical volumes within VG_A, but specifically want to retain the mirror PV's within 'SAN B' and remove the 'SAN A' PV's from VG_A.&lt;BR /&gt;&lt;BR /&gt;In essence I want to remove the original PV's (SAN A) from VG A and keep the mirror PV's within VG A (SAN B).&lt;BR /&gt;&lt;BR /&gt;Is this possible?&lt;BR /&gt;&lt;BR /&gt;The reason for this is that, for an application specific reason, we could not use EMC SRDF to allow data copy &amp;amp; migration - so HP-UX OS mirroring was used.&lt;BR /&gt;&lt;BR /&gt;Many Thanks,&lt;BR /&gt;&lt;BR /&gt;Andrew Austin.</description>
    <pubDate>Tue, 02 Aug 2005 16:16:19 GMT</pubDate>
    <dc:creator>David Griffiths</dc:creator>
    <dc:date>2005-08-02T16:16:19Z</dc:date>
    <item>
      <title>Disk mirroring - removing the original PV?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-mirroring-removing-the-original-pv/m-p/3595035#M828601</link>
      <description>Good evening,&lt;BR /&gt;&lt;BR /&gt;I should know this, but I need to ask to be sure.&lt;BR /&gt;&lt;BR /&gt;OK, here's the scenario:&lt;BR /&gt;&lt;BR /&gt;Volume group 'VG_A' is made up of a number of external EMC san PV's ('SAN A'). The logical volumes are then mirrored to another set of external EMC san PV's ('SAN B'). &lt;BR /&gt;&lt;BR /&gt;The server on which VG_A is defined is then moved to another site, and is physically connected to SAN B. We no longer require the mirroring of the logical volumes within VG_A, but specifically want to retain the mirror PV's within 'SAN B' and remove the 'SAN A' PV's from VG_A.&lt;BR /&gt;&lt;BR /&gt;In essence I want to remove the original PV's (SAN A) from VG A and keep the mirror PV's within VG A (SAN B).&lt;BR /&gt;&lt;BR /&gt;Is this possible?&lt;BR /&gt;&lt;BR /&gt;The reason for this is that, for an application specific reason, we could not use EMC SRDF to allow data copy &amp;amp; migration - so HP-UX OS mirroring was used.&lt;BR /&gt;&lt;BR /&gt;Many Thanks,&lt;BR /&gt;&lt;BR /&gt;Andrew Austin.</description>
      <pubDate>Tue, 02 Aug 2005 16:16:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-mirroring-removing-the-original-pv/m-p/3595035#M828601</guid>
      <dc:creator>David Griffiths</dc:creator>
      <dc:date>2005-08-02T16:16:19Z</dc:date>
    </item>
    <item>
      <title>Re: Disk mirroring - removing the original PV?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-mirroring-removing-the-original-pv/m-p/3595036#M828602</link>
      <description>Just 'lvreduce' the mirrors and specify the /dev/dsk/c?t?d? path to the PV's on SAN A.&lt;BR /&gt;</description>
      <pubDate>Tue, 02 Aug 2005 16:34:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-mirroring-removing-the-original-pv/m-p/3595036#M828602</guid>
      <dc:creator>Patrick Wallek</dc:creator>
      <dc:date>2005-08-02T16:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Disk mirroring - removing the original PV?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-mirroring-removing-the-original-pv/m-p/3595037#M828603</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I had a very similar cenario one month ago.&lt;BR /&gt;&lt;BR /&gt;If I understood you are physically moving the server where the VG_A is and connecting the HBAs to another physical SAN Switch and you just want to keep the "side" of the mirror that is in SAN_B.&lt;BR /&gt;&lt;BR /&gt;For this you have 3 main steps:&lt;BR /&gt;&lt;BR /&gt;1-Before moving the server, reduce the mirror you have on SAN_A. You can do this using lvreduce on all lvols:&lt;BR /&gt;&lt;BR /&gt;lvreduce -m 0 /dev/VG_A/lvols [followed by the complete list of the PVs on SAN_A]&lt;BR /&gt;&lt;BR /&gt;2-Also before moving the server, you must remove the PVs of SAN_A from VG_A, using vgreduce:&lt;BR /&gt;&lt;BR /&gt;vgreduce VG_A [all the PVs of SAN_A, including alternate links if you have them]&lt;BR /&gt;&lt;BR /&gt;At this point on /etc/lvmtab you have VG_A defined only with PVs from SAN_B, without mirror.&lt;BR /&gt;&lt;BR /&gt;Now you must ask EMC if the disks that the server will "see" on the new physicall location will have the same IDs, I mean the same /dev/dsk/c#t#d# they have on present location. If this is true you just have to connect the server on the new physicall location and turn it on!&lt;BR /&gt;&lt;BR /&gt;BUT, IF THIS NOT TRUE, you must vgexport VG_A to a mapfile (-s -m) before moving the server and then vgimport VG_A when the server is connected to the SAN on the new location, check man pages for information on vgexport/vgimport, I don't have acess to a hp-ux server at this moment to give you the correct syntax.&lt;BR /&gt;&lt;BR /&gt;Enjoy :)&lt;BR /&gt;</description>
      <pubDate>Tue, 02 Aug 2005 17:12:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-mirroring-removing-the-original-pv/m-p/3595037#M828603</guid>
      <dc:creator>Pedro Cirne</dc:creator>
      <dc:date>2005-08-02T17:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: Disk mirroring - removing the original PV?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-mirroring-removing-the-original-pv/m-p/3595038#M828604</link>
      <description>So I take it you are doing LVM mirroring instead of BCVs right?</description>
      <pubDate>Tue, 02 Aug 2005 18:03:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-mirroring-removing-the-original-pv/m-p/3595038#M828604</guid>
      <dc:creator>generic_1</dc:creator>
      <dc:date>2005-08-02T18:03:26Z</dc:date>
    </item>
    <item>
      <title>Re: Disk mirroring - removing the original PV?</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disk-mirroring-removing-the-original-pv/m-p/3595039#M828605</link>
      <description>Thanks to both of you for the reply.&lt;BR /&gt;&lt;BR /&gt;Pedro,&lt;BR /&gt;&lt;BR /&gt;To be honest, I pretty much had the whole thing down, the only part I was unsure about was being able to specify the original PV's within VG_A.&lt;BR /&gt;&lt;BR /&gt;We have been moving a lot of kit and re-attaching to 'SAN B' recently, and as we were never sure if the /dev/dsk/****** devices would change, we have routinely exported &amp;amp; imported each of the affected VG's on each server as a 'catch all'. We will probably do the same on this one.&lt;BR /&gt;&lt;BR /&gt;Finally, for your information, the only kit we have left to move are IBM pSeries servers running AIX 5.2 / 5.2. The procedure is far more straight forward in attaching to a different SAN.&lt;BR /&gt;&lt;BR /&gt;Thanks again, points will be assigned.&lt;BR /&gt;&lt;BR /&gt;Andrew Austin.</description>
      <pubDate>Wed, 03 Aug 2005 01:56:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disk-mirroring-removing-the-original-pv/m-p/3595039#M828605</guid>
      <dc:creator>David Griffiths</dc:creator>
      <dc:date>2005-08-03T01:56:17Z</dc:date>
    </item>
  </channel>
</rss>

