<?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: Startup the package in sequence in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/startup-the-package-in-sequence/m-p/2534790#M714666</link>
    <description>Hi Kenneth,&lt;BR /&gt;there is something in MC/ServiceGuard that I think is similar which you need.&lt;BR /&gt;When you have one pkg depending on other, for example pkgB depends on pkgA, i.e. to run pkgB is required than pkgA is running in the same node you can employ EMS (Event  Monitoring Service).&lt;BR /&gt;The EMS solution allows a pkg to be dependent upon the value of an EMS variable. The EMS has many variables that it can monitor, one of which is the state of a MC/SG pkg.&lt;BR /&gt;&lt;BR /&gt;The steps to configure the pkg for this are:&lt;BR /&gt;1. Identify the EMS resource name. You can use the resls command to do it.&lt;BR /&gt;#resls /&lt;BR /&gt;#resls /cluster&lt;BR /&gt;...&lt;BR /&gt;The resource name will be something similar to&lt;BR /&gt;/cluster/package/package_status/pkgA&lt;BR /&gt;2.Edit the pkg configuration for pkgB and add the following lines:&lt;BR /&gt;RESOURCE_NAME  /cluster/package/package_status/pkgA&lt;BR /&gt;RESOURCE_POLLING_INTERVAL 60&lt;BR /&gt;RESOURCE_UP_VALUE   = UP&lt;BR /&gt;&lt;BR /&gt;3. Bring down the cluster, apply the configuration of pkgB and start the cluster.&lt;BR /&gt;&lt;BR /&gt;4. Once the cluster restarts you can use cmviewcl -v to verify the status of the EMS resource.&lt;BR /&gt;&lt;BR /&gt;Before doing this changes check that you have EMS installed and think if this really match what you want (you must run both pkgs in the same node, if pkgA fails pkgB will follow it,...) &lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;JGM &lt;BR /&gt;</description>
    <pubDate>Thu, 31 May 2001 07:23:49 GMT</pubDate>
    <dc:creator>Juan González</dc:creator>
    <dc:date>2001-05-31T07:23:49Z</dc:date>
    <item>
      <title>Startup the package in sequence</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/startup-the-package-in-sequence/m-p/2534786#M714662</link>
      <description>Dear Expert,&lt;BR /&gt;    Is there any way to configure the package startup in sequence or any software control in MC/ServiceGuard ?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Kenneth Yap</description>
      <pubDate>Thu, 31 May 2001 01:56:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/startup-the-package-in-sequence/m-p/2534786#M714662</guid>
      <dc:creator>Kenneth Yap</dc:creator>
      <dc:date>2001-05-31T01:56:33Z</dc:date>
    </item>
    <item>
      <title>Re: Startup the package in sequence</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/startup-the-package-in-sequence/m-p/2534787#M714663</link>
      <description>Hi&lt;BR /&gt;Would you elaborate a little more on what you are looking to do?  Not sure if you want to change when a package starts up, or have multiple packages, or what exactly you are really looking for.&lt;BR /&gt;Thanks,&lt;BR /&gt;Peg</description>
      <pubDate>Thu, 31 May 2001 03:52:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/startup-the-package-in-sequence/m-p/2534787#M714663</guid>
      <dc:creator>Peggy Fong</dc:creator>
      <dc:date>2001-05-31T03:52:44Z</dc:date>
    </item>
    <item>
      <title>Re: Startup the package in sequence</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/startup-the-package-in-sequence/m-p/2534788#M714664</link>
      <description>Just an example;&lt;BR /&gt;I have two node cluster, one is active and another is standby.&lt;BR /&gt;I have two package, package 1 and package 2.&lt;BR /&gt;The application in package 2 is depend on application in package 1.&lt;BR /&gt;The package 1 have to startup first before package 2 startup.&lt;BR /&gt;So, Is there any configuration or software that can control the package startup sequence ?&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;&lt;BR /&gt;Kenneth Yap</description>
      <pubDate>Thu, 31 May 2001 04:04:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/startup-the-package-in-sequence/m-p/2534788#M714664</guid>
      <dc:creator>Kenneth Yap</dc:creator>
      <dc:date>2001-05-31T04:04:28Z</dc:date>
    </item>
    <item>
      <title>Re: Startup the package in sequence</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/startup-the-package-in-sequence/m-p/2534789#M714665</link>
      <description>There is currently nothing built in to ServiceGuard to control/allow this.&lt;BR /&gt;&lt;BR /&gt;You would need to build the checks into your scripts for this and test them thoroughly.</description>
      <pubDate>Thu, 31 May 2001 06:08:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/startup-the-package-in-sequence/m-p/2534789#M714665</guid>
      <dc:creator>melvyn burnard</dc:creator>
      <dc:date>2001-05-31T06:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: Startup the package in sequence</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/startup-the-package-in-sequence/m-p/2534790#M714666</link>
      <description>Hi Kenneth,&lt;BR /&gt;there is something in MC/ServiceGuard that I think is similar which you need.&lt;BR /&gt;When you have one pkg depending on other, for example pkgB depends on pkgA, i.e. to run pkgB is required than pkgA is running in the same node you can employ EMS (Event  Monitoring Service).&lt;BR /&gt;The EMS solution allows a pkg to be dependent upon the value of an EMS variable. The EMS has many variables that it can monitor, one of which is the state of a MC/SG pkg.&lt;BR /&gt;&lt;BR /&gt;The steps to configure the pkg for this are:&lt;BR /&gt;1. Identify the EMS resource name. You can use the resls command to do it.&lt;BR /&gt;#resls /&lt;BR /&gt;#resls /cluster&lt;BR /&gt;...&lt;BR /&gt;The resource name will be something similar to&lt;BR /&gt;/cluster/package/package_status/pkgA&lt;BR /&gt;2.Edit the pkg configuration for pkgB and add the following lines:&lt;BR /&gt;RESOURCE_NAME  /cluster/package/package_status/pkgA&lt;BR /&gt;RESOURCE_POLLING_INTERVAL 60&lt;BR /&gt;RESOURCE_UP_VALUE   = UP&lt;BR /&gt;&lt;BR /&gt;3. Bring down the cluster, apply the configuration of pkgB and start the cluster.&lt;BR /&gt;&lt;BR /&gt;4. Once the cluster restarts you can use cmviewcl -v to verify the status of the EMS resource.&lt;BR /&gt;&lt;BR /&gt;Before doing this changes check that you have EMS installed and think if this really match what you want (you must run both pkgs in the same node, if pkgA fails pkgB will follow it,...) &lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;JGM &lt;BR /&gt;</description>
      <pubDate>Thu, 31 May 2001 07:23:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/startup-the-package-in-sequence/m-p/2534790#M714666</guid>
      <dc:creator>Juan González</dc:creator>
      <dc:date>2001-05-31T07:23:49Z</dc:date>
    </item>
    <item>
      <title>Re: Startup the package in sequence</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/startup-the-package-in-sequence/m-p/2534791#M714667</link>
      <description>Hi JGM ,&lt;BR /&gt;     Thanks for your step. I will try it.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;&lt;BR /&gt;Kenneth Yap</description>
      <pubDate>Thu, 31 May 2001 08:10:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/startup-the-package-in-sequence/m-p/2534791#M714667</guid>
      <dc:creator>Kenneth Yap</dc:creator>
      <dc:date>2001-05-31T08:10:41Z</dc:date>
    </item>
    <item>
      <title>Re: Startup the package in sequence</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/startup-the-package-in-sequence/m-p/2534792#M714668</link>
      <description>Hi JGM,&lt;BR /&gt;      I have no ideal how to find the resource of the package status.&lt;BR /&gt;The cluster node already have EMS .&lt;BR /&gt;Do it need any software to install ?&lt;BR /&gt;&lt;BR /&gt;Thanks &amp;amp; Regards&lt;BR /&gt;&lt;BR /&gt;Kenneth Yap</description>
      <pubDate>Thu, 31 May 2001 08:40:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/startup-the-package-in-sequence/m-p/2534792#M714668</guid>
      <dc:creator>Kenneth Yap</dc:creator>
      <dc:date>2001-05-31T08:40:15Z</dc:date>
    </item>
    <item>
      <title>Re: Startup the package in sequence</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/startup-the-package-in-sequence/m-p/2534793#M714669</link>
      <description>Hi Kenneth,&lt;BR /&gt;you can find the EMS resource with the resls command:&lt;BR /&gt;#resls /&lt;BR /&gt;will return something like&lt;BR /&gt;/net&lt;BR /&gt;/system&lt;BR /&gt;/cluster&lt;BR /&gt;...&lt;BR /&gt;#resls /cluster&lt;BR /&gt;will return something like&lt;BR /&gt;/package&lt;BR /&gt;/localNode&lt;BR /&gt;/status&lt;BR /&gt;..&lt;BR /&gt;#resls /cluster/package&lt;BR /&gt;&lt;BR /&gt;until you reach something like&lt;BR /&gt;/cluster/package/package_status/&lt;PKGNAME&gt;&lt;BR /&gt;#resls /cluster/package/package_status/&lt;PKGNAME&gt;&lt;BR /&gt;will return the differents values that this resource could have.&lt;BR /&gt;&lt;BR /&gt;Best regards&lt;BR /&gt;Juan Gonzalez&lt;/PKGNAME&gt;&lt;/PKGNAME&gt;</description>
      <pubDate>Thu, 31 May 2001 09:02:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/startup-the-package-in-sequence/m-p/2534793#M714669</guid>
      <dc:creator>Juan González</dc:creator>
      <dc:date>2001-05-31T09:02:39Z</dc:date>
    </item>
    <item>
      <title>Re: Startup the package in sequence</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/startup-the-package-in-sequence/m-p/2534794#M714670</link>
      <description>Hi JGM,&lt;BR /&gt;        I have found that before the EMS can monitor the cluster, it need to install the EMS HA Monitor software.&lt;BR /&gt;For detail, please refer to the side document below.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.docs.hp.com/hpux/pdf/B7612-90015.pdf" target="_blank"&gt;http://www.docs.hp.com/hpux/pdf/B7612-90015.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Kenneth Yap</description>
      <pubDate>Thu, 31 May 2001 09:12:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/startup-the-package-in-sequence/m-p/2534794#M714670</guid>
      <dc:creator>Kenneth Yap</dc:creator>
      <dc:date>2001-05-31T09:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Startup the package in sequence</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/startup-the-package-in-sequence/m-p/2534795#M714671</link>
      <description>I would be very careful with configuring another package as a dependent resource with EMS. There are several reasons for this: &lt;BR /&gt;&lt;BR /&gt;1) EMS gets the cluster status via SNMP. If SNMP is down (snpdm, mib2agt), you won't be able to retrieve the package status anymore and a package can fail or cannot start. I don't think that it is a good idea to make your HA environment dependent from SNMP.&lt;BR /&gt;2) During cluster start when no package is running, the dependent package resource would not be available and could not start. You would therefore need to configure the EMS resource as DEFERRED RESOURCE (that is evaluated at the end of the package start). However, the timing is probably quite sensitive and it might decide whether your packages are started or fail. The timing depends on the resource polling interval and how fast your package starts/stops. As these timing values are very variable, I think this solution would not that easy to implement.&lt;BR /&gt;&lt;BR /&gt;It is much more reliable to configure cmrunpkg commands in the package control script to start the dependent package from here (like Melvyn recommended). There are still caveats of this procedure, but it will be much more reliable. Melvyn was also right that you need to do careful testing of this concept.&lt;BR /&gt;&lt;BR /&gt;If the packages are really depending from each other (i.e. the one cannot run without the other), I would really recommend to make one package out of the two, since this is straight forward and the easiest way to implement it. &lt;BR /&gt;&lt;BR /&gt;Carsten</description>
      <pubDate>Fri, 01 Jun 2001 07:39:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/startup-the-package-in-sequence/m-p/2534795#M714671</guid>
      <dc:creator>Carsten Krege</dc:creator>
      <dc:date>2001-06-01T07:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Startup the package in sequence</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/startup-the-package-in-sequence/m-p/2534796#M714672</link>
      <description>My experience is that packages start in lexographic order of the package name.  If you can be flexible about package names, you can control the order of package startup.</description>
      <pubDate>Mon, 04 Jun 2001 19:38:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/startup-the-package-in-sequence/m-p/2534796#M714672</guid>
      <dc:creator>Mike Taylor_3</dc:creator>
      <dc:date>2001-06-04T19:38:22Z</dc:date>
    </item>
    <item>
      <title>Re: Startup the package in sequence</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/startup-the-package-in-sequence/m-p/2534797#M714673</link>
      <description>Hi Make,&lt;BR /&gt;     What its means "package start in lexographic order "?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 05 Jun 2001 02:03:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/startup-the-package-in-sequence/m-p/2534797#M714673</guid>
      <dc:creator>Kenneth Yap</dc:creator>
      <dc:date>2001-06-05T02:03:16Z</dc:date>
    </item>
  </channel>
</rss>

