<?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: Add logical volume to VG in cluster in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381820#M348758</link>
    <description>absolutely, YES! you must vgexport and vgimport to the other node and you must edit your control file (*.cntl) in your cluster configuration and add your new LV, for ex:&lt;BR /&gt;&lt;BR /&gt;LV[0]=/dev/vgbea/lvbea; FS[0]=/apps/bea; FS_MOUNT_OPT[0]="-o rw"; FS_UMOUNT_OPT[&lt;BR /&gt;0]=""; FS_FSCK_OPT[0]="";FS_TYPE[0]="vxfs"</description>
    <pubDate>Wed, 18 Mar 2009 07:19:29 GMT</pubDate>
    <dc:creator>yulianto piyut</dc:creator>
    <dc:date>2009-03-18T07:19:29Z</dc:date>
    <item>
      <title>Add logical volume to VG in cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381816#M348754</link>
      <description>When I add a logical volume to a vg in a package do I need to do the export and import?&lt;BR /&gt;It is a raw volume so no mkfs is needed.&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Mar 2009 05:48:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381816#M348754</guid>
      <dc:creator>Weertman</dc:creator>
      <dc:date>2009-03-18T05:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: Add logical volume to VG in cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381817#M348755</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Yes, u need to export and import it on another node with new map file&lt;BR /&gt;&lt;BR /&gt;Rergards&lt;BR /&gt;Sanjeev</description>
      <pubDate>Wed, 18 Mar 2009 06:14:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381817#M348755</guid>
      <dc:creator>Sharma Sanjeev</dc:creator>
      <dc:date>2009-03-18T06:14:31Z</dc:date>
    </item>
    <item>
      <title>Re: Add logical volume to VG in cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381818#M348756</link>
      <description>Yes, it is required.&lt;BR /&gt;&lt;BR /&gt;The device file /dev/&lt;VGNAME&gt;/*&lt;LVNAME&gt; needs to be available on the other node also&lt;BR /&gt;&lt;BR /&gt;Hence you need to do a vgexport -p on one node and on the other node, vgexport, mkdir,mknod, vgimport..&lt;BR /&gt;&lt;BR /&gt;Please assign points&lt;/LVNAME&gt;&lt;/VGNAME&gt;</description>
      <pubDate>Wed, 18 Mar 2009 06:21:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381818#M348756</guid>
      <dc:creator>Avinash20</dc:creator>
      <dc:date>2009-03-18T06:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: Add logical volume to VG in cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381819#M348757</link>
      <description>when you omit that can that cause volume corruption in case of fail-over?&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Mar 2009 07:14:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381819#M348757</guid>
      <dc:creator>Weertman</dc:creator>
      <dc:date>2009-03-18T07:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Add logical volume to VG in cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381820#M348758</link>
      <description>absolutely, YES! you must vgexport and vgimport to the other node and you must edit your control file (*.cntl) in your cluster configuration and add your new LV, for ex:&lt;BR /&gt;&lt;BR /&gt;LV[0]=/dev/vgbea/lvbea; FS[0]=/apps/bea; FS_MOUNT_OPT[0]="-o rw"; FS_UMOUNT_OPT[&lt;BR /&gt;0]=""; FS_FSCK_OPT[0]="";FS_TYPE[0]="vxfs"</description>
      <pubDate>Wed, 18 Mar 2009 07:19:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381820#M348758</guid>
      <dc:creator>yulianto piyut</dc:creator>
      <dc:date>2009-03-18T07:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: Add logical volume to VG in cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381821#M348759</link>
      <description>"when you omit that can that cause volume corruption in case of fail-over?"&lt;BR /&gt;&lt;BR /&gt;Yes, that why we are doing vgexport in preview mode on one server and doing a vgimport on the other node&lt;BR /&gt;&lt;BR /&gt;vgimport wont work if the vg is already there in lvmtab, hence we need to export and import it again ..</description>
      <pubDate>Wed, 18 Mar 2009 07:41:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381821#M348759</guid>
      <dc:creator>Avinash20</dc:creator>
      <dc:date>2009-03-18T07:41:44Z</dc:date>
    </item>
    <item>
      <title>Re: Add logical volume to VG in cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381822#M348760</link>
      <description>what is the correct import command?</description>
      <pubDate>Wed, 18 Mar 2009 08:20:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381822#M348760</guid>
      <dc:creator>Weertman</dc:creator>
      <dc:date>2009-03-18T08:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Add logical volume to VG in cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381823#M348761</link>
      <description>Example:-&lt;BR /&gt;&lt;BR /&gt;On the other node:&lt;BR /&gt;1. Export the VG&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;vgexport /dev/vgxx&lt;BR /&gt;&lt;BR /&gt;2. Recreate the directory&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;mkdir -p /dev/vgxx&lt;BR /&gt;&lt;BR /&gt;3. Recreate the VG group file&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;mknod /dev/vgxx/group c 64 0xMM0000&lt;BR /&gt;where MM is a unique identifier (ex 01 for vg01)&lt;BR /&gt;&lt;BR /&gt;4. Preview the vgimport to check for any possible error&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;vgimport -pvs -m &lt;MAPFILE&gt; /dev/vgxx&lt;BR /&gt;where mapfile is the one copied from the first node&lt;BR /&gt;&lt;BR /&gt;5. If no error, remove the preview mode&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;vgimport -vs -m &lt;MAPFILE&gt; /dev/vgxx&lt;BR /&gt;&lt;BR /&gt;6. Activate in share mode&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;vgchange -a s /dev/vgxx&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Johnson&lt;/MAPFILE&gt;&lt;/MAPFILE&gt;</description>
      <pubDate>Wed, 18 Mar 2009 08:24:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381823#M348761</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2009-03-18T08:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: Add logical volume to VG in cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381824#M348762</link>
      <description>vgchange -a s /dev/vg02&lt;BR /&gt;vgchange: Volume group "/dev/vg02" does not exist in the "/etc/lvmtab" file.</description>
      <pubDate>Wed, 18 Mar 2009 08:35:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381824#M348762</guid>
      <dc:creator>Weertman</dc:creator>
      <dc:date>2009-03-18T08:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Add logical volume to VG in cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381825#M348763</link>
      <description>&amp;gt;&amp;gt;vgchange -a s /dev/vg02&lt;BR /&gt;vgchange: Volume group "/dev/vg02" does not exist in the "/etc/lvmtab" file.&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;what is vgname did you import on the other node..?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Johnson</description>
      <pubDate>Wed, 18 Mar 2009 08:46:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381825#M348763</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2009-03-18T08:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: Add logical volume to VG in cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381826#M348764</link>
      <description>Also vg02&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Mar 2009 11:52:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381826#M348764</guid>
      <dc:creator>Weertman</dc:creator>
      <dc:date>2009-03-18T11:52:57Z</dc:date>
    </item>
    <item>
      <title>Re: Add logical volume to VG in cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381827#M348765</link>
      <description>you only run "vgchange -a s ..." if this is a SHARED logical volume used with SLVM (usually as part of a RAC cluster). If this is just a standard Serviceguard cluster where a logical volume is only ever active on one node in the cluster at any one time, you can omit this step.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Wed, 18 Mar 2009 11:59:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381827#M348765</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2009-03-18T11:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Add logical volume to VG in cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381828#M348766</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Follow this steps. Assuming you are creating lv on VG02 and it is currently activated on node1&lt;BR /&gt;&lt;BR /&gt;on node1&lt;BR /&gt;&lt;BR /&gt;Create the logical volume as per LVM commands. After creation,&lt;BR /&gt;#vgexport -p -v -m /tmp/vg02.map vg02&lt;BR /&gt;It will just create a map file /tmp/vg02.map&lt;BR /&gt;&lt;BR /&gt;Copy this map file to second node.(node2)&lt;BR /&gt;&lt;BR /&gt;on node2. (Assuming VG02 is not activated here)&lt;BR /&gt;&lt;BR /&gt;Note down the minor number of vg02&lt;BR /&gt;#vgexport /dev/vg02&lt;BR /&gt;#mkdir /dev/vg02&lt;BR /&gt;#mknod /dev/vg02/group c 64 0x020000&lt;BR /&gt;#vgimport -v -m /tmp/vg02.map vg02&lt;BR /&gt;&lt;BR /&gt;Now the necessary devices files will be created on node2 as well. So when the package moves here all the lv's including new lv get mounted.&lt;BR /&gt;&lt;BR /&gt;Not that these steps doesn't include the modifications of package control file. you need take care of that seperately.&lt;BR /&gt;</description>
      <pubDate>Wed, 18 Mar 2009 12:14:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381828#M348766</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-03-18T12:14:03Z</dc:date>
    </item>
    <item>
      <title>Re: Add logical volume to VG in cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381829#M348767</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;If still u want to see your VG on another node than u can activate it as readonly.&lt;BR /&gt;&lt;BR /&gt;vgchange -a r /dev/vg02&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Sanjeev</description>
      <pubDate>Wed, 18 Mar 2009 12:18:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381829#M348767</guid>
      <dc:creator>Sharma Sanjeev</dc:creator>
      <dc:date>2009-03-18T12:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: Add logical volume to VG in cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381830#M348768</link>
      <description>shouldn't it be:&lt;BR /&gt;vgimport -v -m /tmp/vg02.map vg02 /dev/dsk/c16t0d5&lt;BR /&gt;&lt;BR /&gt;There is no hw info in the map file.&lt;BR /&gt;&lt;BR /&gt;that works ok</description>
      <pubDate>Thu, 19 Mar 2009 11:01:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381830#M348768</guid>
      <dc:creator>Weertman</dc:creator>
      <dc:date>2009-03-19T11:01:26Z</dc:date>
    </item>
    <item>
      <title>Re: Add logical volume to VG in cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381831#M348769</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;Best way is&lt;BR /&gt;&lt;BR /&gt;on 1st node&lt;BR /&gt;vgexport -p -m /tmp/mapfile -f /tmp/diskfile /dev/vg00&lt;BR /&gt;&lt;BR /&gt;than copy mapfile and disk file to another node&lt;BR /&gt;&lt;BR /&gt;than on 2nd node&lt;BR /&gt;vgexport vg02&lt;BR /&gt;mknod ( minor number should be same as 1st node vg02 )&lt;BR /&gt;vgimport -m /tmp/mapfile -f /tmp/diskfile /dev/vg02&lt;BR /&gt;&lt;BR /&gt;if u want to activate VG on 2nd node as read only&lt;BR /&gt;&lt;BR /&gt;vgchange -a r /dev/vg02&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Sanjeev&lt;BR /&gt;</description>
      <pubDate>Thu, 19 Mar 2009 11:10:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381831#M348769</guid>
      <dc:creator>Sharma Sanjeev</dc:creator>
      <dc:date>2009-03-19T11:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: Add logical volume to VG in cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381832#M348770</link>
      <description>What is the destination node has a different device name?</description>
      <pubDate>Fri, 20 Mar 2009 07:28:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381832#M348770</guid>
      <dc:creator>Weertman</dc:creator>
      <dc:date>2009-03-20T07:28:37Z</dc:date>
    </item>
    <item>
      <title>Re: Add logical volume to VG in cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381833#M348771</link>
      <description>Hi Again&lt;BR /&gt;&lt;BR /&gt;Than u need to import with device name.&lt;BR /&gt;&lt;BR /&gt;But generally The nodes in Cluster having same device name&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Sanjeev</description>
      <pubDate>Fri, 20 Mar 2009 07:39:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381833#M348771</guid>
      <dc:creator>Sharma Sanjeev</dc:creator>
      <dc:date>2009-03-20T07:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: Add logical volume to VG in cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381834#M348772</link>
      <description>...seems to be a lot of poor advice being handed out on this thread...&lt;BR /&gt;&lt;BR /&gt;first off, when you are running the vgexport on your primary node to generate the map file, you need to make nsure you include the "-s" option on the vgexport. This will ensure that as well as the lvol names, the volume group ID is also writrten to the map file (think of the volume group ID or VGID as like a disk signature)&lt;BR /&gt;&lt;BR /&gt;Then when importing the volume group on the other node use the "-s" option on the vgimport and the vgimport command will scan all the disks visible to the system and look for that VGID - that way it knows what disks need to be part of the volume group and you don't have to list them on the command line.&lt;BR /&gt;&lt;BR /&gt;As for the point about device files being the same on all cluster nodes. In my experience they are different as often as they are the same. Serviceguard really doesn't care if a LUN is seen as c3t5d0 on one node and c7t5d0 on another node - it can cope with that without a problem.&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Fri, 20 Mar 2009 07:48:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381834#M348772</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2009-03-20T07:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: Add logical volume to VG in cluster</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381835#M348773</link>
      <description>Ganesan's post was closest to correct - I've altered it slightly (I don't know what your VG is called or what VG minor numbers you use so you'll need to adjust those for your own system):&lt;BR /&gt;&lt;BR /&gt;on node1&lt;BR /&gt;&lt;BR /&gt;Create the logical volume as per LVM commands. After creation,&lt;BR /&gt;#vgexport -p -s -v -m /tmp/vg02.map vg02&lt;BR /&gt;It will just create a map file /tmp/vg02.map&lt;BR /&gt;&lt;BR /&gt;Copy this map file to second node.(node2)&lt;BR /&gt;&lt;BR /&gt;on node2. (Assuming VG02 is not activated here)&lt;BR /&gt;&lt;BR /&gt;Note down the minor number of vg02&lt;BR /&gt;#vgexport /dev/vg02&lt;BR /&gt;#mkdir /dev/vg02&lt;BR /&gt;#mknod /dev/vg02/group c 64 0x020000&lt;BR /&gt;#vgimport -v -s -m /tmp/vg02.map vg02&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;It will take a little longer as it has to scan all the disks on the system, but should work.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;HTH&lt;BR /&gt;&lt;BR /&gt;Duncan</description>
      <pubDate>Fri, 20 Mar 2009 07:51:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/add-logical-volume-to-vg-in-cluster/m-p/4381835#M348773</guid>
      <dc:creator>Duncan Edmonstone</dc:creator>
      <dc:date>2009-03-20T07:51:56Z</dc:date>
    </item>
  </channel>
</rss>

