<?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: MC/SG pkg startup priority in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/mc-sg-pkg-startup-priority/m-p/3293687#M182633</link>
    <description>&lt;BR /&gt;You can implement package dependencies using EMS.  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In the SEC package config file you put the following &lt;BR /&gt;&lt;BR /&gt;RESOURCE_NAME /cluster/package/package_status/PRI&lt;BR /&gt;  RESOURCE_POLLING_INTERVAL   30 &lt;BR /&gt;  RESOURCE_UP_VALUE = UP&lt;BR /&gt;&lt;BR /&gt;Unfortunately you have to stop the cluster to change EMS stuff. Also make sure you have good ems and check the presence of the resources with the resls command&lt;BR /&gt;&lt;BR /&gt;resls /&lt;BR /&gt;resls /cluster&lt;BR /&gt;resls /cluster/package&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Good luck</description>
    <pubDate>Thu, 03 Jun 2004 07:07:32 GMT</pubDate>
    <dc:creator>Emil Velez</dc:creator>
    <dc:date>2004-06-03T07:07:32Z</dc:date>
    <item>
      <title>MC/SG pkg startup priority</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mc-sg-pkg-startup-priority/m-p/3293682#M182628</link>
      <description>Hello everyone,&lt;BR /&gt;I have 2 Pkg's on the cluster (PRI &amp;amp; SEC) and the SEC pkg depends on the PRI pkg to be up and running, so in case of a failover I need the SEC pkg to wait until the PRI is up and running. Is there a way to do that ?</description>
      <pubDate>Wed, 02 Jun 2004 08:56:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mc-sg-pkg-startup-priority/m-p/3293682#M182628</guid>
      <dc:creator>Andrew_80</dc:creator>
      <dc:date>2004-06-02T08:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: MC/SG pkg startup priority</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mc-sg-pkg-startup-priority/m-p/3293683#M182629</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Not jet. What you can do is create a script that is called in the customer_defined_run_cmds that checks if PRI is up before running the next script. &lt;BR /&gt;&lt;BR /&gt;Something like&lt;BR /&gt;While VAR=0 &lt;BR /&gt;do&lt;BR /&gt;cmviewcl -p &lt;PACKAGE_NAME&gt; | grep -q running&lt;BR /&gt;if [ $? -eq 0 ]&lt;BR /&gt;then&lt;BR /&gt;VAR=1&lt;BR /&gt;else &lt;BR /&gt;VAR=0&lt;BR /&gt;sleep 5&lt;BR /&gt;fi&lt;BR /&gt;done&lt;BR /&gt;&lt;BR /&gt;HTH,&lt;BR /&gt;&lt;BR /&gt;Gideon&lt;/PACKAGE_NAME&gt;</description>
      <pubDate>Wed, 02 Jun 2004 09:00:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mc-sg-pkg-startup-priority/m-p/3293683#M182629</guid>
      <dc:creator>G. Vrijhoeven</dc:creator>
      <dc:date>2004-06-02T09:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: MC/SG pkg startup priority</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mc-sg-pkg-startup-priority/m-p/3293684#M182630</link>
      <description>Package dependencies are not built in yet in service guard , however the control scripts provide enough flexibiity to build your own dependencies .&lt;BR /&gt;&lt;BR /&gt;YOu can script anything in the package control file in hte customer_defined_run_cmds section . You can put enough sleep interval there on SEC package to allow primary to come up before the SEC is started , or you can loop there awaitng for the PRI to complete the startup before starting the SEC .</description>
      <pubDate>Wed, 02 Jun 2004 09:10:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mc-sg-pkg-startup-priority/m-p/3293684#M182630</guid>
      <dc:creator>Ashwani Kashyap</dc:creator>
      <dc:date>2004-06-02T09:10:22Z</dc:date>
    </item>
    <item>
      <title>Re: MC/SG pkg startup priority</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mc-sg-pkg-startup-priority/m-p/3293685#M182631</link>
      <description>You will have to configure it in your customer_defined_run_cmds.&lt;BR /&gt;&lt;BR /&gt;I've attached a rather extensive example.&lt;BR /&gt;&lt;BR /&gt;Rgds...Geoff</description>
      <pubDate>Wed, 02 Jun 2004 09:26:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mc-sg-pkg-startup-priority/m-p/3293685#M182631</guid>
      <dc:creator>Geoff Wild</dc:creator>
      <dc:date>2004-06-02T09:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: MC/SG pkg startup priority</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mc-sg-pkg-startup-priority/m-p/3293686#M182632</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;In the past we have configured our two nodes configuration in this form. Because the secondary node was an "K" class and starting-up process was too large that primary node, to solve this we configured an awiting time  for the cluster reformation, no package.&lt;BR /&gt;This parameter is NODE_TIMEOUT, look for it into /ect/cmcluster/cluster.conf. Pls note that this time is in microseconds. A little explanation can be found in this file.&lt;BR /&gt;&lt;BR /&gt;Rgds.</description>
      <pubDate>Wed, 02 Jun 2004 09:48:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mc-sg-pkg-startup-priority/m-p/3293686#M182632</guid>
      <dc:creator>Jose Mosquera</dc:creator>
      <dc:date>2004-06-02T09:48:33Z</dc:date>
    </item>
    <item>
      <title>Re: MC/SG pkg startup priority</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/mc-sg-pkg-startup-priority/m-p/3293687#M182633</link>
      <description>&lt;BR /&gt;You can implement package dependencies using EMS.  &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;In the SEC package config file you put the following &lt;BR /&gt;&lt;BR /&gt;RESOURCE_NAME /cluster/package/package_status/PRI&lt;BR /&gt;  RESOURCE_POLLING_INTERVAL   30 &lt;BR /&gt;  RESOURCE_UP_VALUE = UP&lt;BR /&gt;&lt;BR /&gt;Unfortunately you have to stop the cluster to change EMS stuff. Also make sure you have good ems and check the presence of the resources with the resls command&lt;BR /&gt;&lt;BR /&gt;resls /&lt;BR /&gt;resls /cluster&lt;BR /&gt;resls /cluster/package&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Good luck</description>
      <pubDate>Thu, 03 Jun 2004 07:07:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/mc-sg-pkg-startup-priority/m-p/3293687#M182633</guid>
      <dc:creator>Emil Velez</dc:creator>
      <dc:date>2004-06-03T07:07:32Z</dc:date>
    </item>
  </channel>
</rss>

