<?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: SAN Migration LVM Mirroring... in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/san-migration-lvm-mirroring/m-p/5005486#M425356</link>
    <description>Jody,&lt;BR /&gt;&lt;BR /&gt;Since you are running an EMC Array, have you consioder using SRDF to replicate the data to the second Symm. &lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Sathish</description>
    <pubDate>Wed, 27 Sep 2006 05:14:40 GMT</pubDate>
    <dc:creator>sathish kannan</dc:creator>
    <dc:date>2006-09-27T05:14:40Z</dc:date>
    <item>
      <title>SAN Migration LVM Mirroring...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/san-migration-lvm-mirroring/m-p/5005480#M425350</link>
      <description>Ok,&lt;BR /&gt;&lt;BR /&gt;I have a host that has two HBA cards...one, connected to the old storage area network and on connected to the new.  &lt;BR /&gt;&lt;BR /&gt;I want to create a mirror that is strict, between the two to move the data over.&lt;BR /&gt;&lt;BR /&gt;Upon completion of the mirror, I want the users to actually be using the new SAN data vice using the old SAN data although, the old will stil lbe attached.&lt;BR /&gt;&lt;BR /&gt;I have attached a copy on my ioscan to help.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Sep 2006 09:14:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/san-migration-lvm-mirroring/m-p/5005480#M425350</guid>
      <dc:creator>jmckinzie</dc:creator>
      <dc:date>2006-09-26T09:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: SAN Migration LVM Mirroring...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/san-migration-lvm-mirroring/m-p/5005481#M425351</link>
      <description>You need to have these things in place if you want to mirror SAN data&lt;BR /&gt;&lt;BR /&gt;1. Same LUN size preferred - old and new&lt;BR /&gt;2. Good Bandwidth between two SANs&lt;BR /&gt;&lt;BR /&gt;   Don't know why you want to do mirror. If your logical volumes on SAN data is huge then it is not advisable since it will take many hours to complete and you can't run in parallel mirroring for multiple logical volumes.&lt;BR /&gt;&lt;BR /&gt;   If you still prefer then do same as vg00 mirroring. But you won't be able to mirror raw logical volumes.</description>
      <pubDate>Tue, 26 Sep 2006 09:20:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/san-migration-lvm-mirroring/m-p/5005481#M425351</guid>
      <dc:creator>IT_2007</dc:creator>
      <dc:date>2006-09-26T09:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: SAN Migration LVM Mirroring...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/san-migration-lvm-mirroring/m-p/5005482#M425352</link>
      <description>We have the SAme LUN size and we cann copy 100GB per hour accross the path so, we look good there.&lt;BR /&gt;&lt;BR /&gt;I am unsure where to start...&lt;BR /&gt;I need to create the strict mirror but, don't I have to create the pv and vg first?&lt;BR /&gt;&lt;BR /&gt;Please help...</description>
      <pubDate>Tue, 26 Sep 2006 09:30:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/san-migration-lvm-mirroring/m-p/5005482#M425352</guid>
      <dc:creator>jmckinzie</dc:creator>
      <dc:date>2006-09-26T09:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: SAN Migration LVM Mirroring...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/san-migration-lvm-mirroring/m-p/5005483#M425353</link>
      <description>certainly. ioscan, insf, pvcreate, vgextend, lvextend -m 1 lvol&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 26 Sep 2006 09:53:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/san-migration-lvm-mirroring/m-p/5005483#M425353</guid>
      <dc:creator>Kevin Wright</dc:creator>
      <dc:date>2006-09-26T09:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: SAN Migration LVM Mirroring...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/san-migration-lvm-mirroring/m-p/5005484#M425354</link>
      <description>You may find the following thread helpful :&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=51818" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=51818&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Kindest regards,&lt;BR /&gt;Rita</description>
      <pubDate>Tue, 26 Sep 2006 10:00:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/san-migration-lvm-mirroring/m-p/5005484#M425354</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2006-09-26T10:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: SAN Migration LVM Mirroring...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/san-migration-lvm-mirroring/m-p/5005485#M425355</link>
      <description>yes you need to do the following things.&lt;BR /&gt;&lt;BR /&gt;1. ioscan -fn;insf -e&lt;BR /&gt;2. Identify new LUN's with device name.&lt;BR /&gt;3. pvcreate /dev/rdsk/cXXtYYdZZ&lt;BR /&gt;4. vgextend /dev/vgAA &lt;NEW pv="" paths=""&gt;&lt;BR /&gt;5. lvextend -m 1 /dev/vgAA/lvol1 &lt;NEW pv="" path=""&gt;&lt;BR /&gt;&lt;BR /&gt;You have to run only one lvextend command per logical volume and need to wait till it gets completed.&lt;/NEW&gt;&lt;/NEW&gt;</description>
      <pubDate>Tue, 26 Sep 2006 12:05:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/san-migration-lvm-mirroring/m-p/5005485#M425355</guid>
      <dc:creator>IT_2007</dc:creator>
      <dc:date>2006-09-26T12:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: SAN Migration LVM Mirroring...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/san-migration-lvm-mirroring/m-p/5005486#M425356</link>
      <description>Jody,&lt;BR /&gt;&lt;BR /&gt;Since you are running an EMC Array, have you consioder using SRDF to replicate the data to the second Symm. &lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Sathish</description>
      <pubDate>Wed, 27 Sep 2006 05:14:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/san-migration-lvm-mirroring/m-p/5005486#M425356</guid>
      <dc:creator>sathish kannan</dc:creator>
      <dc:date>2006-09-27T05:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: SAN Migration LVM Mirroring...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/san-migration-lvm-mirroring/m-p/5005487#M425357</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Here are few different suggestions you can follow&lt;BR /&gt;&lt;BR /&gt;Create a file /etc/lvmpvg if it does not already exist, else use the existing file and add entries for the VGs you want to mirror the LVs of using strict allocation policy for PVs. do a man lvmpvg to see the format of the file or sample is provided below&lt;BR /&gt;&lt;BR /&gt;VG      /dev/vg00&lt;BR /&gt;PVG     VG00P&lt;BR /&gt;/dev/dsk/c100t8d0&lt;BR /&gt;/dev/dsk/c100t9d0&lt;BR /&gt;PVG     VG00M&lt;BR /&gt;/dev/dsk/c101t8d0&lt;BR /&gt;/dev/dsk/c101t9d0&lt;BR /&gt;&lt;BR /&gt;Now similar to above file add entry for say vg01 you may be having with 2 disks currently in the existing SAN.&lt;BR /&gt;&lt;BR /&gt;VG      /dev/vg01&lt;BR /&gt;PVG     VG01P&lt;BR /&gt;/dev/dsk/c100t8d0&lt;BR /&gt;/dev/dsk/c100t9d0&lt;BR /&gt;&lt;BR /&gt;Now after making the disks in new SAN visible to this server and doing ioscan and insf -e as people have mentioned, do a vgextend -g VG01M /dev/vg01 /dev/... ... &lt;BR /&gt;&lt;BR /&gt;Thus adding the disks to vg01 and creating a PVG called VG01M (for mirror), thus all the disks will be added under this PVG group.&lt;BR /&gt;Now do a lvextend -m 1 /dev/vg01/lvol1 VG01M&lt;BR /&gt;this will create mirror of the lvol1 into disks in PVG VG01M thus on the new SAN.&lt;BR /&gt;&lt;BR /&gt;Later you can reduce the mirror&lt;BR /&gt;lvreduce -m 0 olddisk1 olddisk2 &lt;BR /&gt;give the disk names from old SAN.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ninad</description>
      <pubDate>Wed, 27 Sep 2006 06:14:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/san-migration-lvm-mirroring/m-p/5005487#M425357</guid>
      <dc:creator>Ninad_1</dc:creator>
      <dc:date>2006-09-27T06:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: SAN Migration LVM Mirroring...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/san-migration-lvm-mirroring/m-p/5005488#M425358</link>
      <description>&lt;!--!*#--&gt;If I have list of old disks in /tmp/old_disks in "disk VG" format. And new SAN disks in /tmp/list/new_disks in "disk" format, I would ..&lt;BR /&gt;&lt;BR /&gt;count=1&lt;BR /&gt;for old_disk in `cat /tmp/old_disks|cut -f1 -d " "`&lt;BR /&gt;do&lt;BR /&gt; new_disk=`head -${count} /tmp/new_disks|tail -1`&lt;BR /&gt; vg_name=`grep -w ${old_disk} /tmp/old_disks|cut -f2 -d " "`&lt;BR /&gt; vgextend ${vg_name} ${newdisk}&lt;BR /&gt; pvmove ${old_disk} ${new_disk}&lt;BR /&gt; [ $? -eq 0 ] &amp;amp;&amp;amp; vgreduce ${vg_name} ${old_disk}&lt;BR /&gt; count=`echo "${count} + 1"|bc `&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;Note: Not a tested version .. syntax errors may be there.. Logic looks correct.</description>
      <pubDate>Wed, 27 Sep 2006 08:38:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/san-migration-lvm-mirroring/m-p/5005488#M425358</guid>
      <dc:creator>KapilRaj</dc:creator>
      <dc:date>2006-09-27T08:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: SAN Migration LVM Mirroring...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/san-migration-lvm-mirroring/m-p/5005489#M425359</link>
      <description>Did the exact same thing to migrate from on array to another.&lt;BR /&gt;&lt;BR /&gt;add the new storage, configure vgs, mirror the lvols, reduce the old, move/rezone the old path to the new.&lt;BR /&gt;&lt;BR /&gt;Works great, fast, error free.&lt;BR /&gt;&lt;BR /&gt;Depending on the number of lvols I wrote scripts to speed up and reduce error.&lt;BR /&gt;&lt;BR /&gt;Best of luck.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 27 Sep 2006 08:52:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/san-migration-lvm-mirroring/m-p/5005489#M425359</guid>
      <dc:creator>Tim Nelson</dc:creator>
      <dc:date>2006-09-27T08:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: SAN Migration LVM Mirroring...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/san-migration-lvm-mirroring/m-p/5005490#M425360</link>
      <description>Hi Jody,&lt;BR /&gt;Look like you have a lot of replies to your question. You can use a "for in I loop" to creste the mirrord.&lt;BR /&gt;&lt;BR /&gt;#for lvol in lvol1 lvol2 ...lvol8 (soecify any LV syou need mirrot)&lt;BR /&gt;&amp;gt; do&lt;BR /&gt;&amp;gt;lvextend -m 1 /dev/vg00/$lvol /dev/dsk/c#t#d#&lt;BR /&gt;&amp;gt;done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;sp,</description>
      <pubDate>Wed, 27 Sep 2006 12:38:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/san-migration-lvm-mirroring/m-p/5005490#M425360</guid>
      <dc:creator>Sp4admin</dc:creator>
      <dc:date>2006-09-27T12:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: SAN Migration LVM Mirroring...</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/san-migration-lvm-mirroring/m-p/5005491#M425361</link>
      <description>I used a variety of methods here to figure out the solution.</description>
      <pubDate>Mon, 19 Mar 2007 10:54:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/san-migration-lvm-mirroring/m-p/5005491#M425361</guid>
      <dc:creator>jmckinzie</dc:creator>
      <dc:date>2007-03-19T10:54:50Z</dc:date>
    </item>
  </channel>
</rss>

