<?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 How can I export / import a VG from one server to another server? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-can-i-export-import-a-vg-from-one-server-to-another-server/m-p/3932529#M26841</link>
    <description>Hi.&lt;BR /&gt;I need to export a volume group vg02 from server-A&lt;BR /&gt;&lt;BR /&gt;and i need to import it into server-B without losing the data.&lt;BR /&gt;&lt;BR /&gt;Please suggest what will be step by step commands?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance</description>
    <pubDate>Thu, 25 Jan 2007 00:51:12 GMT</pubDate>
    <dc:creator>praveen..</dc:creator>
    <dc:date>2007-01-25T00:51:12Z</dc:date>
    <item>
      <title>How can I export / import a VG from one server to another server?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-i-export-import-a-vg-from-one-server-to-another-server/m-p/3932529#M26841</link>
      <description>Hi.&lt;BR /&gt;I need to export a volume group vg02 from server-A&lt;BR /&gt;&lt;BR /&gt;and i need to import it into server-B without losing the data.&lt;BR /&gt;&lt;BR /&gt;Please suggest what will be step by step commands?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance</description>
      <pubDate>Thu, 25 Jan 2007 00:51:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-i-export-import-a-vg-from-one-server-to-another-server/m-p/3932529#M26841</guid>
      <dc:creator>praveen..</dc:creator>
      <dc:date>2007-01-25T00:51:12Z</dc:date>
    </item>
    <item>
      <title>Re: How can I export / import a VG from one server to another server?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-i-export-import-a-vg-from-one-server-to-another-server/m-p/3932530#M26842</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Are you referring to NFS export and import?&lt;BR /&gt;if yes do the following&lt;BR /&gt;&lt;BR /&gt;a. on server-A &lt;BR /&gt;vi /etc/exports and put the mount points of vg02&lt;BR /&gt;&lt;BR /&gt;then exportfs -a&lt;BR /&gt;&lt;BR /&gt;b. On Server-B&lt;BR /&gt;mkdir /mountpoint&lt;BR /&gt;mount -t nfs //Server-A/vg02_mounts /mountpoints&lt;BR /&gt;&lt;BR /&gt;then copy the /mountpoints to a local partition using mv or cp&lt;BR /&gt;&lt;BR /&gt;Cheers</description>
      <pubDate>Thu, 25 Jan 2007 07:10:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-i-export-import-a-vg-from-one-server-to-another-server/m-p/3932530#M26842</guid>
      <dc:creator>Vipulinux</dc:creator>
      <dc:date>2007-01-25T07:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: How can I export / import a VG from one server to another server?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-i-export-import-a-vg-from-one-server-to-another-server/m-p/3932531#M26843</link>
      <description>Here you get detailed steps:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.linux.com/howtos/LVM-HOWTO/recipemovevgtonewsys.shtml" target="_blank"&gt;http://www.linux.com/howtos/LVM-HOWTO/recipemovevgtonewsys.shtml&lt;/A&gt;</description>
      <pubDate>Thu, 25 Jan 2007 08:23:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-i-export-import-a-vg-from-one-server-to-another-server/m-p/3932531#M26843</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2007-01-25T08:23:48Z</dc:date>
    </item>
    <item>
      <title>Re: How can I export / import a VG from one server to another server?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-can-i-export-import-a-vg-from-one-server-to-another-server/m-p/3932532#M26844</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Here is a real-life example of poor-man's&lt;BR /&gt;failover.&lt;BR /&gt;&lt;BR /&gt;The two servers run Red Hat Linux ES4.&lt;BR /&gt;The OPEN-V LUNs are presented to both&lt;BR /&gt;servers from XP 12000 SAN.&lt;BR /&gt;&lt;BR /&gt;The customer did not want to purchase&lt;BR /&gt;any vendor-based clustering solution.&lt;BR /&gt;&lt;BR /&gt;a) Servers server1 and server2 have&lt;BR /&gt;the following line in /etc/fstab:&lt;BR /&gt; &lt;BR /&gt;/dev/vgdard00/lvdar00   /msd/videoapp ext3    defaults,noauto   1 2&lt;BR /&gt;&lt;BR /&gt;This is required to ensure that at reboot, this file system is not mounted&lt;BR /&gt;automatically.&lt;BR /&gt; &lt;BR /&gt;b) Initial setup:&lt;BR /&gt; &lt;BR /&gt;Server server1:&lt;BR /&gt; &lt;BR /&gt;# umount /msd/videoapp&lt;BR /&gt;&lt;BR /&gt;# vgchange -an /dev/vgdard00&lt;BR /&gt;0 logical volume(s) in volume group "vgdard00" now active&lt;BR /&gt;&lt;BR /&gt;# vgexport /dev/vgdard00&lt;BR /&gt;Volume group "vgdard00" successfully exported&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;Server server2:&lt;BR /&gt; &lt;BR /&gt;# vgscan&lt;BR /&gt;Reading all physical volumes. This may take a while...&lt;BR /&gt;Found volume group "vgdard00" using metadata type lvm2&lt;BR /&gt;Found volume group "vg00" using metadata type lvm2&lt;BR /&gt; &lt;BR /&gt;# vgimport /dev/vgdard00&lt;BR /&gt; &lt;BR /&gt;# vgchange -ay /dev/vgdard00&lt;BR /&gt; &lt;BR /&gt;# mount /msd/videoapp&lt;BR /&gt; &lt;BR /&gt;c) We did many tests of "crashing" both&lt;BR /&gt;servers and mounting the file system.&lt;BR /&gt;It worked fine each time. &lt;BR /&gt; &lt;BR /&gt;d) Note that both servers have volume group &lt;BR /&gt;vgdard00 active. As long as they do not mount&lt;BR /&gt;the file system at the same time,&lt;BR /&gt;no harm done.&lt;BR /&gt; &lt;BR /&gt;If the two servers, by accident, mount the file system /msd/videoapp,&lt;BR /&gt;then the status of the volume group will be undefined (each server might create a &lt;BR /&gt;different version of the data).&lt;BR /&gt; &lt;BR /&gt;e) Next steps were:&lt;BR /&gt;&lt;BR /&gt;    RC startup script with commands to&lt;BR /&gt;    add virtual interface eth1:1, mount the &lt;BR /&gt;    file system and start application.&lt;BR /&gt; &lt;BR /&gt;    Shell script for ICMP tests to remote   &lt;BR /&gt;    server (ping) and lynx(1) or curl(1)&lt;BR /&gt;    test for application port activity. If &lt;BR /&gt;    both tests fail, then we assume remote &lt;BR /&gt;    server is down and application services &lt;BR /&gt;    will start on this side...&lt;BR /&gt; &lt;BR /&gt;    You an be creative as to how to monitor&lt;BR /&gt;    the applications :)&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;VK2COT</description>
      <pubDate>Thu, 25 Jan 2007 21:44:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-can-i-export-import-a-vg-from-one-server-to-another-server/m-p/3932532#M26844</guid>
      <dc:creator>VK2COT</dc:creator>
      <dc:date>2007-01-25T21:44:34Z</dc:date>
    </item>
  </channel>
</rss>

