<?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: vglock disk in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/vglock-disk/m-p/2536371#M915313</link>
    <description>Hi&lt;BR /&gt;&lt;BR /&gt;The warning message about "Cluster lock on disk /dev/dsk/... is&lt;BR /&gt;missing!" could be result of corrupted SG binary OR if the cluster lock&lt;BR /&gt;disk was replaced or moved to a different disk.&lt;BR /&gt;Make sure cluster lock VG and cluster lock PV is defined in the&lt;BR /&gt;ascii cluster configuration file, then to fix:&lt;BR /&gt;&lt;BR /&gt;1.  Halt the packages and cluster.&lt;BR /&gt;&lt;BR /&gt;2.  Activate the cluster lock VG on the configuration node ONLY, so the&lt;BR /&gt;    lock disk can be initialized, for example:&lt;BR /&gt;&lt;BR /&gt;    vgchange -a y /dev/vglock&lt;BR /&gt;&lt;BR /&gt;2b. If needed, do the following on the VG:&lt;BR /&gt;&lt;BR /&gt;    vgchange -c n /dev/vglock&lt;BR /&gt;&lt;BR /&gt;3.  Generate the cluster binary configuration file &amp;amp; distribute&lt;BR /&gt;    to the nodes with cmapplyconf command, for example:&lt;BR /&gt;&lt;BR /&gt;    cmapplyconf -C /etc/cmcluster/cmclconf.ascii&lt;BR /&gt;                   -P /etc/cmcluster/pkg1/pkg1conf.ascii&lt;BR /&gt;&lt;BR /&gt;4.  Deactivate cluster lock VG.&lt;BR /&gt;    vgchange -a n /dev/vglock&lt;BR /&gt;&lt;BR /&gt;5.  Restart the cluster</description>
    <pubDate>Tue, 05 Jun 2001 06:56:41 GMT</pubDate>
    <dc:creator>eran maor</dc:creator>
    <dc:date>2001-06-05T06:56:41Z</dc:date>
    <item>
      <title>vglock disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vglock-disk/m-p/2536370#M915312</link>
      <description>Hi all,&lt;BR /&gt;I have lost my vglock disk while creating new volume group using sam as it was showing unused.Now how can I retrieve that vglock?&lt;BR /&gt;can vgcfgrestore help??do I need to shutdown the cluster?I have removed the new vg created via SAM.&lt;BR /&gt;In syslog I am getting &lt;BR /&gt;cmcld: WARNING: Cluster lock on disk /dev/dsk/c5t5d7 is missing&lt;BR /&gt;Any help ?&lt;BR /&gt;Thanks&lt;BR /&gt;Animesh&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Jun 2001 06:50:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vglock-disk/m-p/2536370#M915312</guid>
      <dc:creator>Animesh Chakraborty</dc:creator>
      <dc:date>2001-06-05T06:50:15Z</dc:date>
    </item>
    <item>
      <title>Re: vglock disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vglock-disk/m-p/2536371#M915313</link>
      <description>Hi&lt;BR /&gt;&lt;BR /&gt;The warning message about "Cluster lock on disk /dev/dsk/... is&lt;BR /&gt;missing!" could be result of corrupted SG binary OR if the cluster lock&lt;BR /&gt;disk was replaced or moved to a different disk.&lt;BR /&gt;Make sure cluster lock VG and cluster lock PV is defined in the&lt;BR /&gt;ascii cluster configuration file, then to fix:&lt;BR /&gt;&lt;BR /&gt;1.  Halt the packages and cluster.&lt;BR /&gt;&lt;BR /&gt;2.  Activate the cluster lock VG on the configuration node ONLY, so the&lt;BR /&gt;    lock disk can be initialized, for example:&lt;BR /&gt;&lt;BR /&gt;    vgchange -a y /dev/vglock&lt;BR /&gt;&lt;BR /&gt;2b. If needed, do the following on the VG:&lt;BR /&gt;&lt;BR /&gt;    vgchange -c n /dev/vglock&lt;BR /&gt;&lt;BR /&gt;3.  Generate the cluster binary configuration file &amp;amp; distribute&lt;BR /&gt;    to the nodes with cmapplyconf command, for example:&lt;BR /&gt;&lt;BR /&gt;    cmapplyconf -C /etc/cmcluster/cmclconf.ascii&lt;BR /&gt;                   -P /etc/cmcluster/pkg1/pkg1conf.ascii&lt;BR /&gt;&lt;BR /&gt;4.  Deactivate cluster lock VG.&lt;BR /&gt;    vgchange -a n /dev/vglock&lt;BR /&gt;&lt;BR /&gt;5.  Restart the cluster</description>
      <pubDate>Tue, 05 Jun 2001 06:56:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vglock-disk/m-p/2536371#M915313</guid>
      <dc:creator>eran maor</dc:creator>
      <dc:date>2001-06-05T06:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: vglock disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vglock-disk/m-p/2536372#M915314</link>
      <description>See this link very good:&lt;BR /&gt;&lt;A href="http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x440ca24d9abcd4118fef0090279cd0f9,00.html" target="_blank"&gt;http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x440ca24d9abcd4118fef0090279cd0f9,00.html&lt;/A&gt;</description>
      <pubDate>Tue, 05 Jun 2001 08:06:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vglock-disk/m-p/2536372#M915314</guid>
      <dc:creator>Vincenzo Restuccia</dc:creator>
      <dc:date>2001-06-05T08:06:42Z</dc:date>
    </item>
    <item>
      <title>Re: vglock disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vglock-disk/m-p/2536373#M915315</link>
      <description>The cluster lock information is stored in the LVM header of the disk. Therefore a vgcfgrestore will restore the LVM and cluster lock information on the disk (but only if the configuration has been saved after the last cmapplyconf: cmapplyconf writes the cluster lock information to the disk, but does not automatically issue a vgcfgbackup command. Therefore it requires that vgcfgbackup is run after the last cmapplyconf). &lt;BR /&gt;&lt;BR /&gt;Alternatively you can apply Eran's procedure, but this would require a downtime of the cluster.&lt;BR /&gt;&lt;BR /&gt;SG checks the health of the cluster lock hourly and will log a message to syslog if the cluster lock information on disk is missing.&lt;BR /&gt;&lt;BR /&gt;Carsten</description>
      <pubDate>Tue, 05 Jun 2001 08:11:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vglock-disk/m-p/2536373#M915315</guid>
      <dc:creator>Carsten Krege</dc:creator>
      <dc:date>2001-06-05T08:11:46Z</dc:date>
    </item>
    <item>
      <title>Re: vglock disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vglock-disk/m-p/2536374#M915316</link>
      <description>Hi all,&lt;BR /&gt;Thanks for your quick response.&lt;BR /&gt;In normal situation vglock should be activated or deactivated on configured node ?&lt;BR /&gt;In my case, I think I have already corrupted the vglock so will vgchange -a y work ?&lt;BR /&gt;Do I need to create a fresh vglock?&lt;BR /&gt;vglock entry still there in lvmtab file.&lt;BR /&gt;Can any one tell me the correct steps?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Animesh</description>
      <pubDate>Tue, 05 Jun 2001 09:13:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vglock-disk/m-p/2536374#M915316</guid>
      <dc:creator>Animesh Chakraborty</dc:creator>
      <dc:date>2001-06-05T09:13:30Z</dc:date>
    </item>
    <item>
      <title>Re: vglock disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vglock-disk/m-p/2536375#M915317</link>
      <description>&lt;BR /&gt;&amp;gt;In normal situation vglock should be activated or deactivated on configured node ? &lt;BR /&gt;&lt;BR /&gt;During normal operation the cluster lock VG doesn't need to be activated. If you want to (re)apply your cluster configuration the cluster lock must be activated on the node where you execute cmapplyconf.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;In my case, I think I have already corrupted the vglock so will vgchange -a y work ? &lt;BR /&gt;&lt;BR /&gt;No. If you erased the LVM header from the disk (e.g. by pvcreate, dd) , vgchange will not work. You can try it though and if vgchange worked, you obviously did NOT destroy the LVM header.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Do I need to create a fresh vglock? &lt;BR /&gt;vglock entry still there in lvmtab file.&lt;BR /&gt;&lt;BR /&gt;If you still have an entry in the /etc/lvmtab for this VG, you cannot pvcreate the disk (on this node). So at least it is unlikely that you pvcreate'd the disk and destroyed the LVM header by this command.&lt;BR /&gt;&lt;BR /&gt;&amp;gt; Can any one tell me the correct steps? &lt;BR /&gt;&lt;BR /&gt;First find out whether the cluster lock is healthy. If SG doesn't log messages in syslog within 1 hour, it probably is. Your local Response Center has tools to help you verify the status of the cluster lock area, too. &lt;BR /&gt;&lt;BR /&gt;If you are sure that the cluster lock area has been destroyed, you can reapply it with&lt;BR /&gt;&lt;BR /&gt;# vgcfgrestore -n /dev/vglock /dev/rdsk/cXtYdZ&lt;BR /&gt;(if you have a current vgcfgbackup on one of the node: check dates of /etc/lvmconf/vglock.conf!)&lt;BR /&gt;&lt;BR /&gt;If you don't have a current vgcfgbackup, you need to follow Eran's procedure: &lt;BR /&gt;&lt;BR /&gt;- Halt the cluster&lt;BR /&gt;- Activate the cluster lock VG locally&lt;BR /&gt;- Run cmapplyconf&lt;BR /&gt;&lt;BR /&gt;Carsten</description>
      <pubDate>Tue, 05 Jun 2001 10:21:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vglock-disk/m-p/2536375#M915317</guid>
      <dc:creator>Carsten Krege</dc:creator>
      <dc:date>2001-06-05T10:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: vglock disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vglock-disk/m-p/2536376#M915318</link>
      <description>Hi carsten,&lt;BR /&gt;Inspite of the entry in lvmtab file SAM did a pvcreate using alternate path and while adding alternate path it showed an error that can not add alternate link as there is entry in lvmtab file.after that I am getting mesg in syslog that cluster lock disk is missing.....&lt;BR /&gt;&lt;BR /&gt;While trying vgcfgrestore I am getting follwing error:&lt;BR /&gt;#vgcfgrestore -n /dev/vlock /dev/rdsk/c5t5d7&lt;BR /&gt;vgcfgrestore: Couldn't query physical volume "/dev/dsk/c5t5d7":&lt;BR /&gt;The specified path does not correspond to physical volume attached to&lt;BR /&gt;this volume group&lt;BR /&gt;vgcfgrestore: Mismatch between the backup file and the running kernel:&lt;BR /&gt;Kernel indicates 4 disks for "/dev/vlock"; /etc/lvmconf/vlock.conf indicates 1 d&lt;BR /&gt;isks.&lt;BR /&gt;Cannot proceed with the restoration. Deactivate the Volume Group and try again.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Animesh&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Jun 2001 00:32:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vglock-disk/m-p/2536376#M915318</guid>
      <dc:creator>Animesh Chakraborty</dc:creator>
      <dc:date>2001-06-06T00:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: vglock disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vglock-disk/m-p/2536377#M915319</link>
      <description>Hi all,&lt;BR /&gt;Do I need any thing to do on adoptive node ?&lt;BR /&gt;Will that previous exported vglock will work or I need to do export it again to secondary node?&lt;BR /&gt;Or can I make use of this ,if healty ,to do a export from adoptive node to configured node.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Animesh&lt;BR /&gt;</description>
      <pubDate>Fri, 08 Jun 2001 02:40:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vglock-disk/m-p/2536377#M915319</guid>
      <dc:creator>Animesh Chakraborty</dc:creator>
      <dc:date>2001-06-08T02:40:14Z</dc:date>
    </item>
    <item>
      <title>Re: vglock disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/vglock-disk/m-p/2536378#M915320</link>
      <description>Sounds like the problem was due to SAM not being smart enough.. &lt;BR /&gt;&lt;BR /&gt;I recommend you do the following. &lt;BR /&gt;&lt;BR /&gt;0) Check the availability of the disk. &lt;BR /&gt;&lt;BR /&gt;# ioscan -fnCdisk&lt;BR /&gt;&lt;BR /&gt;1) Make the VG consistent.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# cp -p /etc/lvmtab /etc/lvmtab.before&lt;BR /&gt;# vgreduce -f /dev/vglock&lt;BR /&gt;# cp -p /etc/lvmtab /etc/lvmtab.after&lt;BR /&gt;# vgscan&lt;BR /&gt;&lt;BR /&gt;2) Restore the LVM information to the disk.&lt;BR /&gt;&lt;BR /&gt;# vgcfgrestore -n vglock /dev/rdsk/c5t5d7&lt;BR /&gt;&lt;BR /&gt;3) Update lvmtab&lt;BR /&gt;&lt;BR /&gt;# vgscan&lt;BR /&gt;&lt;BR /&gt;4) Tell the kernel about the new disk &lt;BR /&gt;&lt;BR /&gt;# vgchange -a y vglock&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;5) vgexport/vgimport vglock on the secondary node to keep lvmtab consistent&lt;BR /&gt;&lt;BR /&gt;6) If this procedure failed, you can copy the old lvmtab back into place&lt;BR /&gt;&lt;BR /&gt;# cp /etc/lvmtab.before /etc/lvmtab&lt;BR /&gt;&lt;BR /&gt;7) If it succeeded, run&lt;BR /&gt;&lt;BR /&gt;# vgcfgbackup&lt;BR /&gt;&lt;BR /&gt;It is likely that you get this config recovered, however, there are some uncertainties what the output of every single command will be. It might happen that a vgscan in step 3) is not sufficient, but a complete vgexport/vgimport (and therefore VG deactivation) is needed.&lt;BR /&gt;&lt;BR /&gt;Good luck: Carsten</description>
      <pubDate>Fri, 08 Jun 2001 05:37:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/vglock-disk/m-p/2536378#M915320</guid>
      <dc:creator>Carsten Krege</dc:creator>
      <dc:date>2001-06-08T05:37:17Z</dc:date>
    </item>
  </channel>
</rss>

