<?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: auto start package in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/auto-start-package/m-p/4778324#M660889</link>
    <description>you need to check both LOCAL and GLOBAL enablement, so use cmviewcl -v to make sure it is enabled</description>
    <pubDate>Sun, 17 Apr 2011 11:49:15 GMT</pubDate>
    <dc:creator>melvyn burnard</dc:creator>
    <dc:date>2011-04-17T11:49:15Z</dc:date>
    <item>
      <title>auto start package</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auto-start-package/m-p/4778320#M660885</link>
      <description>Hello,&lt;BR /&gt;I halted package and restarted the server for application maintanence. After starting the server package didint start automatically. I started manually. AUTO_RUN is set as YES.&lt;BR /&gt;Is it normal behaviour?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 17 Apr 2011 06:35:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auto-start-package/m-p/4778320#M660885</guid>
      <dc:creator>yash123</dc:creator>
      <dc:date>2011-04-17T06:35:50Z</dc:date>
    </item>
    <item>
      <title>Re: auto start package</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auto-start-package/m-p/4778321#M660886</link>
      <description>The AUTO_RUN setting in the package configuration is the _initial state_ for that package. It is used when the entire cluster is starting up, and not at any other time.&lt;BR /&gt;&lt;BR /&gt;The AUTO_RUN setting displayed by the cmviewcl command is the _current state_ of AUTO_RUN for that package. After the cluster has started up, it is independent of the AUTO_RUN setting in the configuration file. &lt;BR /&gt;&lt;BR /&gt;If the _current state_ of AUTO_RUN is NO, the package won't failover at all. In short, the AUTO_RUN attribute is the switch that "arms" or "disarms" the failover logic for the package.&lt;BR /&gt;&lt;BR /&gt;When the cluster is already running, it keeps track of the AUTO_RUN states of each package separately. When you halt a package using cmhaltpkg, the cmhaltpkg command will automatically disable AUTO_RUN for that package. If it didn't do that, then Serviceguard would think the package must be restarted immediately, and would either restart the package on the same node, or fail it over to a different node, depending on other settings in the package configuration.&lt;BR /&gt;&lt;BR /&gt;All the currently-supported versions of Serviceguard will remind you that AUTO_RUN will be automatically switched off when you use the cmhaltpkg command.&lt;BR /&gt;&lt;BR /&gt;When you restarted the server, the server left the cluster for the duration of the reboot. Once it joined back to the cluster, the other node(s) informed it about the current state of the package(s). The last order you gave regarding the package was to halt it: the cluster still "remembers" that order, so the rejoining node is told that the package should stay in the halted state until the sysadmin gives other commands or the entire cluster is restarted.&lt;BR /&gt;&lt;BR /&gt;So yes, this is normal behaviour.&lt;BR /&gt;&lt;BR /&gt;When you start a package with cmrunpkg, the package will start, but its AUTO_RUN attribute will still remain in NO state: once you're satisfied the package has started up correctly, you should re-arm the failover logic by using "cmmodpkg -e &lt;PACKAGE_NAME&gt;", or the package won't failover automatically.&lt;BR /&gt;&lt;BR /&gt;MK&lt;/PACKAGE_NAME&gt;</description>
      <pubDate>Sun, 17 Apr 2011 08:24:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auto-start-package/m-p/4778321#M660886</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2011-04-17T08:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: auto start package</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auto-start-package/m-p/4778322#M660887</link>
      <description>Thanks a lot for the clear explanation. &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Sun, 17 Apr 2011 09:39:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auto-start-package/m-p/4778322#M660887</guid>
      <dc:creator>yash123</dc:creator>
      <dc:date>2011-04-17T09:39:18Z</dc:date>
    </item>
    <item>
      <title>Re: auto start package</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auto-start-package/m-p/4778323#M660888</link>
      <description>do I need to specify node name while enable package switching or the below command is enough.&lt;BR /&gt;this is a 2 node cluster and package is running on primary node&lt;BR /&gt;&lt;BR /&gt;cmmodepkg -e pkgname&lt;BR /&gt;</description>
      <pubDate>Sun, 17 Apr 2011 09:44:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auto-start-package/m-p/4778323#M660888</guid>
      <dc:creator>yash123</dc:creator>
      <dc:date>2011-04-17T09:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: auto start package</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auto-start-package/m-p/4778324#M660889</link>
      <description>you need to check both LOCAL and GLOBAL enablement, so use cmviewcl -v to make sure it is enabled</description>
      <pubDate>Sun, 17 Apr 2011 11:49:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auto-start-package/m-p/4778324#M660889</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2011-04-17T11:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: auto start package</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auto-start-package/m-p/4778325#M660890</link>
      <description>Hi Melvin,&lt;BR /&gt;please find the cmviewcl -v output&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;    PACKAGE      STATUS       STATE        AUTO_RUN     NODE&lt;BR /&gt;    ebspk        up           running      disabled     ebsprd2&lt;BR /&gt; Policy_Parameters:&lt;BR /&gt;      POLICY_NAME     CONFIGURED_VALUE&lt;BR /&gt;      Failover        configured_node&lt;BR /&gt;      Failback        manual&lt;BR /&gt;Node_Switching_Parameters:&lt;BR /&gt;      NODE_TYPE    STATUS       SWITCHING    NAME&lt;BR /&gt;      Primary      up           enabled      ebsprd2      (current)&lt;BR /&gt;      Alternate    up           disabled     ebsprd3&lt;BR /&gt;&lt;BR /&gt;  NODE         STATUS       STATE&lt;BR /&gt;  ebsprd3      up           running</description>
      <pubDate>Mon, 18 Apr 2011 03:17:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auto-start-package/m-p/4778325#M660890</guid>
      <dc:creator>yash123</dc:creator>
      <dc:date>2011-04-18T03:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: auto start package</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auto-start-package/m-p/4778326#M660891</link>
      <description>You will see here that auto run is disabled on node ebsprd2. This means it will not automatically start there if there is a failure.&lt;BR /&gt;&lt;BR /&gt;You should run cmmodpkg -e -n ebsprd2 to enable it an allow it to auto run on that node.</description>
      <pubDate>Mon, 18 Apr 2011 08:06:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auto-start-package/m-p/4778326#M660891</guid>
      <dc:creator>John Bigg</dc:creator>
      <dc:date>2011-04-18T08:06:25Z</dc:date>
    </item>
    <item>
      <title>Re: auto start package</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/auto-start-package/m-p/4778327#M660892</link>
      <description>Sorry, the messed up tabular format confused me. I made a mistake in the last post. Auto run/switching is enabled on ebsprd2 but not globally or on ebsprd3. Therefore you need to enable it globally and for node ebsprd3:&lt;BR /&gt;&lt;BR /&gt;cmmodpkg -e ebspk&lt;BR /&gt;cmmodpkg -e -n ebsprd3 ebspk&lt;BR /&gt;&lt;BR /&gt;This will ensure that it can run on ebsprd3 in the event of a failure on ebsprd2.&lt;BR /&gt;&lt;BR /&gt;Hope I did not confuse you further.</description>
      <pubDate>Mon, 18 Apr 2011 08:17:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/auto-start-package/m-p/4778327#M660892</guid>
      <dc:creator>John Bigg</dc:creator>
      <dc:date>2011-04-18T08:17:51Z</dc:date>
    </item>
  </channel>
</rss>

