<?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 Package Auto run Question in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/package-auto-run-question/m-p/4473399#M361564</link>
    <description>On our Itanium 2 node cluster setup , I issued  a shutdown -ry command on primary node where 2 packages are running.&lt;BR /&gt;&lt;BR /&gt;I was under impression then when u explicitly issue any command the cluster doesnt failovers the package to other node . it halts them . This was my understanding.&lt;BR /&gt;&lt;BR /&gt;But after reboot the cluster failovered one of the package while the other package could not be failovered. I checked the logs and found that one FileSystem was not unmounted properly for that package and the package halt was failed.&lt;BR /&gt;&lt;BR /&gt;Could this be the reason the package did not failover..&lt;BR /&gt;&lt;BR /&gt;and the other question is was my understanding wrong. How can that one package failover when i issued an shutdown.. Which setting made that failover of thth package possible &lt;BR /&gt;&lt;BR /&gt;Note : Auto_run is set to yes on both package config files... and in cmviewcl also the auto_run showed enabled on primary node before shutdown. Please answer..</description>
    <pubDate>Wed, 05 Aug 2009 04:45:43 GMT</pubDate>
    <dc:creator>raiden</dc:creator>
    <dc:date>2009-08-05T04:45:43Z</dc:date>
    <item>
      <title>Package Auto run Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/package-auto-run-question/m-p/4473399#M361564</link>
      <description>On our Itanium 2 node cluster setup , I issued  a shutdown -ry command on primary node where 2 packages are running.&lt;BR /&gt;&lt;BR /&gt;I was under impression then when u explicitly issue any command the cluster doesnt failovers the package to other node . it halts them . This was my understanding.&lt;BR /&gt;&lt;BR /&gt;But after reboot the cluster failovered one of the package while the other package could not be failovered. I checked the logs and found that one FileSystem was not unmounted properly for that package and the package halt was failed.&lt;BR /&gt;&lt;BR /&gt;Could this be the reason the package did not failover..&lt;BR /&gt;&lt;BR /&gt;and the other question is was my understanding wrong. How can that one package failover when i issued an shutdown.. Which setting made that failover of thth package possible &lt;BR /&gt;&lt;BR /&gt;Note : Auto_run is set to yes on both package config files... and in cmviewcl also the auto_run showed enabled on primary node before shutdown. Please answer..</description>
      <pubDate>Wed, 05 Aug 2009 04:45:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/package-auto-run-question/m-p/4473399#M361564</guid>
      <dc:creator>raiden</dc:creator>
      <dc:date>2009-08-05T04:45:43Z</dc:date>
    </item>
    <item>
      <title>Re: Package Auto run Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/package-auto-run-question/m-p/4473400#M361565</link>
      <description>Hi Raiden,&lt;BR /&gt;&lt;BR /&gt;If you have enabled global switching for those packages, then it will failover to it's configured alternate node when the primary node for the particular package is down. &lt;BR /&gt;&lt;BR /&gt;But when you halt the package using cmhaltcl, packages will not failover. This is how service guard works.</description>
      <pubDate>Wed, 05 Aug 2009 05:33:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/package-auto-run-question/m-p/4473400#M361565</guid>
      <dc:creator>Ganesan R</dc:creator>
      <dc:date>2009-08-05T05:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Package Auto run Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/package-auto-run-question/m-p/4473401#M361566</link>
      <description>Where is global switching set</description>
      <pubDate>Wed, 05 Aug 2009 05:57:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/package-auto-run-question/m-p/4473401#M361566</guid>
      <dc:creator>raiden</dc:creator>
      <dc:date>2009-08-05T05:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: Package Auto run Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/package-auto-run-question/m-p/4473402#M361567</link>
      <description>Hello Raiden,&lt;BR /&gt;&lt;BR /&gt;2 Parameters need to be enabled for a package to switch between nodes.&lt;BR /&gt;1) AUTO_RUN (cmviewcl -v, look under network_parameters)&lt;BR /&gt;&lt;BR /&gt;AUTO_RUN: spcifies whether a pkg can switch to other nodes in case of failure&lt;BR /&gt;&lt;BR /&gt;cmmodpkg -e pkgname&lt;BR /&gt;&lt;BR /&gt;2) NODE_SWITCHING (cmviewcl -v, look under Node_switching parameters,  SWITCHING)&lt;BR /&gt;&lt;BR /&gt;Which node on a per pkg basis can receive the pkg.&lt;BR /&gt;&lt;BR /&gt;cmmodpkg -e -n nodename pgkname&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In your case, if AUTO_RUN is setto YES,  then node_switching must be enabled also, so that, the ohter node can receive the pkg.&lt;BR /&gt;&lt;BR /&gt;in cmviewcl -v&lt;BR /&gt;Node_switching Parameters&lt;BR /&gt;SWITCHING  (under this, you need to see enabled)&lt;BR /&gt;&lt;BR /&gt;(Note: If AUTO_RUN is disabled, then it is irrelevant whehter node_switching is enabled/disabled)&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Aug 2009 06:19:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/package-auto-run-question/m-p/4473402#M361567</guid>
      <dc:creator>Basheer_2</dc:creator>
      <dc:date>2009-08-05T06:19:09Z</dc:date>
    </item>
    <item>
      <title>Re: Package Auto run Question</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/package-auto-run-question/m-p/4473403#M361568</link>
      <description>&amp;gt; I was under impression then when u explicitly issue any command the cluster doesnt failovers the package to other node . it halts them . This was my understanding.&lt;BR /&gt;&lt;BR /&gt;If you explicitly issue a "cmhaltpkg" command, then it auto-disables failover (the AUTO_RUN setting) at the same time. &lt;BR /&gt;&lt;BR /&gt;If you just run "shutdown -ry" when the node is running in a cluster, the shutdown script (/sbin/init.d/cmcluster stop) will execute "cmhaltnode -vf", which will automatically shutdown any packages running on the node and try to failover them. If the package shutdown is free of errors and package configuration allows failover (AUTO_RUN is enabled and there is another node that can run this package) then the package fails over.&lt;BR /&gt;&lt;BR /&gt;The failed umount certainly prevented the failover of the package in your case.&lt;BR /&gt;&lt;BR /&gt;The primary purpose of Serviceguard is to minimize data loss and corruption. If umount fails, the package disk is still mounted on one node and mounting it on another node could cause disk corruption, so Serviceguard refuses to do it.&lt;BR /&gt;&lt;BR /&gt;This is why it is usually very important that the package shutdown actions are correct.&lt;BR /&gt;&lt;BR /&gt;If the package configuration has NODE_FAIL_FAST_ENABLED set to YES, the rules are a bit different because then Serviceguard intentionally crashes the original node when a package failover is executed, to make sure no mounted disks or other resources remain on the original node.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Wed, 05 Aug 2009 06:47:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/package-auto-run-question/m-p/4473403#M361568</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2009-08-05T06:47:28Z</dc:date>
    </item>
  </channel>
</rss>

