<?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: How can I control the order in which the packages stop when running â  cmhaltcf â in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-control-the-order-in-which-the-packages-stop-when/m-p/3096421#M708577</link>
    <description>Package shutdown in SG cluster is  completed in sequence. &lt;BR /&gt;&lt;BR /&gt;Packages with the lower package ID will be shutdown first,  then other packages in ascending order. &lt;BR /&gt;&lt;BR /&gt;Use cmviewconf to find out the package ID for the packages. You can drop and add the packages to make then in the order you want. &lt;BR /&gt;&lt;BR /&gt;Other way around is, put "cmhaltpkg APP2" in the customer defined halt command section as a first step in APP1's control script.  I have tested both methods and both works fine. &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Pramod&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Fri, 17 Oct 2003 15:46:19 GMT</pubDate>
    <dc:creator>Pramod_4</dc:creator>
    <dc:date>2003-10-17T15:46:19Z</dc:date>
    <item>
      <title>How can I control the order in which the packages stop when running â  cmhaltcf â</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-control-the-order-in-which-the-packages-stop-when/m-p/3096415#M708571</link>
      <description>Greetings,&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In order to stop my cluster in a more graceful order I would like to stop packages in a pre-defined order. Package APP1 runs a database, therefore I would like to stop at last:&lt;BR /&gt;&lt;BR /&gt;# cmhaltcl -f&lt;BR /&gt;Disabling package switching to all nodes being halted.&lt;BR /&gt;Warning:  Do not modify or enable packages until the halt operation is completed.&lt;BR /&gt;&lt;BR /&gt;Halting Package DB&lt;BR /&gt;Halting Package APP1&lt;BR /&gt;Halting Package APP2&lt;BR /&gt;&lt;BR /&gt;Any help/suggestion is highly appreciated. &lt;BR /&gt;&lt;BR /&gt;Thanks in advance for your help, &lt;BR /&gt;&lt;BR /&gt;Kind Regards, &lt;BR /&gt;&lt;BR /&gt;Rui Vilao</description>
      <pubDate>Fri, 17 Oct 2003 14:05:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-control-the-order-in-which-the-packages-stop-when/m-p/3096415#M708571</guid>
      <dc:creator>Rui Vilao</dc:creator>
      <dc:date>2003-10-17T14:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: How can I control the order in which the packages stop when running â  cmhaltcf â</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-control-the-order-in-which-the-packages-stop-when/m-p/3096416#M708572</link>
      <description>When cmhaltcl -f is executed you can not control package shutdown order. They are shutdown simultanously.&lt;BR /&gt;&lt;BR /&gt;You should be using cmhaltpkg -p "package you want" -v&lt;BR /&gt;starting with package you want to shutdown first.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Oct 2003 14:20:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-control-the-order-in-which-the-packages-stop-when/m-p/3096416#M708572</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2003-10-17T14:20:31Z</dc:date>
    </item>
    <item>
      <title>Re: How can I control the order in which the packages stop when running â  cmhaltcf â</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-control-the-order-in-which-the-packages-stop-when/m-p/3096417#M708573</link>
      <description>If you only have 3, have you considered just stopping the packages individually (cmhaltpkg) in the order you want, and then stopping your cluster....&lt;BR /&gt;&lt;BR /&gt;Just a thought,&lt;BR /&gt;Rita&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Oct 2003 14:25:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-control-the-order-in-which-the-packages-stop-when/m-p/3096417#M708573</guid>
      <dc:creator>Rita C Workman</dc:creator>
      <dc:date>2003-10-17T14:25:54Z</dc:date>
    </item>
    <item>
      <title>Re: How can I control the order in which the packages stop when running â  cmhaltcf â</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-control-the-order-in-which-the-packages-stop-when/m-p/3096418#M708574</link>
      <description>Hi RAC &amp;amp; Rita.&lt;BR /&gt;&lt;BR /&gt;Well, I am writing a shutdown procedure for the customer... If I could use cmhaltcl -f it would be nicer that stopping every package individually...&lt;BR /&gt;&lt;BR /&gt;RAC: Packages are stopped sequentially, not simultaneously.&lt;BR /&gt;&lt;BR /&gt;Many thanks.&lt;BR /&gt;&lt;BR /&gt;Rui.</description>
      <pubDate>Fri, 17 Oct 2003 14:31:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-control-the-order-in-which-the-packages-stop-when/m-p/3096418#M708574</guid>
      <dc:creator>Rui Vilao</dc:creator>
      <dc:date>2003-10-17T14:31:57Z</dc:date>
    </item>
    <item>
      <title>Re: How can I control the order in which the packages stop when running â  cmhaltcf â</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-control-the-order-in-which-the-packages-stop-when/m-p/3096419#M708575</link>
      <description>Rui,&lt;BR /&gt;&lt;BR /&gt;When cmhaltcl -f is executed it is forceful shutdown. Bear in mind that the packages may be running on different nodes. Then the cmhaltpkg is executed on another node. That is the packages are halted simultanously.&lt;BR /&gt;&lt;BR /&gt;I would rather prefer using cmhaltpkg. (I can control the shutdown order)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Oct 2003 14:47:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-control-the-order-in-which-the-packages-stop-when/m-p/3096419#M708575</guid>
      <dc:creator>RAC_1</dc:creator>
      <dc:date>2003-10-17T14:47:27Z</dc:date>
    </item>
    <item>
      <title>Re: How can I control the order in which the packages stop when running â  cmhaltcf â</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-control-the-order-in-which-the-packages-stop-when/m-p/3096420#M708576</link>
      <description>You could just script it:&lt;BR /&gt;&lt;BR /&gt;#!/usr/bin/ksh&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;cmhaltpkg pkg3&lt;BR /&gt;cmhaltpkg pkg2&lt;BR /&gt;cmhaltpkg pkg1&lt;BR /&gt;cmhaltpkg pkg_app&lt;BR /&gt;&lt;BR /&gt;cmhaltcl -f&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Oct 2003 14:56:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-control-the-order-in-which-the-packages-stop-when/m-p/3096420#M708576</guid>
      <dc:creator>John Dvorchak</dc:creator>
      <dc:date>2003-10-17T14:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: How can I control the order in which the packages stop when running â  cmhaltcf â</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-control-the-order-in-which-the-packages-stop-when/m-p/3096421#M708577</link>
      <description>Package shutdown in SG cluster is  completed in sequence. &lt;BR /&gt;&lt;BR /&gt;Packages with the lower package ID will be shutdown first,  then other packages in ascending order. &lt;BR /&gt;&lt;BR /&gt;Use cmviewconf to find out the package ID for the packages. You can drop and add the packages to make then in the order you want. &lt;BR /&gt;&lt;BR /&gt;Other way around is, put "cmhaltpkg APP2" in the customer defined halt command section as a first step in APP1's control script.  I have tested both methods and both works fine. &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Pramod&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Oct 2003 15:46:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-control-the-order-in-which-the-packages-stop-when/m-p/3096421#M708577</guid>
      <dc:creator>Pramod_4</dc:creator>
      <dc:date>2003-10-17T15:46:19Z</dc:date>
    </item>
    <item>
      <title>Re: How can I control the order in which the packages stop when running â  cmhaltcf â</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-control-the-order-in-which-the-packages-stop-when/m-p/3096422#M708578</link>
      <description>Rui,&lt;BR /&gt;&lt;BR /&gt;As you see in the above answers, you can'nt controle the package if you use cmhaltcl, so to controle this just stop the package with cmhaltpkg, at the same time you can controle the package controle log file.&lt;BR /&gt;I do'nt prefer to you use option (-f) when I stop the cluster,sometimes (saw it my self with version 11.12) the cluster configuration ascii file was coruppt.&lt;BR /&gt;Regards,&lt;BR /&gt;Hamdy</description>
      <pubDate>Sat, 18 Oct 2003 03:56:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-control-the-order-in-which-the-packages-stop-when/m-p/3096422#M708578</guid>
      <dc:creator>Hamdy Al-Sebaey</dc:creator>
      <dc:date>2003-10-18T03:56:47Z</dc:date>
    </item>
    <item>
      <title>Re: How can I control the order in which the packages stop when running â  cmhaltcf â</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-control-the-order-in-which-the-packages-stop-when/m-p/3096423#M708579</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Special thanks to Pramod.&lt;BR /&gt;Your were right. &lt;BR /&gt;&lt;BR /&gt;The order in wich the packages are added to the cluster is the order in which they&lt;BR /&gt;will stop when running "cmhaltcl -f" &lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Rui.</description>
      <pubDate>Sat, 18 Oct 2003 09:21:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-can-i-control-the-order-in-which-the-packages-stop-when/m-p/3096423#M708579</guid>
      <dc:creator>Rui Vilao</dc:creator>
      <dc:date>2003-10-18T09:21:57Z</dc:date>
    </item>
  </channel>
</rss>

