<?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 Disabling package startup in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-package-startup/m-p/3709289#M697146</link>
    <description>Hey all!  I'm fiddling around with one of our serviceguard clusters, and I noticed a very troubling behavior.  We run two packages, a production, and a development.  We run them on separate servers, and have set things up such that when a problem occurs with whatever box the production system is on, the development package goes down, and the production system is brought up on that box.&lt;BR /&gt;&lt;BR /&gt;During testing today, I shut the packages down, rebooted the boxes, and then ran cmrunnode on each server to start the cluster (I like to do this manually instead of having the system do it on bootup).&lt;BR /&gt;&lt;BR /&gt;Argh!  Both packages attempted to start simultaneously on one of the servers!  Very very very VERY bad times.  I was able to corral things before they got out of control, but I need to figure out where in the control scripts I can disable automatic package startup on node startup.  I want to be able to start the cluster software on each node, and then manually start the packages on each server, and THEN use cmmodpkg -e PKG_NAME to enable ONLY THE PROD PACKAGE for failover.&lt;BR /&gt;&lt;BR /&gt;Any idea where this setting might reside?&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
    <pubDate>Sat, 14 Jan 2006 16:38:35 GMT</pubDate>
    <dc:creator>Matt Hearn</dc:creator>
    <dc:date>2006-01-14T16:38:35Z</dc:date>
    <item>
      <title>Disabling package startup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-package-startup/m-p/3709289#M697146</link>
      <description>Hey all!  I'm fiddling around with one of our serviceguard clusters, and I noticed a very troubling behavior.  We run two packages, a production, and a development.  We run them on separate servers, and have set things up such that when a problem occurs with whatever box the production system is on, the development package goes down, and the production system is brought up on that box.&lt;BR /&gt;&lt;BR /&gt;During testing today, I shut the packages down, rebooted the boxes, and then ran cmrunnode on each server to start the cluster (I like to do this manually instead of having the system do it on bootup).&lt;BR /&gt;&lt;BR /&gt;Argh!  Both packages attempted to start simultaneously on one of the servers!  Very very very VERY bad times.  I was able to corral things before they got out of control, but I need to figure out where in the control scripts I can disable automatic package startup on node startup.  I want to be able to start the cluster software on each node, and then manually start the packages on each server, and THEN use cmmodpkg -e PKG_NAME to enable ONLY THE PROD PACKAGE for failover.&lt;BR /&gt;&lt;BR /&gt;Any idea where this setting might reside?&lt;BR /&gt;&lt;BR /&gt;Thanks!</description>
      <pubDate>Sat, 14 Jan 2006 16:38:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-package-startup/m-p/3709289#M697146</guid>
      <dc:creator>Matt Hearn</dc:creator>
      <dc:date>2006-01-14T16:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling package startup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-package-startup/m-p/3709290#M697147</link>
      <description>In the package control script:&lt;BR /&gt;&lt;BR /&gt;AUTO_RUN&lt;BR /&gt;&lt;BR /&gt;1 means run&lt;BR /&gt;0 means not&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sat, 14 Jan 2006 16:42:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-package-startup/m-p/3709290#M697147</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-01-14T16:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling package startup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-package-startup/m-p/3709291#M697148</link>
      <description>I can't find an auto_run setting in any of my control scripts.  I see it in the config script; does changing that script mean I have to recompile the cluster?</description>
      <pubDate>Sat, 14 Jan 2006 16:47:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-package-startup/m-p/3709291#M697148</guid>
      <dc:creator>Matt Hearn</dc:creator>
      <dc:date>2006-01-14T16:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling package startup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-package-startup/m-p/3709292#M697149</link>
      <description>After a change:&lt;BR /&gt;&lt;BR /&gt;cmcheckconf -P packagename.ascii&lt;BR /&gt;&lt;BR /&gt;or packagename.ctl naming convention is not important.&lt;BR /&gt;&lt;BR /&gt;cmapplyconf -P packagename.ascii&lt;BR /&gt;&lt;BR /&gt;cmruncl -v&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sat, 14 Jan 2006 16:58:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-package-startup/m-p/3709292#M697149</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2006-01-14T16:58:31Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling package startup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-package-startup/m-p/3709293#M697150</link>
      <description>Well you could change the AUTO_RUN to a 0 in the package configuration file, and then do cmapplyconf -v -P package.config file.&lt;BR /&gt;A better way would be to use cmruncl, and not cmrunnode, this way the cluster starts up and should automatically start each package on it's primary node.&lt;BR /&gt;Using cmrunnode is not the correct way to start a cluster&lt;BR /&gt;</description>
      <pubDate>Sat, 14 Jan 2006 17:03:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-package-startup/m-p/3709293#M697150</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2006-01-14T17:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling package startup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-package-startup/m-p/3709294#M697151</link>
      <description>Hi Matt,&lt;BR /&gt; you have to  change the AUTO_RUN to a 0 in the package configuration file,(/etc/cmcluster) and then do cmapplyconf -v -P package.config file.&lt;BR /&gt;It will not ask for a recompilation.A better way would be to use cmruncl, and not cmrunnode, this way the cluster starts up and should automatically start each package on it's primary node.but if you changed the Auto_RUN=0,then youe packages will not automatically start.then you will have to use cmrunpkg -n node name.After start the packages you can modify ur packages according ur setting.&lt;BR /&gt;To use cmrunnode is not the correct way to start a cluster&lt;BR /&gt; Karan</description>
      <pubDate>Sat, 14 Jan 2006 22:15:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-package-startup/m-p/3709294#M697151</guid>
      <dc:creator>karan_3</dc:creator>
      <dc:date>2006-01-14T22:15:35Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling package startup</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/disabling-package-startup/m-p/3709295#M697152</link>
      <description>To prevent a package from starting when the cluster is forming, insure the AUTO_RUN value is set to NO (not 0), and configured that way in the cluster binary file.&lt;BR /&gt;Use 'cmviewconf' to inspect the contents of the cluster binary file.&lt;BR /&gt;If you are not certain where the package configuration file is, you may recreate it using 'cmgetconf -p &lt;PACKAGE name=""&gt; &amp;gt; output filename'.&lt;BR /&gt;Normally, the package configuration file is in the package directory on at least one of the cluster nodes, under /etc/cmcluster.&lt;BR /&gt;Note that to change the AUTO_RUN value from YES to NO in the cluster binary, you must halt that package before performing the 'cmapplyconf' command on the package configuration file.&lt;/PACKAGE&gt;</description>
      <pubDate>Mon, 16 Jan 2006 09:27:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/disabling-package-startup/m-p/3709295#M697152</guid>
      <dc:creator>Stephen Doud</dc:creator>
      <dc:date>2006-01-16T09:27:49Z</dc:date>
    </item>
  </channel>
</rss>

