<?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: removal of VG from package. in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/removal-of-vg-from-package/m-p/3252675#M706695</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;As far as i know, there are two config files in wich vgconfigs in a cluster are kept.&lt;BR /&gt;The package control file. In this file the volume group and the lvol mount command lines can be deleted. This can be done with a running cluster, The package needs to be down. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/linux/onlinedocs/B9903-90005/B9903-90005_top.html&amp;amp;con=/linux/onlinedocs/B9903-90005/00/00/37-con.html&amp;amp;toc=/linux/onlinedocs/B9903-90005/00/00/37-toc.html&amp;amp;searchterms=cluster%7conline&amp;amp;queryid=20040419-121710" target="_blank"&gt;http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/linux/onlinedocs/B9903-90005/B9903-90005_top.html&amp;amp;con=/linux/onlinedocs/B9903-90005/00/00/37-con.html&amp;amp;toc=/linux/onlinedocs/B9903-90005/00/00/37-toc.html&amp;amp;searchterms=cluster%7conline&amp;amp;queryid=20040419-121710&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Go to Reconfiguring a Package on a Running Cluster  section for more info.&lt;BR /&gt;&lt;BR /&gt;The second file is the cluster.ascii file. In this file the vg's that are cluster awaire can be listed.If you alter this file by deleting the vg you can do a cmcheckconf -v -C /etc/cmcluster/*.ascii&lt;BR /&gt;to see if this can be done online. I am not sure.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;&lt;BR /&gt;Gideon&lt;BR /&gt;The second place is the cluster ascii file.</description>
    <pubDate>Mon, 19 Apr 2004 13:24:38 GMT</pubDate>
    <dc:creator>G. Vrijhoeven</dc:creator>
    <dc:date>2004-04-19T13:24:38Z</dc:date>
    <item>
      <title>removal of VG from package.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removal-of-vg-from-package/m-p/3252674#M706694</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I want to remove one of the volume group from package of MC service gaurd setup.&lt;BR /&gt;&lt;BR /&gt;This volume group contains two file systems and both need to be removed from package configuration.&lt;BR /&gt;&lt;BR /&gt;Can I do the same without shutting down complete cluster ? As I need to remove entry from cluster ascii file for that perticular VG.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Apr 2004 13:11:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removal-of-vg-from-package/m-p/3252674#M706694</guid>
      <dc:creator>kirit_2</dc:creator>
      <dc:date>2004-04-19T13:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: removal of VG from package.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removal-of-vg-from-package/m-p/3252675#M706695</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;As far as i know, there are two config files in wich vgconfigs in a cluster are kept.&lt;BR /&gt;The package control file. In this file the volume group and the lvol mount command lines can be deleted. This can be done with a running cluster, The package needs to be down. &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/linux/onlinedocs/B9903-90005/B9903-90005_top.html&amp;amp;con=/linux/onlinedocs/B9903-90005/00/00/37-con.html&amp;amp;toc=/linux/onlinedocs/B9903-90005/00/00/37-toc.html&amp;amp;searchterms=cluster%7conline&amp;amp;queryid=20040419-121710" target="_blank"&gt;http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/linux/onlinedocs/B9903-90005/B9903-90005_top.html&amp;amp;con=/linux/onlinedocs/B9903-90005/00/00/37-con.html&amp;amp;toc=/linux/onlinedocs/B9903-90005/00/00/37-toc.html&amp;amp;searchterms=cluster%7conline&amp;amp;queryid=20040419-121710&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Go to Reconfiguring a Package on a Running Cluster  section for more info.&lt;BR /&gt;&lt;BR /&gt;The second file is the cluster.ascii file. In this file the vg's that are cluster awaire can be listed.If you alter this file by deleting the vg you can do a cmcheckconf -v -C /etc/cmcluster/*.ascii&lt;BR /&gt;to see if this can be done online. I am not sure.&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;&lt;BR /&gt;Gideon&lt;BR /&gt;The second place is the cluster ascii file.</description>
      <pubDate>Mon, 19 Apr 2004 13:24:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removal-of-vg-from-package/m-p/3252675#M706695</guid>
      <dc:creator>G. Vrijhoeven</dc:creator>
      <dc:date>2004-04-19T13:24:38Z</dc:date>
    </item>
    <item>
      <title>Re: removal of VG from package.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removal-of-vg-from-package/m-p/3252676#M706696</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;You should be able to do this online. Unmount the filesystem. Remove them. Deactivate the VG to which this belongs. Change the VG configuration to remove the cluster awareness for this VG.&lt;BR /&gt;&lt;BR /&gt;vgchange -c n /dev/vg_name.&lt;BR /&gt;&lt;BR /&gt;Edit the Cluster ascii conf file on one of the nodes and remove the name of the VG from the configuration file. Do a cmcheckconf and then do a cmapplyconf. This will apply the changes across all nodes on the cluster. &lt;BR /&gt;&lt;BR /&gt;Don't forget to remove the Filesystems from the package startup script on the node on which this is running and replicate the change across the alternate nodes. You can do this while the package is up and running.&lt;BR /&gt;&lt;BR /&gt;Hope you are not monitoring something within those two filesystems / VG that you are removing that could lead to the package failover.&lt;BR /&gt;&lt;BR /&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Regds&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Apr 2004 14:53:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removal-of-vg-from-package/m-p/3252676#M706696</guid>
      <dc:creator>Sanjay_6</dc:creator>
      <dc:date>2004-04-19T14:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: removal of VG from package.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removal-of-vg-from-package/m-p/3252677#M706697</link>
      <description>Sure you can do it without shutting down the cluster.&lt;BR /&gt;&lt;BR /&gt;   # umount /fs1 &lt;BR /&gt;   # umount /fs2&lt;BR /&gt;   # lvremove /dev/vg01/lvol1&lt;BR /&gt;   # lvremove /dev/vg01/lvol2&lt;BR /&gt;   # vgchange -c n /dev/vg01&lt;BR /&gt;   # vgchange -a n /dev/vg01&lt;BR /&gt;   # vgexport /dev/vg01&lt;BR /&gt;&lt;BR /&gt;Edit the package control file and remove the reference to the volume group and its file systems&lt;BR /&gt;&lt;BR /&gt;Edit the cluster ascii file and remove the volume group from the cluster aware volume groups list. &lt;BR /&gt;&lt;BR /&gt;In the other nodes that have the volume group imported run vgexport and remove the volume group from /etc/lvmtab and also the device files for the vg&lt;BR /&gt;&lt;BR /&gt;Copy the package control file and cluster ascii file to the other nodes in the cluster.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Apr 2004 15:23:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removal-of-vg-from-package/m-p/3252677#M706697</guid>
      <dc:creator>Sundar_7</dc:creator>
      <dc:date>2004-04-19T15:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: removal of VG from package.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removal-of-vg-from-package/m-p/3252678#M706698</link>
      <description>One thing to be careful of, when removing the volume group from the package... Insure that if there are any remaining references to logical volumes in the package control script, that they be properly sequenced, beginning with array variable 0.  &lt;BR /&gt;Example:&lt;BR /&gt;LV[0]="/dev/vg01/lvol1"; FS[0]="/sg1"; FS_MOUNT_OPT[0]="-o rw"&lt;BR /&gt;LV[1]="/dev/vg01/lvol2"; FS[1]="/sg2"; FS_MOUNT_OPT[1]="-o rw"&lt;BR /&gt;LV[2]="/dev/vg01/lvol3"; FS[2]="/dump5"; FS_MOUNT_OPT[2]="-o rw"&lt;BR /&gt;LV[3]="/dev/vg01/lvol4"; FS[3]="/depot"; FS_MOUNT_OPT[3]="-o rw"&lt;BR /&gt;&lt;BR /&gt;If you were to remove the second lvol above, the array values of 2 and 3 would have to be changed to 1 and 2 in order for the script to work properly.&lt;BR /&gt;&lt;BR /&gt;-SD-</description>
      <pubDate>Tue, 20 Apr 2004 06:43:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removal-of-vg-from-package/m-p/3252678#M706698</guid>
      <dc:creator>Stephen Doud</dc:creator>
      <dc:date>2004-04-20T06:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: removal of VG from package.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removal-of-vg-from-package/m-p/3252679#M706699</link>
      <description>FYI as additional information;&lt;BR /&gt;&lt;BR /&gt;Here are a couple of links that point to documentation that shows what can and can't be done with the cluster/package in the running/halted states.&lt;BR /&gt;&lt;BR /&gt;Cluster Configuration(see Table 2):&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/B3936-90065/00/00/51-con.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/B3936-90065/00/00/51-con.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Package Configuration(see Table 3):&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/B3936-90065/00/00/52-con.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/B3936-90065/00/00/52-con.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The whole manual(A.11.14) starts at:&lt;BR /&gt;&lt;A href="http://docs.hp.com/hpux/onlinedocs/B3936-90065/00/00/1-con.html" target="_blank"&gt;http://docs.hp.com/hpux/onlinedocs/B3936-90065/00/00/1-con.html&lt;/A&gt;&lt;BR /&gt;This is a great resource.</description>
      <pubDate>Mon, 10 May 2004 14:24:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removal-of-vg-from-package/m-p/3252679#M706699</guid>
      <dc:creator>Scott J. Showalter</dc:creator>
      <dc:date>2004-05-10T14:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: removal of VG from package.</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/removal-of-vg-from-package/m-p/3252680#M706700</link>
      <description>I would implement that in dev or test first if you have those setup in like environments just to give you a warm fuzzy about changes too the scripts :) and that the applications are happy with those filesystems being gone.  Also would not hurt to do a test failover.   It only takes one typo.</description>
      <pubDate>Mon, 10 May 2004 14:56:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/removal-of-vg-from-package/m-p/3252680#M706700</guid>
      <dc:creator>generic_1</dc:creator>
      <dc:date>2004-05-10T14:56:22Z</dc:date>
    </item>
  </channel>
</rss>

