<?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: Exporting and importing volumes groupe to an other serveur in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/exporting-and-importing-volumes-groupe-to-an-other-serveur/m-p/2935991#M634697</link>
    <description>Oh yeah, we better add step 6, then:  vgchange -a y vg01&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
    <pubDate>Wed, 26 Mar 2003 11:36:24 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2003-03-26T11:36:24Z</dc:date>
    <item>
      <title>Exporting and importing volumes groupe to an other serveur</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exporting-and-importing-volumes-groupe-to-an-other-serveur/m-p/2935986#M634692</link>
      <description>&lt;BR /&gt;&lt;BR /&gt;hello ,&lt;BR /&gt;&lt;BR /&gt;we have two serveurs Hp9000 (rp8400) running under hpux 11i.&lt;BR /&gt;we use the first one as a principal serveur with diferent volumes groupes created using servral LUNs in a VA 7410 ( about 64 Lun ).&lt;BR /&gt;&lt;BR /&gt;we wante to use the second serveur as a backup serveur if the first one fail ( with out using MC service guard ).&lt;BR /&gt;&lt;BR /&gt;when we do an ioscan from the first serveur ,we have all devices files about all Luns .&lt;BR /&gt;&lt;BR /&gt;And when we do an ioscan from the second serveur ( backup ) we have the same devices files about all those luns .&lt;BR /&gt;&lt;BR /&gt;please give us all the steps to do a restore  all the configuration and volumes groupes using the second serveur ( backup ) if the first one fail ,with out risks for the data costumer.&lt;BR /&gt;&lt;BR /&gt;Using for example vgimport with a mapfile created before in the first serveur , or doing a vgcfgbackup with files in /etc/lvmconf existing in the first serveur .&lt;BR /&gt;&lt;BR /&gt;thanks for the help. &lt;BR /&gt;&lt;BR /&gt;best regards.</description>
      <pubDate>Wed, 26 Mar 2003 09:55:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exporting-and-importing-volumes-groupe-to-an-other-serveur/m-p/2935986#M634692</guid>
      <dc:creator>CSP_ALGERIA</dc:creator>
      <dc:date>2003-03-26T09:55:33Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting and importing volumes groupe to an other serveur</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exporting-and-importing-volumes-groupe-to-an-other-serveur/m-p/2935987#M634693</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I can give you an example how to import one volume group to another server. However, note there are several other things you should consider:&lt;BR /&gt;&lt;BR /&gt;Kernel parameters - make sure they are the same on both servers&lt;BR /&gt;/etc/fstab - this will need to be updated to reflect the new filesystems&lt;BR /&gt;Startup scripts - you will need any application scripts copied over and linked as normal&lt;BR /&gt;&lt;BR /&gt;These are just things off the top of my head, there may be more.&lt;BR /&gt;&lt;BR /&gt;This is an example of importing vg01 to another server. You wouldn't use vgcfgbackup/vgcfgrestore as you are talking about the same disks - they already have the LVM information on them!&lt;BR /&gt;&lt;BR /&gt;1) Check the minor number of the group file on the primary server&lt;BR /&gt;&lt;BR /&gt;# ll /dev/vg01/group&lt;BR /&gt;&lt;BR /&gt;2) Create a map file and outfile of the disks, to save you entering them all in the vgimport&lt;BR /&gt;&lt;BR /&gt;# vgexport -p -v -m /tmp/vg01.map -f /tmp/disks.map vg01&lt;BR /&gt;&lt;BR /&gt;3) Transfer the mapfiles to the secondary server&lt;BR /&gt;&lt;BR /&gt;4) Make the vg01 directory and group file&lt;BR /&gt;&lt;BR /&gt;# mkdir /dev/vg01&lt;BR /&gt;# mknod /dev/vg01/group c 64 0x010000&lt;BR /&gt;&lt;BR /&gt;0x010000 should be the same as you found from step one, keeps everything aligned.&lt;BR /&gt;&lt;BR /&gt;5) Import the VG&lt;BR /&gt;&lt;BR /&gt;# vgimport -v -m /tmp/vg01.map -f /tmp/disks.map vg01&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;James.</description>
      <pubDate>Wed, 26 Mar 2003 10:28:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exporting-and-importing-volumes-groupe-to-an-other-serveur/m-p/2935987#M634693</guid>
      <dc:creator>James Murtagh</dc:creator>
      <dc:date>2003-03-26T10:28:08Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting and importing volumes groupe to an other serveur</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exporting-and-importing-volumes-groupe-to-an-other-serveur/m-p/2935988#M634694</link>
      <description>Just a couple of comments on James' well thought out and well documented procedure.  In step 2, the export in preview mode, I would use the -s option rather than -f: "vgexport -p -s -m /tmp/vg01.map vg01".  Then, in step 5, when you actually import the volumes, I would use the -s option again: "vgimport -s -m /tmp/vg01.map vg01".&lt;BR /&gt;&lt;BR /&gt;It's a subtle difference but proven to work, for me, at least.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 26 Mar 2003 11:11:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exporting-and-importing-volumes-groupe-to-an-other-serveur/m-p/2935988#M634694</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-03-26T11:11:11Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting and importing volumes groupe to an other serveur</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exporting-and-importing-volumes-groupe-to-an-other-serveur/m-p/2935989#M634695</link>
      <description>Hi Pete,&lt;BR /&gt;&lt;BR /&gt;Yeah, wasn't sure if that only worked with S/G, the "Series 800 Only" warning in the man page put the suspicion in my mind! I also couldn't test on my workstation. I would go with that as it doesn't activate the VG.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;James.</description>
      <pubDate>Wed, 26 Mar 2003 11:32:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exporting-and-importing-volumes-groupe-to-an-other-serveur/m-p/2935989#M634695</guid>
      <dc:creator>James Murtagh</dc:creator>
      <dc:date>2003-03-26T11:32:34Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting and importing volumes groupe to an other serveur</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exporting-and-importing-volumes-groupe-to-an-other-serveur/m-p/2935990#M634696</link>
      <description>James,&lt;BR /&gt;&lt;BR /&gt;It works like a charm, even in a non S/G environment!!&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 26 Mar 2003 11:34:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exporting-and-importing-volumes-groupe-to-an-other-serveur/m-p/2935990#M634696</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-03-26T11:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting and importing volumes groupe to an other serveur</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exporting-and-importing-volumes-groupe-to-an-other-serveur/m-p/2935991#M634697</link>
      <description>Oh yeah, we better add step 6, then:  vgchange -a y vg01&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 26 Mar 2003 11:36:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exporting-and-importing-volumes-groupe-to-an-other-serveur/m-p/2935991#M634697</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-03-26T11:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting and importing volumes groupe to an other serveur</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exporting-and-importing-volumes-groupe-to-an-other-serveur/m-p/2935992#M634698</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Pete&lt;BR /&gt;&lt;BR /&gt;In the step 2 which James has given -p is only for preview. it wouldn't actually export.&lt;BR /&gt;&lt;BR /&gt;you need to use the step 2 without -p.&lt;BR /&gt;&lt;BR /&gt;and ofcourse as we all can see after importing,&lt;BR /&gt;another step is needed to activate vg (vgchange -a y vg01)</description>
      <pubDate>Wed, 26 Mar 2003 11:47:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exporting-and-importing-volumes-groupe-to-an-other-serveur/m-p/2935992#M634698</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2003-03-26T11:47:32Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting and importing volumes groupe to an other serveur</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exporting-and-importing-volumes-groupe-to-an-other-serveur/m-p/2935993#M634699</link>
      <description>Hi Ravi,&lt;BR /&gt;&lt;BR /&gt;We don't actually want to export it, just create the map file. We just need to get the lvmtab updated and device files created on the other host.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;James.</description>
      <pubDate>Wed, 26 Mar 2003 11:55:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exporting-and-importing-volumes-groupe-to-an-other-serveur/m-p/2935993#M634699</guid>
      <dc:creator>James Murtagh</dc:creator>
      <dc:date>2003-03-26T11:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting and importing volumes groupe to an other serveur</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exporting-and-importing-volumes-groupe-to-an-other-serveur/m-p/2935994#M634700</link>
      <description>James&lt;BR /&gt;&lt;BR /&gt;I agree with u</description>
      <pubDate>Wed, 26 Mar 2003 13:29:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exporting-and-importing-volumes-groupe-to-an-other-serveur/m-p/2935994#M634700</guid>
      <dc:creator>Ravi_8</dc:creator>
      <dc:date>2003-03-26T13:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting and importing volumes groupe to an other serveur</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exporting-and-importing-volumes-groupe-to-an-other-serveur/m-p/2935995#M634701</link>
      <description>One more (hopefully final) thought:&lt;BR /&gt;&lt;BR /&gt;You can probably do the vgimport ahead of time, leaving only the "vgchange -a y vg01" to be done at switchover, but you would want to be absolutely sure that the vgchange was NEVER run while the original server was still up and accessing the data.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Wed, 26 Mar 2003 13:32:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exporting-and-importing-volumes-groupe-to-an-other-serveur/m-p/2935995#M634701</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2003-03-26T13:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting and importing volumes groupe to an other serveur</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/exporting-and-importing-volumes-groupe-to-an-other-serveur/m-p/2935996#M634702</link>
      <description>.....which is why my first example needed refining!&lt;BR /&gt;&lt;BR /&gt;Also, you will need to be very careful with the LVM startup scripts! (/etc/lvmrc &amp;amp; /sbin/lvmrc) If both servers are booted at the same time you are going to have problems, or any combination of one coming up while the VGs are activated and filesystems mounted on the other. You may need to disable the auto vg activation on both nodes, which means you will have to manually startup the applications/VGs every time.&lt;BR /&gt;&lt;BR /&gt;S/G not looking such a bad purchase now eh? :-)</description>
      <pubDate>Wed, 26 Mar 2003 13:44:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/exporting-and-importing-volumes-groupe-to-an-other-serveur/m-p/2935996#M634702</guid>
      <dc:creator>James Murtagh</dc:creator>
      <dc:date>2003-03-26T13:44:58Z</dc:date>
    </item>
  </channel>
</rss>

