<?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 Restart monitored service in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/restart-monitored-service/m-p/4152261#M57764</link>
    <description>Hello,&lt;BR /&gt;We are running HP Serviceguard on RHEL5.&lt;BR /&gt;We have a package that starts and monitors a oracle database, the listener and a service called "MFC_APP" which is our application.&lt;BR /&gt;The monitoring is fine. We use the HP oracle toolkit. When ever a service fails the package fails and startup on the other node.&lt;BR /&gt;Now we want to enable 1 possible restart for the listener and our service (MFC_APP).&lt;BR /&gt;&lt;BR /&gt;I configured:&lt;BR /&gt;SERVICE_NAME[0]=ORACLE_WPIR&lt;BR /&gt;SERVICE_CMD[0]="/usr/local/cmcluster/pkg/test_pkg/toolkit.sh monitor"&lt;BR /&gt;SERVICE_RESTART[0]="-r 0"&lt;BR /&gt;&lt;BR /&gt;SERVICE_NAME[1]=LISTENER&lt;BR /&gt;SERVICE_CMD[1]="/usr/local/cmcluster/pkg/test_pkg/toolkit.sh monitor_listener"&lt;BR /&gt;SERVICE_RESTART[1]="-r 1"&lt;BR /&gt;&lt;BR /&gt;SERVICE_NAME[2]=MFC_APP&lt;BR /&gt;SERVICE_CMD[2]="/usr/local/cmcluster/pkg/test_pkg/mfc_app.sh monitor"&lt;BR /&gt;SERVICE_RESTART[2]="-r 1"&lt;BR /&gt;&lt;BR /&gt;If the listener fails, it restarts one time. -&amp;gt; This works.&lt;BR /&gt;If our application fails, the package fails at the first time.&lt;BR /&gt;&lt;BR /&gt;What I am not understanding:&lt;BR /&gt;How can a restart of the monitor script restart the service itselfe. Is this a ability that the monitor script hase to have? I think so.&lt;BR /&gt;How does the monitor script has to look like to do this?&lt;BR /&gt;&lt;BR /&gt;Thank you in advance&lt;BR /&gt;Matthias Kretschmer</description>
    <pubDate>Thu, 28 Feb 2008 09:26:41 GMT</pubDate>
    <dc:creator>Matthias Kretschmer</dc:creator>
    <dc:date>2008-02-28T09:26:41Z</dc:date>
    <item>
      <title>Restart monitored service</title>
      <link>https://community.hpe.com/t5/operating-system-linux/restart-monitored-service/m-p/4152261#M57764</link>
      <description>Hello,&lt;BR /&gt;We are running HP Serviceguard on RHEL5.&lt;BR /&gt;We have a package that starts and monitors a oracle database, the listener and a service called "MFC_APP" which is our application.&lt;BR /&gt;The monitoring is fine. We use the HP oracle toolkit. When ever a service fails the package fails and startup on the other node.&lt;BR /&gt;Now we want to enable 1 possible restart for the listener and our service (MFC_APP).&lt;BR /&gt;&lt;BR /&gt;I configured:&lt;BR /&gt;SERVICE_NAME[0]=ORACLE_WPIR&lt;BR /&gt;SERVICE_CMD[0]="/usr/local/cmcluster/pkg/test_pkg/toolkit.sh monitor"&lt;BR /&gt;SERVICE_RESTART[0]="-r 0"&lt;BR /&gt;&lt;BR /&gt;SERVICE_NAME[1]=LISTENER&lt;BR /&gt;SERVICE_CMD[1]="/usr/local/cmcluster/pkg/test_pkg/toolkit.sh monitor_listener"&lt;BR /&gt;SERVICE_RESTART[1]="-r 1"&lt;BR /&gt;&lt;BR /&gt;SERVICE_NAME[2]=MFC_APP&lt;BR /&gt;SERVICE_CMD[2]="/usr/local/cmcluster/pkg/test_pkg/mfc_app.sh monitor"&lt;BR /&gt;SERVICE_RESTART[2]="-r 1"&lt;BR /&gt;&lt;BR /&gt;If the listener fails, it restarts one time. -&amp;gt; This works.&lt;BR /&gt;If our application fails, the package fails at the first time.&lt;BR /&gt;&lt;BR /&gt;What I am not understanding:&lt;BR /&gt;How can a restart of the monitor script restart the service itselfe. Is this a ability that the monitor script hase to have? I think so.&lt;BR /&gt;How does the monitor script has to look like to do this?&lt;BR /&gt;&lt;BR /&gt;Thank you in advance&lt;BR /&gt;Matthias Kretschmer</description>
      <pubDate>Thu, 28 Feb 2008 09:26:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/restart-monitored-service/m-p/4152261#M57764</guid>
      <dc:creator>Matthias Kretschmer</dc:creator>
      <dc:date>2008-02-28T09:26:41Z</dc:date>
    </item>
  </channel>
</rss>

