<?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: Package dependence in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/package-dependence/m-p/3518737#M700528</link>
    <description>Johan,&lt;BR /&gt;&lt;BR /&gt;This question comes up from time to time and there is an ITRC document that you can access that discuss these issues and possible scenarios.&lt;BR /&gt;&lt;BR /&gt;The document ID is: UMCSGKBRC00008166 &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=UMCSGKBRC00008166" target="_blank"&gt;http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=UMCSGKBRC00008166&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;A secondary approach is listed in the attached document.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Oz&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Wed, 06 Apr 2005 04:51:31 GMT</pubDate>
    <dc:creator>Kent Ostby</dc:creator>
    <dc:date>2005-04-06T04:51:31Z</dc:date>
    <item>
      <title>Package dependence</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/package-dependence/m-p/3518736#M700527</link>
      <description>I'm in for a cluster reconfiguration, we're going to add a node to the cluster (will be 3 nodes in total when done) and reconfigure all packages.&lt;BR /&gt;&lt;BR /&gt;When all done we'll have 5 packages, 4 of them will in some way be dependent on eachother (not that great in a serviceguard way, i know).&lt;BR /&gt;This because of database crossover transactions and so on (the database being progress 9.1)&lt;BR /&gt;&lt;BR /&gt;The problem is now to script some monitoring for this, today it's all done by fetching a process list from a package and see that the right processes are running.&lt;BR /&gt;That setup wont be possible in the same way when you have 5 packages on 3 nodes, cause 2 packages or more will reside on the same physical node.&lt;BR /&gt;&lt;BR /&gt;I've thought about using cmviewcl to determinate which node is running which package and using that as input when fetching process lists and so on. Is this the right way to go, or is there a smarter way ?&lt;BR /&gt;&lt;BR /&gt;Is there anyone who's running a cluster with packages depending on eachother ?&lt;BR /&gt;&lt;BR /&gt;TIA,&lt;BR /&gt;Johan</description>
      <pubDate>Wed, 06 Apr 2005 03:31:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/package-dependence/m-p/3518736#M700527</guid>
      <dc:creator>UNIXGRUPPEN</dc:creator>
      <dc:date>2005-04-06T03:31:38Z</dc:date>
    </item>
    <item>
      <title>Re: Package dependence</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/package-dependence/m-p/3518737#M700528</link>
      <description>Johan,&lt;BR /&gt;&lt;BR /&gt;This question comes up from time to time and there is an ITRC document that you can access that discuss these issues and possible scenarios.&lt;BR /&gt;&lt;BR /&gt;The document ID is: UMCSGKBRC00008166 &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=UMCSGKBRC00008166" target="_blank"&gt;http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&amp;amp;docId=UMCSGKBRC00008166&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;A secondary approach is listed in the attached document.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;&lt;BR /&gt;Oz&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Apr 2005 04:51:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/package-dependence/m-p/3518737#M700528</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2005-04-06T04:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Package dependence</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/package-dependence/m-p/3518738#M700529</link>
      <description>If the package dependencies are only related to packages running on the same node, then the document that Kent referenced should help you.&lt;BR /&gt;&lt;BR /&gt;However, If I read your issue correctly, you have package dependencies and need to verify whether certain packages are running on any node in the cluster before starting other packages - is this correct?&lt;BR /&gt;&lt;BR /&gt;If so, then you must of course verify whether certain packages are in the UP state, no matter which server they are on, unless load-balancing is an issue too.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;The following script is a simple way to verify whether a host package is running, and on which node it is running, before starting a dependent package:&lt;BR /&gt;&lt;BR /&gt;PKGNAME=ccmon&lt;BR /&gt;DEPPKGNAME=sbccpkg_bak&lt;BR /&gt;PKGSTAT=`cmviewcl | grep $PKGNAME | awk {'print $2'}`&lt;BR /&gt;PKGLOC=`cmviewcl | grep $PKGNAME | awk {'print $5'}`&lt;BR /&gt;if [[ X$PKGSTAT = Xup ]] ; then&lt;BR /&gt;        if [[ X$PKGLOC = Xbunker ]] ; then&lt;BR /&gt;                cmmodpkg -e -n bunker $DEPPKGNAME&lt;BR /&gt;                cmmodpkg -e $DEPPKGNAME&lt;BR /&gt;        fi&lt;BR /&gt;fi&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 06 Apr 2005 07:17:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/package-dependence/m-p/3518738#M700529</guid>
      <dc:creator>Stephen Doud</dc:creator>
      <dc:date>2005-04-06T07:17:04Z</dc:date>
    </item>
  </channel>
</rss>

