<?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: FileSystem Removal in a Cluster Node Pair in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-removal-in-a-cluster-node-pair/m-p/3380051#M197370</link>
    <description>Hi Cliff,&lt;BR /&gt;&lt;BR /&gt;Yes. You can remove the logical volume if the cluster is running provided stopping the processes on that filesystem will not affect serviceguard functionality (like monitoring those processes through serviceguard etc.,). Be careful while editing the control script. Syntax errors can result the package halt to fail subsequently. &lt;BR /&gt;&lt;BR /&gt;Regarding modifying the control files, you have to modify them in any case. on the same note, I copy the serviceguard files from the other node instead of editing the file on the node itself. That's what I meant by sync'ing up.&lt;BR /&gt;&lt;BR /&gt; You can run vgchange -a e when the package is down. It's better to run vgchange -a n once you are done as 'vgchange -a e' may not necessarily be the activation policy in your package configuration. You can run vgchange -c n steps too but they are nothing but few extra steps.&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;</description>
    <pubDate>Thu, 16 Sep 2004 00:14:45 GMT</pubDate>
    <dc:creator>Sridhar Bhaskarla</dc:creator>
    <dc:date>2004-09-16T00:14:45Z</dc:date>
    <item>
      <title>FileSystem Removal in a Cluster Node Pair</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-removal-in-a-cluster-node-pair/m-p/3380048#M197367</link>
      <description>Gd Day Forum,&lt;BR /&gt;&lt;BR /&gt;I will need to remove a filesytem /mnt/KCCAFPRD2/data04 on /dev/vg02/lvol4 from my cluster package named kcb2bprd. &lt;BR /&gt;&lt;BR /&gt;This are the steps I will be performing:-&lt;BR /&gt;&lt;BR /&gt;1.Stop the package kccafprd&lt;BR /&gt; cmhaltpkg -v kcb2bprd&lt;BR /&gt;2.Unmark vg02 from cluster and activate vg02&lt;BR /&gt;        vgchange –c n vg02&lt;BR /&gt;        vgchange –a y vg02&lt;BR /&gt;3. Remove logical volume /dev/vg02/lvol4 &lt;BR /&gt; lvremove /dev/vg02/lvol4&lt;BR /&gt;4. Modify the /etc/cmcluster/kccafprd2/kccafprd2.cntl file in both the primary and secondary node, by removing the entry LV[3]=/dev/vg02/lvol4; FS[3]=/oracle/KCCAFPRD2/data04; FS_MOUNT_OPT[3]="-o rw,suid,largefiles"&lt;BR /&gt;5. I presume I need to do a vgexport of vg02 in the primary node and then a vgimport vg02 in the secondary node.&lt;BR /&gt;6.Deactivate vg02 and mark to cluster&lt;BR /&gt;vgchange –a n vg02&lt;BR /&gt;vgchange –c y vg02&lt;BR /&gt;7.Start cluster kcb2bprd&lt;BR /&gt;cmrunpkg –v kcb2bprd&lt;BR /&gt;&lt;BR /&gt;Queries:&lt;BR /&gt;&lt;BR /&gt;- Can anyone advise me on step 5 on how to perform a vgexport and vgimport?&lt;BR /&gt;- Can I check do I need to modify the /etc/fstab file cause I dont see any entry there for filesytem /mnt/KCCAFPRD2/data04.&lt;BR /&gt;- Finally did I miss out any steps needed?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance for the render help.&lt;BR /&gt;&lt;BR /&gt;regards/cliff&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Sep 2004 22:41:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-removal-in-a-cluster-node-pair/m-p/3380048#M197367</guid>
      <dc:creator>Cliff Lim Kok Hwee</dc:creator>
      <dc:date>2004-09-15T22:41:34Z</dc:date>
    </item>
    <item>
      <title>Re: FileSystem Removal in a Cluster Node Pair</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-removal-in-a-cluster-node-pair/m-p/3380049#M197368</link>
      <description>Hi Cliff,&lt;BR /&gt;&lt;BR /&gt;You may not need to unmount the filesystem unless it is heavily used by the application. If there are no processes associated with that filesystem, you can remove it while the package is up and running. In case if you have to bring down the package, then I would do 'vgchange -a e vg02' instead of those two vgchange steps. &lt;BR /&gt;&lt;BR /&gt;Regarding point 5, yes you will need to do a vgexport and import of vg02. The easier way is&lt;BR /&gt;&lt;BR /&gt;5a. Generate the map file on the primary node.&lt;BR /&gt;&lt;BR /&gt;Primary Node:&lt;BR /&gt;&lt;BR /&gt;vgexport -p -v -s -m /tmp/vg02.map&lt;BR /&gt;Copy /tmp/vg02.map file to the alternate node&lt;BR /&gt;&lt;BR /&gt;Secondary Node:&lt;BR /&gt;&lt;BR /&gt;ll /dev/vg02/group (note the minor number say 0x020000)&lt;BR /&gt;&lt;BR /&gt;vgexport vg02&lt;BR /&gt;mkdir /dev/vg02&lt;BR /&gt;mknod /dev/vg02/group c 64 0x020000&lt;BR /&gt;vgimport -v -s -m /tmp/vg02.map vg02&lt;BR /&gt;&lt;BR /&gt;When you get a chance, run the package on secondary node and make sure things work. Don't forget to sync the control files. There wont' be any entry for ServiceGuarded filesystems in /etc/fstab.&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Sep 2004 23:30:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-removal-in-a-cluster-node-pair/m-p/3380049#M197368</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-09-15T23:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: FileSystem Removal in a Cluster Node Pair</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-removal-in-a-cluster-node-pair/m-p/3380050#M197369</link>
      <description>Sri,&lt;BR /&gt;&lt;BR /&gt;Thanks for the advise.&lt;BR /&gt;&lt;BR /&gt;Need to verify with u the following:-&lt;BR /&gt;&lt;BR /&gt;- If I can remove the filesystem together with the logical volume while the package is up and running, there is still a need to modify the package control file in both nodes and vgexport and reimport procedure am I right?&lt;BR /&gt;&lt;BR /&gt;- vgchange -a e is applicable even with the package down? By running vgchange -c n and vgchange -a y is it allowed too? If vgchange -a e is applicable for step 6 I will run vgchange -a n vg02 to deactivate it?&lt;BR /&gt;&lt;BR /&gt;- U mentioned sync control files meaning to manually edit the /etc/cmcluster/kccafprd2/kccafprd2.cntl file as in step 4 on both primary and secondary node. Am I correct?&lt;BR /&gt;&lt;BR /&gt;thanks n regards/cliff&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Sep 2004 23:59:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-removal-in-a-cluster-node-pair/m-p/3380050#M197369</guid>
      <dc:creator>Cliff Lim Kok Hwee</dc:creator>
      <dc:date>2004-09-15T23:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: FileSystem Removal in a Cluster Node Pair</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-removal-in-a-cluster-node-pair/m-p/3380051#M197370</link>
      <description>Hi Cliff,&lt;BR /&gt;&lt;BR /&gt;Yes. You can remove the logical volume if the cluster is running provided stopping the processes on that filesystem will not affect serviceguard functionality (like monitoring those processes through serviceguard etc.,). Be careful while editing the control script. Syntax errors can result the package halt to fail subsequently. &lt;BR /&gt;&lt;BR /&gt;Regarding modifying the control files, you have to modify them in any case. on the same note, I copy the serviceguard files from the other node instead of editing the file on the node itself. That's what I meant by sync'ing up.&lt;BR /&gt;&lt;BR /&gt; You can run vgchange -a e when the package is down. It's better to run vgchange -a n once you are done as 'vgchange -a e' may not necessarily be the activation policy in your package configuration. You can run vgchange -c n steps too but they are nothing but few extra steps.&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Sep 2004 00:14:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-removal-in-a-cluster-node-pair/m-p/3380051#M197370</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-09-16T00:14:45Z</dc:date>
    </item>
    <item>
      <title>Re: FileSystem Removal in a Cluster Node Pair</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-removal-in-a-cluster-node-pair/m-p/3380052#M197371</link>
      <description>Sri,&lt;BR /&gt;&lt;BR /&gt;Copying from the modified control file of primary node over to the secondary node is easier I presume.&lt;BR /&gt;&lt;BR /&gt;- Check with u all I need is to remove the filesystem entry 'LV[3]=/dev/vg02/lvol4; FS[3]=/oracle/KCCAFPRD2/data04; FS_MOUNT_OPT[3]="-o rw,suid,largefiles"'&lt;BR /&gt;from the package control file will do? Is there any other package file I might have missed out?&lt;BR /&gt;&lt;BR /&gt;- vgexport -p -v -s -m /tmp/vg02.map in primary node in preview mode -m to generate the map file, does not matter if vg is currently activated. Am I correct?&lt;BR /&gt;&lt;BR /&gt;- vgexport and vgimport in the secondary node should have no concern with the vg activation since it is not activated at all. Am I right? &lt;BR /&gt;&lt;BR /&gt;thanks n regards/cliff</description>
      <pubDate>Thu, 16 Sep 2004 02:52:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-removal-in-a-cluster-node-pair/m-p/3380052#M197371</guid>
      <dc:creator>Cliff Lim Kok Hwee</dc:creator>
      <dc:date>2004-09-16T02:52:35Z</dc:date>
    </item>
    <item>
      <title>Re: FileSystem Removal in a Cluster Node Pair</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-removal-in-a-cluster-node-pair/m-p/3380053#M197372</link>
      <description>Hi Cliff,&lt;BR /&gt;&lt;BR /&gt;// Check with u all I need is to remove the filesystem entry 'LV[3]=/dev/vg02/lvol4; FS[3]=/oracle/KCCAFPRD2/data04; FS_MOUNT_OPT[3]="-o rw,suid,largefiles"'&lt;BR /&gt;from the package control file will do? Is there any other package file I might have missed out?//&lt;BR /&gt;&lt;BR /&gt;Yes. That's the only place where you will specify the filesystem.&lt;BR /&gt;&lt;BR /&gt;//- vgexport -p -v -s -m /tmp/vg02.map in primary node in preview mode -m to generate the map file, does not matter if vg is currently activated. Am I correct?//&lt;BR /&gt;&lt;BR /&gt;Correct. It may give out errors like "vg is active" etc., but still will generate the map file.&lt;BR /&gt;&lt;BR /&gt;//- vgexport and vgimport in the secondary node should have no concern with the vg activation since it is not activated at all. Am I right? //&lt;BR /&gt;&lt;BR /&gt;Yes. Only import the VG. Do not activate it.&lt;BR /&gt;&lt;BR /&gt;-Sri&lt;BR /&gt;</description>
      <pubDate>Thu, 16 Sep 2004 02:56:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-removal-in-a-cluster-node-pair/m-p/3380053#M197372</guid>
      <dc:creator>Sridhar Bhaskarla</dc:creator>
      <dc:date>2004-09-16T02:56:30Z</dc:date>
    </item>
    <item>
      <title>Re: FileSystem Removal in a Cluster Node Pair</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-removal-in-a-cluster-node-pair/m-p/3380054#M197373</link>
      <description>Thanks for all the advise Sri&lt;BR /&gt;&lt;BR /&gt;cheers/cliff</description>
      <pubDate>Thu, 16 Sep 2004 06:22:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/filesystem-removal-in-a-cluster-node-pair/m-p/3380054#M197373</guid>
      <dc:creator>Cliff Lim Kok Hwee</dc:creator>
      <dc:date>2004-09-16T06:22:59Z</dc:date>
    </item>
  </channel>
</rss>

