<?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 Changing the cluster lock disk in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-cluster-lock-disk/m-p/4358436#M671402</link>
    <description>I've been searching the forums for the specific instructions on how to easily change the cluster lock disk and nothing is exactly what I need.&lt;BR /&gt;&lt;BR /&gt;I have a happy healthy cluster and all I need to do is to change the cluster lock disk.  I migrated all my data to a new SAN and new luns using the pvmove command.  Now I have to change the cluster lock disk so I can remove the final lun from the old SAN.  Both the current and proposed cluster lock disk are still in the volume group.  I have only one VG in the cluster and it's unchanged as the cluster lock VG.&lt;BR /&gt;&lt;BR /&gt;Here's my plan&lt;BR /&gt;&lt;BR /&gt;cmhaltpkg -v pkg&lt;BR /&gt;&lt;BR /&gt;vgchange -c n /dev/vg01&lt;BR /&gt;&lt;BR /&gt;cmhaltcl&lt;BR /&gt;&lt;BR /&gt;vgchange -a y /dev/vg01&lt;BR /&gt;&lt;BR /&gt;cmdeleteconf -c clustername&lt;BR /&gt;&lt;BR /&gt;I will then edit the /etc/cmcluster/cluster.ascii file to change the cluster lock disk on both nodes of the cluster.&lt;BR /&gt;&lt;BR /&gt;cmcheckconf -v -C /etc/cmcluster/cluster.ascii&lt;BR /&gt;&lt;BR /&gt;cmapplyconf -v /etc/cmcluster/cluster.ascii&lt;BR /&gt;&lt;BR /&gt;cmruncl&lt;BR /&gt;&lt;BR /&gt;Do I need to run cmapplyconf -P /etc/cmcluster/clustername/pckconf.ascii at this point?  Nothing is changing in it.&lt;BR /&gt;&lt;BR /&gt;cmrunpkg -v pkg&lt;BR /&gt;&lt;BR /&gt;Is this plan sound?&lt;BR /&gt;&lt;BR /&gt;Once everything is back up and running I'll just do a vgremove on the old cluster lock disk and map file the changes over to the other node.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 13 Feb 2009 17:56:01 GMT</pubDate>
    <dc:creator>Terrence</dc:creator>
    <dc:date>2009-02-13T17:56:01Z</dc:date>
    <item>
      <title>Changing the cluster lock disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-cluster-lock-disk/m-p/4358436#M671402</link>
      <description>I've been searching the forums for the specific instructions on how to easily change the cluster lock disk and nothing is exactly what I need.&lt;BR /&gt;&lt;BR /&gt;I have a happy healthy cluster and all I need to do is to change the cluster lock disk.  I migrated all my data to a new SAN and new luns using the pvmove command.  Now I have to change the cluster lock disk so I can remove the final lun from the old SAN.  Both the current and proposed cluster lock disk are still in the volume group.  I have only one VG in the cluster and it's unchanged as the cluster lock VG.&lt;BR /&gt;&lt;BR /&gt;Here's my plan&lt;BR /&gt;&lt;BR /&gt;cmhaltpkg -v pkg&lt;BR /&gt;&lt;BR /&gt;vgchange -c n /dev/vg01&lt;BR /&gt;&lt;BR /&gt;cmhaltcl&lt;BR /&gt;&lt;BR /&gt;vgchange -a y /dev/vg01&lt;BR /&gt;&lt;BR /&gt;cmdeleteconf -c clustername&lt;BR /&gt;&lt;BR /&gt;I will then edit the /etc/cmcluster/cluster.ascii file to change the cluster lock disk on both nodes of the cluster.&lt;BR /&gt;&lt;BR /&gt;cmcheckconf -v -C /etc/cmcluster/cluster.ascii&lt;BR /&gt;&lt;BR /&gt;cmapplyconf -v /etc/cmcluster/cluster.ascii&lt;BR /&gt;&lt;BR /&gt;cmruncl&lt;BR /&gt;&lt;BR /&gt;Do I need to run cmapplyconf -P /etc/cmcluster/clustername/pckconf.ascii at this point?  Nothing is changing in it.&lt;BR /&gt;&lt;BR /&gt;cmrunpkg -v pkg&lt;BR /&gt;&lt;BR /&gt;Is this plan sound?&lt;BR /&gt;&lt;BR /&gt;Once everything is back up and running I'll just do a vgremove on the old cluster lock disk and map file the changes over to the other node.&lt;BR /&gt;&lt;BR /&gt; &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 13 Feb 2009 17:56:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-cluster-lock-disk/m-p/4358436#M671402</guid>
      <dc:creator>Terrence</dc:creator>
      <dc:date>2009-02-13T17:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the cluster lock disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-cluster-lock-disk/m-p/4358437#M671403</link>
      <description>Your plan looks good.&lt;BR /&gt;You do not need to delete the config with cmdeleteconf though.&lt;BR /&gt;&lt;BR /&gt;Also, may be worth using cmviweconf to see what is listed in the binary both before and after the change.&lt;BR /&gt;</description>
      <pubDate>Fri, 13 Feb 2009 18:21:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-cluster-lock-disk/m-p/4358437#M671403</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2009-02-13T18:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the cluster lock disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-cluster-lock-disk/m-p/4358438#M671404</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;Terrence,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;all fine just to add few things:&lt;BR /&gt;1)take a backup of the /etc/cmcluster directory on both the nodes before doing the change.&lt;BR /&gt;2)I assume that none of the package is using the VG /dev/vg01 so in your steps you can try getting the "Last LUN" removed just after the vgchange -a y /dev/vg01 line making the use of #vgreduce /dev/vg01 &lt;LAST_LUN_PV&gt;.&lt;BR /&gt;3)create a map file and rcp that after you remove the Last LUN (of the Oldstorage that you are using as current Lock PV) Import the VG vg01 on the other node with this confign(removed OLD LUN).&lt;BR /&gt;4)If the VG vg01 had not been the part of any cluster packages then you need not change that in Package Control Files. in the package.conf file no modifications reqd assuming that this is a normal LVM SG package.&lt;BR /&gt;5)make sure that all the warnings and the Errors if occuring the cmcheckconf of the cluster ASCII file are properly addressed before doing the cmapplyconf.&lt;BR /&gt;&lt;BR /&gt;6)but i am not too sure as you are making a cmdeleteconf -c cluster, i think you might need to a cmcheckconf and cmapplyconf for all the packages using cmcheckconf -P &lt;PKG_CONF_ASCII&gt; and cmapplyconf -P &lt;PKG_CONF_ASCII&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;7) Assuming the point 6 , i think you can easily do without the step that you have mentioned in for the cmdeleteconf -c clutser.&lt;BR /&gt;You do not require that. and also if you oit that you will sure not have to di a cmcheckconf and cmapplyconf of the package conf files, assuming also  that vg01 is not being used by any package.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;just few thoughts&lt;BR /&gt;sujit&lt;BR /&gt;&lt;/PKG_CONF_ASCII&gt;&lt;/PKG_CONF_ASCII&gt;&lt;/LAST_LUN_PV&gt;</description>
      <pubDate>Fri, 13 Feb 2009 18:30:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-cluster-lock-disk/m-p/4358438#M671404</guid>
      <dc:creator>sujit kumar singh</dc:creator>
      <dc:date>2009-02-13T18:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the cluster lock disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-cluster-lock-disk/m-p/4358439#M671405</link>
      <description>Procedure to change the cluster lock disk.&lt;BR /&gt;&lt;BR /&gt;First identify the cluster lock disk and then edit the cluster configuration file and change accordingly to reflect the new cluster lock disk.&lt;BR /&gt;do a cmcheckconf using the configuration file and then cmapplyconf</description>
      <pubDate>Fri, 13 Feb 2009 18:48:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-cluster-lock-disk/m-p/4358439#M671405</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2009-02-13T18:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the cluster lock disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-cluster-lock-disk/m-p/4358440#M671406</link>
      <description>Hi Terrence,&lt;BR /&gt;&lt;BR /&gt;Follow below steps to change cluster lock disk&lt;BR /&gt;&lt;BR /&gt;Frist node&lt;BR /&gt;# pvcreate /dev/rdsk/c_t_d_ &lt;BR /&gt;# mkdir /dev/vglocknew&lt;BR /&gt;# mknod /dev/vglocknew/group c 64 0x0100000 &lt;BR /&gt;# vgcreate /dev/vglocknew /dev/dsk/c_t_d_"&lt;BR /&gt;# vgexport -pvs -m map.vglocknew /dev/vglocknew&lt;BR /&gt;# rcp map.vglocknew SECONDNODE:/etc/lvmconf &lt;BR /&gt;&lt;BR /&gt;Second Node&lt;BR /&gt;# mkdir /dev/vglocknew &lt;BR /&gt;# mknod /dev/vglocknew/group c 64 0x0100000 &lt;BR /&gt;# cd /etc/lvmconf &lt;BR /&gt;# vgimport -vs -m map.vglocknew /dev/vglocknew &lt;BR /&gt;# vgchange -a y vglocknew&lt;BR /&gt;# vgchnage -a n vglocknew&lt;BR /&gt;&lt;BR /&gt;# cmgetconf cluster.ascii&lt;BR /&gt;# cp cluster.ascii cluster.ascii.backup&lt;BR /&gt;&lt;BR /&gt;Edit following parameter in the ascii file.&lt;BR /&gt;&lt;BR /&gt;FIRST_CLUSTER_LOCK_VG /dev/vglocknew&lt;BR /&gt;FIRST_CLUSTER_LOCK_PV /dev/dsk/c_t_d_&lt;BR /&gt;FIRST_CLUSTER_LOCK_PV /dev/dsk/c_t_d_&lt;BR /&gt;VOLUME_GROUP /dev/vglocknew&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;# cmcheckconf -C /etc/cmcluster/cluster.ascii"&lt;BR /&gt;&lt;BR /&gt;Bring all package down&lt;BR /&gt;# cmhaltpkg &lt;PKG name=""&gt;&lt;BR /&gt;&lt;BR /&gt;Bring cluster down.&lt;BR /&gt;# cmhaltcl -v&lt;BR /&gt;&lt;BR /&gt;Activate the lock VG.&lt;BR /&gt;# vgchange -a y vglocknew&lt;BR /&gt;&lt;BR /&gt;Apply new configuration file.&lt;BR /&gt;# cmapplyconf -f -C /etc/cmcluster/cluster.ascii"&lt;BR /&gt;# vgchange -a n vglocknew&lt;BR /&gt;&lt;BR /&gt;Start the cluster.&lt;BR /&gt;# cmruncl -v&lt;BR /&gt;# vgchnage -c y /dev/vglocknew"&lt;BR /&gt;#cmrunpkg &lt;PKG name=""&gt;&lt;BR /&gt;&lt;BR /&gt;Thx,&lt;BR /&gt;Johnson&lt;/PKG&gt;&lt;/PKG&gt;</description>
      <pubDate>Fri, 13 Feb 2009 18:52:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-cluster-lock-disk/m-p/4358440#M671406</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2009-02-13T18:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the cluster lock disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-cluster-lock-disk/m-p/4358441#M671407</link>
      <description>Thanks.  I will drop the cmdeleteconf step, and the package check and apply as well.&lt;BR /&gt;&lt;BR /&gt;Johnson's response raises these questions.&lt;BR /&gt;&lt;BR /&gt;Do I need a vgchange -a n /dev/vg01 after I do the cmapplyconf.&lt;BR /&gt;&lt;BR /&gt;And do I then need to vgchange -c y /dev/vg01 after I start the cluster with cmruncl?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 13 Feb 2009 19:21:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-cluster-lock-disk/m-p/4358441#M671407</guid>
      <dc:creator>Terrence</dc:creator>
      <dc:date>2009-02-13T19:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the cluster lock disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-cluster-lock-disk/m-p/4358442#M671408</link>
      <description>Johnson's response raises these questions.&lt;BR /&gt;&lt;BR /&gt;Do I need a vgchange -a n /dev/vg01 after I do the cmapplyconf.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;YES, BECOZ , I would like the cluster to activate the VG , automatically when i start the Cluster,&amp;lt;&amp;lt;&lt;BR /&gt;&lt;BR /&gt;And do I then need to vgchange -c y /dev/vg01 after I start the cluster with cmruncl?&lt;BR /&gt;&lt;BR /&gt;Yes, In order to activate the /dev/vg01 has cluster aware disk.&lt;BR /&gt;&lt;BR /&gt;(please refer man page vgchange -c for more info )&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Johnson&lt;BR /&gt;</description>
      <pubDate>Fri, 13 Feb 2009 19:32:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-cluster-lock-disk/m-p/4358442#M671408</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2009-02-13T19:32:38Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the cluster lock disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-cluster-lock-disk/m-p/4358443#M671409</link>
      <description>And do I then need to vgchange -c y /dev/vg01 after I start the cluster with cmruncl?&lt;BR /&gt;&lt;BR /&gt;"You need do vgchange -c y /dev/vg01 &lt;BR /&gt;&lt;BR /&gt;before you start Cluster using cmruncl command"&lt;BR /&gt;&lt;BR /&gt;otherwise the Cluster will not start , becoz you haven't marked the disk has Cluster aware disk"&lt;BR /&gt;&lt;BR /&gt;Hope this Clarify Your Questions&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Johnson</description>
      <pubDate>Fri, 13 Feb 2009 19:37:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-cluster-lock-disk/m-p/4358443#M671409</guid>
      <dc:creator>Johnson Punniyalingam</dc:creator>
      <dc:date>2009-02-13T19:37:20Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the cluster lock disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-cluster-lock-disk/m-p/4358444#M671410</link>
      <description>Hi,&lt;BR /&gt;It depend on the release too, on SG 11.18 you can change the lock disk online&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/B3936-90122/ch08s03.html" target="_blank"&gt;http://docs.hp.com/en/B3936-90122/ch08s03.html&lt;/A&gt;&lt;BR /&gt;With older release, if you have access to hp support you have cminitlock utility to change the lock disk online. I test it in the past, and the utility do the job.</description>
      <pubDate>Fri, 13 Feb 2009 19:40:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-cluster-lock-disk/m-p/4358444#M671410</guid>
      <dc:creator>smatador</dc:creator>
      <dc:date>2009-02-13T19:40:45Z</dc:date>
    </item>
    <item>
      <title>Re: Changing the cluster lock disk</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-cluster-lock-disk/m-p/4358445#M671411</link>
      <description>the main difference in what you have in the action plan and what johnson has suggested is that Johnson is creatting a new VG.&lt;BR /&gt;&lt;BR /&gt;apart From that when you do a cmcheckconf and the cmapplyconf the Lock VG needs to be active(in exclusive or Normal mode)&lt;BR /&gt;&lt;BR /&gt;The other part is that is that for a VG that is mentioned in the Volume_section of the Cluser ASCII file, when you do a cmapplyconf, SG maakes that Cluster Aware if you have not done that previously using the vgchange -c y &lt;VG_NAME&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;regards&lt;BR /&gt;sujit&lt;/VG_NAME&gt;</description>
      <pubDate>Sat, 14 Feb 2009 10:22:40 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/changing-the-cluster-lock-disk/m-p/4358445#M671411</guid>
      <dc:creator>sujit kumar singh</dc:creator>
      <dc:date>2009-02-14T10:22:40Z</dc:date>
    </item>
  </channel>
</rss>

