<?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: LVM lun migration to other server in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-lun-migration-to-other-server/m-p/5355377#M535486</link>
    <description>&lt;P&gt;1. Create a map-file of the VG for import&lt;/P&gt;&lt;PRE&gt;vgexport -p -s -v -m /tmp/vgname.map vgname&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;2. Umount and export the VG from the host it is no longer needed&lt;/P&gt;&lt;PRE&gt;umount /vgmount&lt;BR /&gt;vgchange -a n vgname&lt;BR /&gt;vgexport vgname&lt;/PRE&gt;&lt;P&gt;3. ioscan for presented LUNs on the new host. Check if all disks and paths are available&lt;/P&gt;&lt;PRE&gt;ioscan -fnC disk&lt;/PRE&gt;&lt;P&gt;4. Install device files for the new disks&lt;/P&gt;&lt;PRE&gt;insf -C disk&lt;/PRE&gt;&lt;P&gt;5. Find out minor numbers in use on the new host&lt;/P&gt;&lt;PRE&gt;ll /dev/*/group&lt;/PRE&gt;&lt;P&gt;6. Create directory and group file for the VG on the new host&lt;/P&gt;&lt;PRE&gt;mkdir /dev/vgname﻿&lt;BR /&gt;mknod /dev/vgname/group c 64 0x&lt;STRONG&gt;nn&lt;/STRONG&gt;0000&lt;/PRE&gt;&lt;P&gt;﻿where nn is a number not yet used by any other VG on that system (e.g. 05; see 5.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;7. Copy the .map file made in step 1 from the old host to the new.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;8. Import the VG&lt;/P&gt;&lt;PRE&gt;vgimport -v -s -m /tmp/vgname.map vgname&lt;/PRE&gt;&lt;P&gt;9. Check&lt;/P&gt;&lt;PRE&gt;strings /etc/lvmtab&lt;/PRE&gt;&lt;P&gt;10. Backup configuration&lt;/P&gt;&lt;PRE&gt;vgchange -a y vgname
vgcfgbackup vgname&lt;/PRE&gt;&lt;P&gt;11. Create mount point&lt;/P&gt;&lt;PRE&gt;mkdir /vgmount&lt;/PRE&gt;&lt;P&gt;12. Edit /etc/fstab (copy from the old host if possible)&lt;/P&gt;&lt;P&gt;13. Mount.&lt;/P&gt;&lt;P&gt;14. Check if mounted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If something goes wrong, as long as you have the .map file and the LUNs are still presented, you should always be able import the VG back on the original host.&lt;/P&gt;&lt;P&gt;You may also want to clean up the device files with rmsf on the old host, if the LUNs will be un-presented from it, so the ioscan doesn't show a bunch of NO_HW disk devices.&lt;/P&gt;</description>
    <pubDate>Mon, 10 Oct 2011 11:14:50 GMT</pubDate>
    <dc:creator>Modris Bremze</dc:creator>
    <dc:date>2011-10-10T11:14:50Z</dc:date>
    <item>
      <title>LVM lun migration to other server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-lun-migration-to-other-server/m-p/5354329#M535485</link>
      <description>&lt;P&gt;Hi Friends&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two rp4440 server which is running HP-UX v1.&amp;nbsp; For one server several lunsLUNs has been presented from SAN. All LUNs are setup using LVM and use LVM PV links feature for failover.&lt;BR /&gt;I have requirement to present all this luns to other server and create mount point without losing data.&lt;BR /&gt;Could you please guide me what is the step need to follow in server end?&lt;BR /&gt;&lt;BR /&gt;Best Regards&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Dhananjaya﻿&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2011 08:41:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-lun-migration-to-other-server/m-p/5354329#M535485</guid>
      <dc:creator>Dhananjaya Amarakoon</dc:creator>
      <dc:date>2011-10-06T08:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: LVM lun migration to other server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-lun-migration-to-other-server/m-p/5355377#M535486</link>
      <description>&lt;P&gt;1. Create a map-file of the VG for import&lt;/P&gt;&lt;PRE&gt;vgexport -p -s -v -m /tmp/vgname.map vgname&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;2. Umount and export the VG from the host it is no longer needed&lt;/P&gt;&lt;PRE&gt;umount /vgmount&lt;BR /&gt;vgchange -a n vgname&lt;BR /&gt;vgexport vgname&lt;/PRE&gt;&lt;P&gt;3. ioscan for presented LUNs on the new host. Check if all disks and paths are available&lt;/P&gt;&lt;PRE&gt;ioscan -fnC disk&lt;/PRE&gt;&lt;P&gt;4. Install device files for the new disks&lt;/P&gt;&lt;PRE&gt;insf -C disk&lt;/PRE&gt;&lt;P&gt;5. Find out minor numbers in use on the new host&lt;/P&gt;&lt;PRE&gt;ll /dev/*/group&lt;/PRE&gt;&lt;P&gt;6. Create directory and group file for the VG on the new host&lt;/P&gt;&lt;PRE&gt;mkdir /dev/vgname﻿&lt;BR /&gt;mknod /dev/vgname/group c 64 0x&lt;STRONG&gt;nn&lt;/STRONG&gt;0000&lt;/PRE&gt;&lt;P&gt;﻿where nn is a number not yet used by any other VG on that system (e.g. 05; see 5.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;7. Copy the .map file made in step 1 from the old host to the new.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;8. Import the VG&lt;/P&gt;&lt;PRE&gt;vgimport -v -s -m /tmp/vgname.map vgname&lt;/PRE&gt;&lt;P&gt;9. Check&lt;/P&gt;&lt;PRE&gt;strings /etc/lvmtab&lt;/PRE&gt;&lt;P&gt;10. Backup configuration&lt;/P&gt;&lt;PRE&gt;vgchange -a y vgname
vgcfgbackup vgname&lt;/PRE&gt;&lt;P&gt;11. Create mount point&lt;/P&gt;&lt;PRE&gt;mkdir /vgmount&lt;/PRE&gt;&lt;P&gt;12. Edit /etc/fstab (copy from the old host if possible)&lt;/P&gt;&lt;P&gt;13. Mount.&lt;/P&gt;&lt;P&gt;14. Check if mounted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If something goes wrong, as long as you have the .map file and the LUNs are still presented, you should always be able import the VG back on the original host.&lt;/P&gt;&lt;P&gt;You may also want to clean up the device files with rmsf on the old host, if the LUNs will be un-presented from it, so the ioscan doesn't show a bunch of NO_HW disk devices.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2011 11:14:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-lun-migration-to-other-server/m-p/5355377#M535486</guid>
      <dc:creator>Modris Bremze</dc:creator>
      <dc:date>2011-10-10T11:14:50Z</dc:date>
    </item>
    <item>
      <title>Re: LVM lun migration to other server</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/lvm-lun-migration-to-other-server/m-p/5355391#M535487</link>
      <description>Thanks Modris...&lt;BR /&gt;Will updates ones operation has done.</description>
      <pubDate>Fri, 07 Oct 2011 06:41:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/lvm-lun-migration-to-other-server/m-p/5355391#M535487</guid>
      <dc:creator>Dhananjaya Amarakoon</dc:creator>
      <dc:date>2011-10-07T06:41:18Z</dc:date>
    </item>
  </channel>
</rss>

