<?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: Move vPar to new H/W path in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/move-vpar-to-new-h-w-path/m-p/2882616#M848899</link>
    <description>I haven't done this with vpar software, but I have moved root volumes between servers. You need to do vgexport/vgimport operations from LVM maintenance mode in order to get it to work. &lt;BR /&gt;&lt;BR /&gt;Note: this worked for me, you may need to tweak it to get it to work in your situation.&lt;BR /&gt;&lt;BR /&gt;on "System A" do the following:&lt;BR /&gt;&lt;BR /&gt;1. Create a mapfile of the vg00 filesystems:&lt;BR /&gt;&lt;BR /&gt;# vgexport -p -v -m /mapfile /dev/vg00&lt;BR /&gt;&lt;BR /&gt;This will create a plain text file, called /mapfile, that will look like the &lt;BR /&gt;following:&lt;BR /&gt;1 lvol1&lt;BR /&gt;2 lvol2&lt;BR /&gt;3 lvol3&lt;BR /&gt;4 lvol4&lt;BR /&gt;5 lvol5&lt;BR /&gt;6 lvol6&lt;BR /&gt;7 lvol7&lt;BR /&gt;8 lvol8&lt;BR /&gt;9 lvol9&lt;BR /&gt;&lt;BR /&gt;2. FTP the mapfile to some other system to have available when the disk is moved&lt;BR /&gt;3. Shut the system down and boot it in LVM maintenance mode:&lt;BR /&gt;&lt;BR /&gt;# shutdown -h -y now&lt;BR /&gt;boot_admin&amp;gt; boot pri isl&lt;BR /&gt;ISL&amp;gt; hpux -lm&lt;BR /&gt;&lt;BR /&gt;4. Once in LVM maintenance mode, do the following:&lt;BR /&gt;&lt;BR /&gt;# vgexport -v /dev/vg00&lt;BR /&gt;&lt;BR /&gt;5. Shut down "System A"&lt;BR /&gt;&lt;BR /&gt;From "System B", do the following:&lt;BR /&gt;&lt;BR /&gt;6. Move disks to new server (physically or by zoning)&lt;BR /&gt;&lt;BR /&gt;7. From the ISL prompt, enter the following:&lt;BR /&gt;&lt;BR /&gt;# hpux -lm&lt;BR /&gt;&lt;BR /&gt;8. Create device files for new disks:&lt;BR /&gt;&lt;BR /&gt;# insf&lt;BR /&gt;&lt;BR /&gt;9. Next, look for the device files associated with the new disk:&lt;BR /&gt;&lt;BR /&gt;# ioscan -fnH &lt;NEW hardware="" path=""&gt;&lt;BR /&gt;&lt;BR /&gt;for example,&lt;BR /&gt;&lt;BR /&gt;# ioscan -fnH 56/52.4&lt;BR /&gt;&lt;BR /&gt;10. Move the old lvmtab file out of the way so you can create a new one:&lt;BR /&gt;&lt;BR /&gt;# mv /etc/lvmtab /etc/lvmtab.old&lt;BR /&gt;# vgscan&lt;BR /&gt;&lt;BR /&gt;11. Import the new physical volume name:&lt;BR /&gt;&lt;BR /&gt;# vgimport -v -m /mapfile &lt;VGNAME&gt; &lt;DEVICE files=""&gt;&lt;BR /&gt;&lt;BR /&gt;for example,&lt;BR /&gt;&lt;BR /&gt;# vgimport -v -m /mapfile /dev/vg00 /dev/dsk/c3t4d0&lt;BR /&gt;&lt;BR /&gt;12. Activate the vg00 volume group:&lt;BR /&gt;&lt;BR /&gt;# vgchange -a y /dev/vg00&lt;BR /&gt;&lt;BR /&gt;13. Prepare logical volumes to become root, swap, dump, etc. at next boot:&lt;BR /&gt;&lt;BR /&gt;# lvlnboot -R&lt;BR /&gt;&lt;BR /&gt;14. Verify that the above command worked:&lt;BR /&gt;&lt;BR /&gt;# lvlnboot -v&lt;BR /&gt;&lt;BR /&gt;15. Clean out the mnttab file:&lt;BR /&gt;&lt;BR /&gt;# rm /etc/mnttab&lt;BR /&gt;# touch /etc/mnttab&lt;BR /&gt;&lt;BR /&gt;This file will be recreated when the system next boots. However, I found that if it is allowed to hang around after booting into LVM &lt;BR /&gt;maintenance mode, you end up with a root volume called /dev/root, which doesn't seem to harm anything, it just looks strange.&lt;BR /&gt;&lt;BR /&gt;16. Reboot and hope for the best.&lt;BR /&gt;&lt;BR /&gt;Hope this works.&lt;/DEVICE&gt;&lt;/VGNAME&gt;&lt;/NEW&gt;</description>
    <pubDate>Mon, 17 Jan 2005 10:04:36 GMT</pubDate>
    <dc:creator>Douglas D. Denney</dc:creator>
    <dc:date>2005-01-17T10:04:36Z</dc:date>
    <item>
      <title>Move vPar to new H/W path</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/move-vpar-to-new-h-w-path/m-p/2882611#M848894</link>
      <description>Hello All,&lt;BR /&gt;&lt;BR /&gt;I am creating vPars on an N-Class machine booting from a  SAN connected XP512. I want to be able to create (with O/S installed) a vPar on one machine using primary boot H/W path of 1/8/0/0.blah and a altboot path of 0/10/0/0.blah. I would then like to be able to point a different machine at the same LDEV's on H/W paths 0/12/0/0(primary) and 1/4/0/0(alt), shutdown the first vPar, and boot up the new one.&lt;BR /&gt;&lt;BR /&gt;The first problem that I have encountered is with LVM. When I attempt to boot on the new machine, the controller numbers are have all changed, ioinit fails and the vPar panics. Has anyone else succesfully done this? What steps do I need to follow?&lt;BR /&gt;&lt;BR /&gt;Thank you in advance,&lt;BR /&gt;&lt;BR /&gt;Keith</description>
      <pubDate>Wed, 15 Jan 2003 14:50:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/move-vpar-to-new-h-w-path/m-p/2882611#M848894</guid>
      <dc:creator>Keith Clark</dc:creator>
      <dc:date>2003-01-15T14:50:37Z</dc:date>
    </item>
    <item>
      <title>Re: Move vPar to new H/W path</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/move-vpar-to-new-h-w-path/m-p/2882612#M848895</link>
      <description>Keith,&lt;BR /&gt;I did not heare about anyone sharing boot devices. Usually boot devices are internal disks, but external storage keeping user data is shared. In addition, you'll not be able to boot from the same volume multiple servers/partitions because they will request r/w access to volumes and data corruption may occur and server will panic.&lt;BR /&gt;I do not think you'll achieve what do you want&lt;BR /&gt;Eugeny</description>
      <pubDate>Wed, 15 Jan 2003 16:16:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/move-vpar-to-new-h-w-path/m-p/2882612#M848895</guid>
      <dc:creator>Eugeny Brychkov</dc:creator>
      <dc:date>2003-01-15T16:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: Move vPar to new H/W path</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/move-vpar-to-new-h-w-path/m-p/2882613#M848896</link>
      <description>I guess I was not very clear. I am not trying to have multiple servers access the same disks simultaneously. I just want to be able to define a vPar and install the O/S on one server, but if that server has a H/W issue I want to be able to move that vPar to a different host (same class and type of server with the same vPar Config with the exception of I/O H/W path's) and boot it. Sort of a poor man's manual MC/SG or  DR.&lt;BR /&gt;&lt;BR /&gt;Does that make more sense?</description>
      <pubDate>Wed, 15 Jan 2003 16:40:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/move-vpar-to-new-h-w-path/m-p/2882613#M848896</guid>
      <dc:creator>Keith Clark</dc:creator>
      <dc:date>2003-01-15T16:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: Move vPar to new H/W path</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/move-vpar-to-new-h-w-path/m-p/2882614#M848897</link>
      <description>Of course. Machines should be identical from every point of view including I/O subsystem. Then they will boot w/o problems. Any difference may influence reliability and system may crash.&lt;BR /&gt;That's my point of view&lt;BR /&gt;Eugeny</description>
      <pubDate>Wed, 15 Jan 2003 17:22:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/move-vpar-to-new-h-w-path/m-p/2882614#M848897</guid>
      <dc:creator>Eugeny Brychkov</dc:creator>
      <dc:date>2003-01-15T17:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Move vPar to new H/W path</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/move-vpar-to-new-h-w-path/m-p/2882615#M848898</link>
      <description>Maybe I should approach this from a different angle, since I think the vPar portion is confusing the issue.&lt;BR /&gt;&lt;BR /&gt;Let's say you booted off of a scsi disk at H/W path 1/8/0/0 and the card in 1/8/0/0 died. What would you need to do in order to boot off of the spare scsi card that you had in 0/12/0/0?</description>
      <pubDate>Wed, 15 Jan 2003 19:38:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/move-vpar-to-new-h-w-path/m-p/2882615#M848898</guid>
      <dc:creator>Keith Clark</dc:creator>
      <dc:date>2003-01-15T19:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: Move vPar to new H/W path</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/move-vpar-to-new-h-w-path/m-p/2882616#M848899</link>
      <description>I haven't done this with vpar software, but I have moved root volumes between servers. You need to do vgexport/vgimport operations from LVM maintenance mode in order to get it to work. &lt;BR /&gt;&lt;BR /&gt;Note: this worked for me, you may need to tweak it to get it to work in your situation.&lt;BR /&gt;&lt;BR /&gt;on "System A" do the following:&lt;BR /&gt;&lt;BR /&gt;1. Create a mapfile of the vg00 filesystems:&lt;BR /&gt;&lt;BR /&gt;# vgexport -p -v -m /mapfile /dev/vg00&lt;BR /&gt;&lt;BR /&gt;This will create a plain text file, called /mapfile, that will look like the &lt;BR /&gt;following:&lt;BR /&gt;1 lvol1&lt;BR /&gt;2 lvol2&lt;BR /&gt;3 lvol3&lt;BR /&gt;4 lvol4&lt;BR /&gt;5 lvol5&lt;BR /&gt;6 lvol6&lt;BR /&gt;7 lvol7&lt;BR /&gt;8 lvol8&lt;BR /&gt;9 lvol9&lt;BR /&gt;&lt;BR /&gt;2. FTP the mapfile to some other system to have available when the disk is moved&lt;BR /&gt;3. Shut the system down and boot it in LVM maintenance mode:&lt;BR /&gt;&lt;BR /&gt;# shutdown -h -y now&lt;BR /&gt;boot_admin&amp;gt; boot pri isl&lt;BR /&gt;ISL&amp;gt; hpux -lm&lt;BR /&gt;&lt;BR /&gt;4. Once in LVM maintenance mode, do the following:&lt;BR /&gt;&lt;BR /&gt;# vgexport -v /dev/vg00&lt;BR /&gt;&lt;BR /&gt;5. Shut down "System A"&lt;BR /&gt;&lt;BR /&gt;From "System B", do the following:&lt;BR /&gt;&lt;BR /&gt;6. Move disks to new server (physically or by zoning)&lt;BR /&gt;&lt;BR /&gt;7. From the ISL prompt, enter the following:&lt;BR /&gt;&lt;BR /&gt;# hpux -lm&lt;BR /&gt;&lt;BR /&gt;8. Create device files for new disks:&lt;BR /&gt;&lt;BR /&gt;# insf&lt;BR /&gt;&lt;BR /&gt;9. Next, look for the device files associated with the new disk:&lt;BR /&gt;&lt;BR /&gt;# ioscan -fnH &lt;NEW hardware="" path=""&gt;&lt;BR /&gt;&lt;BR /&gt;for example,&lt;BR /&gt;&lt;BR /&gt;# ioscan -fnH 56/52.4&lt;BR /&gt;&lt;BR /&gt;10. Move the old lvmtab file out of the way so you can create a new one:&lt;BR /&gt;&lt;BR /&gt;# mv /etc/lvmtab /etc/lvmtab.old&lt;BR /&gt;# vgscan&lt;BR /&gt;&lt;BR /&gt;11. Import the new physical volume name:&lt;BR /&gt;&lt;BR /&gt;# vgimport -v -m /mapfile &lt;VGNAME&gt; &lt;DEVICE files=""&gt;&lt;BR /&gt;&lt;BR /&gt;for example,&lt;BR /&gt;&lt;BR /&gt;# vgimport -v -m /mapfile /dev/vg00 /dev/dsk/c3t4d0&lt;BR /&gt;&lt;BR /&gt;12. Activate the vg00 volume group:&lt;BR /&gt;&lt;BR /&gt;# vgchange -a y /dev/vg00&lt;BR /&gt;&lt;BR /&gt;13. Prepare logical volumes to become root, swap, dump, etc. at next boot:&lt;BR /&gt;&lt;BR /&gt;# lvlnboot -R&lt;BR /&gt;&lt;BR /&gt;14. Verify that the above command worked:&lt;BR /&gt;&lt;BR /&gt;# lvlnboot -v&lt;BR /&gt;&lt;BR /&gt;15. Clean out the mnttab file:&lt;BR /&gt;&lt;BR /&gt;# rm /etc/mnttab&lt;BR /&gt;# touch /etc/mnttab&lt;BR /&gt;&lt;BR /&gt;This file will be recreated when the system next boots. However, I found that if it is allowed to hang around after booting into LVM &lt;BR /&gt;maintenance mode, you end up with a root volume called /dev/root, which doesn't seem to harm anything, it just looks strange.&lt;BR /&gt;&lt;BR /&gt;16. Reboot and hope for the best.&lt;BR /&gt;&lt;BR /&gt;Hope this works.&lt;/DEVICE&gt;&lt;/VGNAME&gt;&lt;/NEW&gt;</description>
      <pubDate>Mon, 17 Jan 2005 10:04:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/move-vpar-to-new-h-w-path/m-p/2882616#M848899</guid>
      <dc:creator>Douglas D. Denney</dc:creator>
      <dc:date>2005-01-17T10:04:36Z</dc:date>
    </item>
  </channel>
</rss>

