<?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: VG in shared mode. ?? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-in-shared-mode/m-p/3814692#M268935</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Reply is inline:&lt;BR /&gt;&lt;BR /&gt;I just wanted to reduce size of one LV and create another LV ,on that vg with the free PE/size. While going through the man page of lvreduce found this :&lt;BR /&gt;# man lvreduce ..&lt;BR /&gt;"lvreduce cannot be performed if the volume group is activated in shared mode. "&lt;BR /&gt;Hence my question raised for shared mode option. Any more idea!&lt;BR /&gt;&lt;BR /&gt;A) Looking at the above output I believe the vg14 is part of High Availability Cluster, that means a shared VG.&lt;BR /&gt;&lt;BR /&gt;For a Normal VG , the output looks like&lt;BR /&gt;VG Status                   available&lt;BR /&gt;&lt;BR /&gt;In your case it is showing VG Status available, exclusive&lt;BR /&gt;&lt;BR /&gt;My Suggestion would be :&lt;BR /&gt;a)Take a downtime if it is a production system. &lt;BR /&gt;b) Take Backup of the LV which you want to change&lt;BR /&gt;c) Stop Application &lt;BR /&gt;c) Deactivate the Volume group from the Cluster Nodes:&lt;BR /&gt;#vgchange -a n /dev/vg14&lt;BR /&gt;d)Remove volume group from membership in the high availability cluster.&lt;BR /&gt;#vgchange -c n /dev/vg14&lt;BR /&gt;e)On this node give following command to activate VG&lt;BR /&gt;#vgchange -a y /dev/vg14&lt;BR /&gt;f)Change the LV Size&lt;BR /&gt;g)Deactivate VG&lt;BR /&gt;#vgchange -a n /dev/vg14&lt;BR /&gt;h)Mark volume group to be a member in the high availability cluster.&lt;BR /&gt;#vgchange -c y /dev/vg14&lt;BR /&gt;&lt;BR /&gt;No additional Serviceguard specific steps are needed. The change is only done in the&lt;BR /&gt;LVM structures contained on the shared disks. Other nodes see the change&lt;BR /&gt;automatically, when they activate the VG.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;-Amit&lt;BR /&gt;</description>
    <pubDate>Thu, 29 Jun 2006 03:36:46 GMT</pubDate>
    <dc:creator>Chauhan Amit</dc:creator>
    <dc:date>2006-06-29T03:36:46Z</dc:date>
    <item>
      <title>VG in shared mode. ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-in-shared-mode/m-p/3814687#M268930</link>
      <description>All, &lt;BR /&gt;&lt;BR /&gt;How to know if a volume group is activated in shared mode. Any command anything is there,&lt;BR /&gt;&lt;BR /&gt;VG Name                     /dev/vg14&lt;BR /&gt;VG Write Access             read/write&lt;BR /&gt;VG Status                   available, exclusive&lt;BR /&gt;...&lt;BR /&gt;--------------------------------------&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Jun 2006 01:42:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-in-shared-mode/m-p/3814687#M268930</guid>
      <dc:creator>rveri</dc:creator>
      <dc:date>2006-06-29T01:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: VG in shared mode. ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-in-shared-mode/m-p/3814688#M268931</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;I  believe the VG status will be different in shared mode.&lt;BR /&gt;&lt;BR /&gt;Based on this, I do not believe your volume group is activated in shared mode.&lt;BR /&gt;&lt;BR /&gt;There is nothing stopping you from activating a volume group in shared mode to see what it looks like. Just don't do it on a production system.&lt;BR /&gt;&lt;BR /&gt;mylab1:/# vgdisplay /dev/vgemmg&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name                     /dev/vgemmg&lt;BR /&gt;VG Write Access             read/write&lt;BR /&gt;VG Status                   available, exclusive&lt;BR /&gt;Max LV                      255&lt;BR /&gt;Cur LV                      1&lt;BR /&gt;Open LV                     1&lt;BR /&gt;Max PV                      16&lt;BR /&gt;Cur PV                      1&lt;BR /&gt;Act PV                      1&lt;BR /&gt;Max PE per PV               8683&lt;BR /&gt;VGDA                        2&lt;BR /&gt;PE Size (Mbytes)            4&lt;BR /&gt;Total PE                    8681&lt;BR /&gt;Alloc PE                    8681&lt;BR /&gt;Free PE                     0&lt;BR /&gt;Total PVG                   0&lt;BR /&gt;Total Spare PVs             0&lt;BR /&gt;Total Spare PVs in use      0&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Thu, 29 Jun 2006 02:13:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-in-shared-mode/m-p/3814688#M268931</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-06-29T02:13:42Z</dc:date>
    </item>
    <item>
      <title>Re: VG in shared mode. ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-in-shared-mode/m-p/3814689#M268932</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;It's not so clear what "shared mode" means.&lt;BR /&gt;In any case, in order to see vg status, run:&lt;BR /&gt;&lt;BR /&gt;#&amp;gt;vgdisplay vgname |grep Status&lt;BR /&gt;&lt;BR /&gt;Status "exclusive" means the vg may be used in SG cluster as a shared vg, but can not be used simultaneously by more than one computer. (vgchange -c y vgname).&lt;BR /&gt;&lt;BR /&gt;Status available means that the vg may be shared and used by more than one machine, as for ORACLE RAC.&lt;BR /&gt;&lt;BR /&gt;HTH</description>
      <pubDate>Thu, 29 Jun 2006 02:31:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-in-shared-mode/m-p/3814689#M268932</guid>
      <dc:creator>Victor Fridyev</dc:creator>
      <dc:date>2006-06-29T02:31:39Z</dc:date>
    </item>
    <item>
      <title>Re: VG in shared mode. ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-in-shared-mode/m-p/3814690#M268933</link>
      <description>If status is exclusive it can't be used on other node as this vg is exclusively for this node.&lt;BR /&gt;&lt;BR /&gt;I am not sure but it should show shared if it is being activated in shared mode, you van try deactivating it and then activate it in shared mode using -a s option.&lt;BR /&gt;&lt;BR /&gt;e  Activate each specified volume &lt;BR /&gt;      group and all associated physical&lt;BR /&gt;      and logical volumes for exclusive&lt;BR /&gt;      read-write access.  The volume&lt;BR /&gt;      group must be marked as part of a&lt;BR /&gt;      high availability cluster, and the&lt;BR /&gt;      availability  software must be&lt;BR /&gt;      running on the system; otherwise,&lt;BR /&gt;      the volume group is not activated.&lt;BR /&gt;&lt;BR /&gt; s    Activate each specified volume&lt;BR /&gt;      group and all associated physical&lt;BR /&gt;      and logical volume for shared&lt;BR /&gt;      read-write access.  The volume&lt;BR /&gt;      group must be marked as part of a&lt;BR /&gt;      high availability cluster and&lt;BR /&gt;      marked sharable; otherwise, the&lt;BR /&gt;      volume group is not activated.&lt;BR /&gt;&lt;BR /&gt;      If any of the logical volumes in&lt;BR /&gt;      the volume group are mirrored, and&lt;BR /&gt;      if there are more than two systems&lt;BR /&gt;      in the high availability cluster,&lt;BR /&gt;      this volume group will not be&lt;BR /&gt;      activated because HP MirrorDisk/UX&lt;BR /&gt;      software is only supported in a&lt;BR /&gt;      clustered environment with a&lt;BR /&gt;      maximum of two nodes configured.</description>
      <pubDate>Thu, 29 Jun 2006 02:57:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-in-shared-mode/m-p/3814690#M268933</guid>
      <dc:creator>Mridul Shrivastava</dc:creator>
      <dc:date>2006-06-29T02:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: VG in shared mode. ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-in-shared-mode/m-p/3814691#M268934</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I just wanted to reduce size of one LV and create another LV ,on that vg with the free PE/size.&lt;BR /&gt;&lt;BR /&gt;While going through the man page of lvreduce found this :&lt;BR /&gt;&lt;BR /&gt;# man lvreduce &lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;"lvreduce cannot be performed if the volume group is activated in shared    mode. "&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Hence my question raised for shared mode option. Any more idea!&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Jun 2006 03:06:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-in-shared-mode/m-p/3814691#M268934</guid>
      <dc:creator>rveri</dc:creator>
      <dc:date>2006-06-29T03:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: VG in shared mode. ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-in-shared-mode/m-p/3814692#M268935</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;Reply is inline:&lt;BR /&gt;&lt;BR /&gt;I just wanted to reduce size of one LV and create another LV ,on that vg with the free PE/size. While going through the man page of lvreduce found this :&lt;BR /&gt;# man lvreduce ..&lt;BR /&gt;"lvreduce cannot be performed if the volume group is activated in shared mode. "&lt;BR /&gt;Hence my question raised for shared mode option. Any more idea!&lt;BR /&gt;&lt;BR /&gt;A) Looking at the above output I believe the vg14 is part of High Availability Cluster, that means a shared VG.&lt;BR /&gt;&lt;BR /&gt;For a Normal VG , the output looks like&lt;BR /&gt;VG Status                   available&lt;BR /&gt;&lt;BR /&gt;In your case it is showing VG Status available, exclusive&lt;BR /&gt;&lt;BR /&gt;My Suggestion would be :&lt;BR /&gt;a)Take a downtime if it is a production system. &lt;BR /&gt;b) Take Backup of the LV which you want to change&lt;BR /&gt;c) Stop Application &lt;BR /&gt;c) Deactivate the Volume group from the Cluster Nodes:&lt;BR /&gt;#vgchange -a n /dev/vg14&lt;BR /&gt;d)Remove volume group from membership in the high availability cluster.&lt;BR /&gt;#vgchange -c n /dev/vg14&lt;BR /&gt;e)On this node give following command to activate VG&lt;BR /&gt;#vgchange -a y /dev/vg14&lt;BR /&gt;f)Change the LV Size&lt;BR /&gt;g)Deactivate VG&lt;BR /&gt;#vgchange -a n /dev/vg14&lt;BR /&gt;h)Mark volume group to be a member in the high availability cluster.&lt;BR /&gt;#vgchange -c y /dev/vg14&lt;BR /&gt;&lt;BR /&gt;No additional Serviceguard specific steps are needed. The change is only done in the&lt;BR /&gt;LVM structures contained on the shared disks. Other nodes see the change&lt;BR /&gt;automatically, when they activate the VG.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;-Amit&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Jun 2006 03:36:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-in-shared-mode/m-p/3814692#M268935</guid>
      <dc:creator>Chauhan Amit</dc:creator>
      <dc:date>2006-06-29T03:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: VG in shared mode. ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-in-shared-mode/m-p/3814693#M268936</link>
      <description>I know for certain that you can increase the LV size dynamicaly even in a ServiceGuard mode on the fly (because I have done so) but you can't do lvreduce.&lt;BR /&gt;&lt;BR /&gt;Please correct me if I am wrong.&lt;BR /&gt;&lt;BR /&gt;Matthew from Boston</description>
      <pubDate>Fri, 30 Jun 2006 07:29:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-in-shared-mode/m-p/3814693#M268936</guid>
      <dc:creator>Matthew Ghofrani</dc:creator>
      <dc:date>2006-06-30T07:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: VG in shared mode. ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-in-shared-mode/m-p/3814694#M268937</link>
      <description># vgdisplay -v vgora&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name                     /dev/vgora&lt;BR /&gt;VG Write Access             read/write     &lt;BR /&gt;VG Status                   available, shared, client &lt;BR /&gt;</description>
      <pubDate>Fri, 30 Jun 2006 08:17:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-in-shared-mode/m-p/3814694#M268937</guid>
      <dc:creator>Roland van Lochem</dc:creator>
      <dc:date>2006-06-30T08:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: VG in shared mode. ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-in-shared-mode/m-p/3814695#M268938</link>
      <description>If a Volume Group (VG) is in shared mode a vgdisplay will look something like (notice the word "shared" on the VG Status line):&lt;BR /&gt;&lt;BR /&gt;# vgdisplay vg05&lt;BR /&gt;--- Volume groups ---&lt;BR /&gt;VG Name           /dev/vg05&lt;BR /&gt;VG Write Access   read/write     &lt;BR /&gt;VG Status         available, shared, server &lt;BR /&gt;Max LV            255    &lt;BR /&gt;Cur LV            212    &lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;When the "RAC extension" to MC/Serviceguard is installed the "-a s" option becomes available to activate the VG is shared mode:&lt;BR /&gt;&lt;BR /&gt;vgchange -a s vg05</description>
      <pubDate>Wed, 05 Jul 2006 15:36:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-in-shared-mode/m-p/3814695#M268938</guid>
      <dc:creator>John Hall</dc:creator>
      <dc:date>2006-07-05T15:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: VG in shared mode. ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-in-shared-mode/m-p/3814696#M268939</link>
      <description>Hi guys,&lt;BR /&gt;&lt;BR /&gt;do you mean if there are 2 nodes in a cluster then both their volume groups i.e. vg00 should be shared right ? i.e. the status should be shared.....</description>
      <pubDate>Mon, 10 Jul 2006 04:43:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-in-shared-mode/m-p/3814696#M268939</guid>
      <dc:creator>jhingoor</dc:creator>
      <dc:date>2006-07-10T04:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: VG in shared mode. ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vg-in-shared-mode/m-p/3814697#M268940</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Not really.&lt;BR /&gt;&lt;BR /&gt;To be a shared volume group you need to activate it in shared mode.&lt;BR /&gt;&lt;BR /&gt;vg00 is not typically activated in shared mode because its a system boot vg, though it can include other logical volumes. I believe that trying to activate vg00 in shared mode would fail or lead to catastrophic results.&lt;BR /&gt;&lt;BR /&gt;If you created a volume group called vgshare or vg02 on shared storage and two cluster nodes can activate it and activate it in shared mode (-s) then your statement would be true and the posts above should help you detect it.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Mon, 10 Jul 2006 05:15:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vg-in-shared-mode/m-p/3814697#M268940</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-07-10T05:15:01Z</dc:date>
    </item>
  </channel>
</rss>

