<?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: query about lock disk in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/query-about-lock-disk/m-p/5177394#M672571</link>
    <description>Though the cluster lock disk must be associated with an LVM VG, when Serviceguard needs to use the cluster lock structure on the disk, it does NOT use LVM commands but rather ioctl commands to directly address the cluster lock structure on the disk.  Therefore, it doesn't matter whether the VG is activated or not.</description>
    <pubDate>Tue, 26 May 2009 11:22:41 GMT</pubDate>
    <dc:creator>Stephen Doud</dc:creator>
    <dc:date>2009-05-26T11:22:41Z</dc:date>
    <item>
      <title>query about lock disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/query-about-lock-disk/m-p/5177385#M672562</link>
      <description>Dear concern&lt;BR /&gt; In my new company i have found volume group "vg_billing_data" is defined as lock disk for MC/Service guard cluster. But this volume group is used for oracle database and this was visible from both nodes(node1 and node2) using vgchange -a s vg_billing_data.&lt;BR /&gt;&lt;BR /&gt;My query is if cluster heartbeat messages fail between two nodes then what happen in this situation?&lt;BR /&gt;&lt;BR /&gt;As far as i know lock disk should be disable from both nodes using "vgchange -a n" command and only aware by cluster using "vgchange -c y"&lt;BR /&gt;&lt;BR /&gt;So my new company cluster configuration for lock disk is right or wrong??&lt;BR /&gt; Pls see the attached file with this thred.</description>
      <pubDate>Tue, 26 May 2009 03:18:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/query-about-lock-disk/m-p/5177385#M672562</guid>
      <dc:creator>Md. Minhaz Khan</dc:creator>
      <dc:date>2009-05-26T03:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: query about lock disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/query-about-lock-disk/m-p/5177386#M672563</link>
      <description>Hi Minhaz,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;&amp;gt;In my new company i have found volume group "vg_billing_data" is defined as lock disk for MC/Service guard cluster. But this volume group is used for oracle database and this was visible from both nodes(node1 and node2) using vgchange -a s vg_billing_data.&lt;BR /&gt;&lt;BR /&gt;The VG_billing_data would be the Cluster lock vg not lock disk.&lt;BR /&gt;&lt;BR /&gt;One of the disk from vg_billing_data can be a cluster lock_disk&lt;BR /&gt;&lt;BR /&gt;there is no problem for activating a cluster_vg in shared mode (using vgchange -a  s )&lt;BR /&gt;&lt;BR /&gt;During spilt brain condition ,service guard only try to hold the cluster lock_pv not the vg .&lt;BR /&gt;&lt;BR /&gt;As far I know service guard need the cluster lock_vg to be activated only during cluster creation.(if you are not using the cluster_lock_vg in any of your package..then you may not find this as activated in any of your node even when your cluster is running)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks!!&lt;BR /&gt;Johnson&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks!!&lt;BR /&gt;Johnson</description>
      <pubDate>Tue, 26 May 2009 04:40:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/query-about-lock-disk/m-p/5177386#M672563</guid>
      <dc:creator>johnsonpk</dc:creator>
      <dc:date>2009-05-26T04:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: query about lock disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/query-about-lock-disk/m-p/5177387#M672564</link>
      <description>The cluster lock uses a small space in the VG header. Access to that space is not controlled by "vgchange -a" or "vgchange -c".&lt;BR /&gt;&lt;BR /&gt;If the cluster heartbeat messages fail, that is a straightforward ServiceGuard split-brain avoidance situation: both nodes will attempt to write "their" sign in the cluster lock area. The first successful node gets to "be" the cluster and continue the service: the other node will have to stop using any shared resources ASAP, so that node will execute an TOC.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Tue, 26 May 2009 05:07:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/query-about-lock-disk/m-p/5177387#M672564</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2009-05-26T05:07:33Z</dc:date>
    </item>
    <item>
      <title>Re: query about lock disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/query-about-lock-disk/m-p/5177388#M672565</link>
      <description>Thanks a lot. Please also see the cluster configuration file. There FIRST_CLUSTER_LOCK_VG parameter is /dev/vg_billing_data.&lt;BR /&gt;&lt;BR /&gt;from my previous experience i just use as follows after creation cluster:&lt;BR /&gt;&lt;BR /&gt;#vgchange -a n lock_vg (Both nodes)&lt;BR /&gt;#vgchange -c y lock_vg (Both nodes)&lt;BR /&gt;&lt;BR /&gt;Only lock volume group should be know by the cluster but not by nodes(May be i am wrong, if wrong please correct me)</description>
      <pubDate>Tue, 26 May 2009 05:11:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/query-about-lock-disk/m-p/5177388#M672565</guid>
      <dc:creator>Md. Minhaz Khan</dc:creator>
      <dc:date>2009-05-26T05:11:54Z</dc:date>
    </item>
    <item>
      <title>Re: query about lock disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/query-about-lock-disk/m-p/5177389#M672566</link>
      <description>&lt;BR /&gt;Dear Minhaz&lt;BR /&gt;&lt;BR /&gt;The vgchange command with the -a option activates or deactivates one or more volume groups.&lt;BR /&gt;&lt;BR /&gt;The vgchange command with the -c option controls the membership of one or more volume groups in a high availability cluster. The vgchange command with the -c and -S options control the membership of a volume group and mark it sharable&lt;BR /&gt;&lt;BR /&gt;s:&lt;BR /&gt;Activate each specified volume group and all associated physical and logical volume for shared read-write access. The volume group must be marked as part of a high availability cluster and marked sharable; otherwise, the volume group is not activated.&lt;BR /&gt;&lt;BR /&gt;vghange -a n /dev/vgname it will deactivate the volume group&lt;BR /&gt;vgchange -a y /dev/vgname it will activate the volume group&lt;BR /&gt;&lt;BR /&gt;thanks and regards&lt;BR /&gt;&lt;BR /&gt;Sajjad Sahir&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 26 May 2009 05:19:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/query-about-lock-disk/m-p/5177389#M672566</guid>
      <dc:creator>Sajjad Sahir</dc:creator>
      <dc:date>2009-05-26T05:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: query about lock disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/query-about-lock-disk/m-p/5177390#M672567</link>
      <description>Please see this one also&lt;BR /&gt;Set up volume group /dev/vg03 for use in a high availability cluster: &lt;BR /&gt;&lt;BR /&gt;vgchange -a n /dev/vg03   # Deactivate volume group&lt;BR /&gt;vgchange -c y /dev/vg03   # Enable volume group for HA cluster&lt;BR /&gt;vgchange -c y -S y /dev/vg03 # Enable volume group for HA cluster&lt;BR /&gt;                               and mark as sharable&lt;BR /&gt;vgchange -a e /dev/vg03   # Activate volume group in exclusive mode&lt;BR /&gt;vgchange -a s /dev/vg03   # Activate volume group in shared mode&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;thanks and regards&lt;BR /&gt;&lt;BR /&gt;Sajjad Sahir</description>
      <pubDate>Tue, 26 May 2009 05:22:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/query-about-lock-disk/m-p/5177390#M672567</guid>
      <dc:creator>Sajjad Sahir</dc:creator>
      <dc:date>2009-05-26T05:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: query about lock disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/query-about-lock-disk/m-p/5177391#M672568</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;Minhaz&amp;gt;&amp;gt;&amp;gt;Only lock volume group should be know by the cluster but not by nodes&lt;BR /&gt;&lt;BR /&gt;Could you please elaborate that question?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Johnson</description>
      <pubDate>Tue, 26 May 2009 05:36:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/query-about-lock-disk/m-p/5177391#M672568</guid>
      <dc:creator>johnsonpk</dc:creator>
      <dc:date>2009-05-26T05:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: query about lock disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/query-about-lock-disk/m-p/5177392#M672569</link>
      <description>&amp;gt;Only lock volume group should be know by the cluster but not by nodes&lt;BR /&gt;&lt;BR /&gt;Actually i want to know , in cluster environment lock volume group(for ex:vglock)  &lt;BR /&gt;should deactive status or active status?&lt;BR /&gt;&lt;BR /&gt;That is after creation cluster did we deactive lock volume group by the command "vgchange -a n vglock" or keep it active status that we activate using "vgchange -a y vglock" before cluster creation&lt;BR /&gt;&lt;BR /&gt;Thnaks&lt;BR /&gt;Minhaz</description>
      <pubDate>Tue, 26 May 2009 06:38:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/query-about-lock-disk/m-p/5177392#M672569</guid>
      <dc:creator>Md. Minhaz Khan</dc:creator>
      <dc:date>2009-05-26T06:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: query about lock disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/query-about-lock-disk/m-p/5177393#M672570</link>
      <description>Hi Minhaz,&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;in cluster environment lock volume group(for ex:vglock)&lt;BR /&gt;should deactive status or active status?&lt;BR /&gt;&lt;BR /&gt; scenario 1: You are planning to use the cluster_lock_vg in your package :&lt;BR /&gt;&lt;BR /&gt;Deacivate the lock_vg and use it in your package this will inturn activate the lock_vg in appropriate mode (exclusive/shared) depending up on your packge ctl file&lt;BR /&gt;&lt;BR /&gt;scenario 2:you will leave the cluster lock vg as unused.&lt;BR /&gt;&lt;BR /&gt;You can deactivate lock vg  to prohibit any accedental use by any one.even though  you havent deactivate ,the next node reboot will take care of that since the vg activation process wont activate the vgs that are marked as cluster aware.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Bottomline: The cluster_lock vg need not be activated in any of the node &lt;BR /&gt;&lt;BR /&gt;Thanks !!&lt;BR /&gt;Johnson</description>
      <pubDate>Tue, 26 May 2009 07:51:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/query-about-lock-disk/m-p/5177393#M672570</guid>
      <dc:creator>johnsonpk</dc:creator>
      <dc:date>2009-05-26T07:51:23Z</dc:date>
    </item>
    <item>
      <title>Re: query about lock disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/query-about-lock-disk/m-p/5177394#M672571</link>
      <description>Though the cluster lock disk must be associated with an LVM VG, when Serviceguard needs to use the cluster lock structure on the disk, it does NOT use LVM commands but rather ioctl commands to directly address the cluster lock structure on the disk.  Therefore, it doesn't matter whether the VG is activated or not.</description>
      <pubDate>Tue, 26 May 2009 11:22:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/query-about-lock-disk/m-p/5177394#M672571</guid>
      <dc:creator>Stephen Doud</dc:creator>
      <dc:date>2009-05-26T11:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: query about lock disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/query-about-lock-disk/m-p/5177395#M672572</link>
      <description>Thanks a lot to everybody to help me.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Minhaz</description>
      <pubDate>Wed, 03 Jun 2009 04:59:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/query-about-lock-disk/m-p/5177395#M672572</guid>
      <dc:creator>Md. Minhaz Khan</dc:creator>
      <dc:date>2009-06-03T04:59:03Z</dc:date>
    </item>
  </channel>
</rss>

