<?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: To run a script in linux servicegurd in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/to-run-a-script-in-linux-servicegurd/m-p/5063647#M57663</link>
    <description>Problem solved.</description>
    <pubDate>Sat, 15 Sep 2007 22:52:18 GMT</pubDate>
    <dc:creator>Md. Zubair Hoque</dc:creator>
    <dc:date>2007-09-15T22:52:18Z</dc:date>
    <item>
      <title>To run a script in linux servicegurd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/to-run-a-script-in-linux-servicegurd/m-p/5063642#M57658</link>
      <description>we have had on to start dgw (node name)&lt;BR /&gt;service with VIP package, we have dgw_start.sh and dgw_stop.sh shell&lt;BR /&gt;scripts. We need these scripts should start/stop whenever there is VIP&lt;BR /&gt;package start/stop. On other way, VIP package start command (cmrunpkg)&lt;BR /&gt;would take care of starting dgw service by executing dgw_start.sh script&lt;BR /&gt;automatically. Similarly VIP package stop command (cmhaltpkg) would take&lt;BR /&gt;care executing dgw_stop.sh script. Can we configure the service guard a&lt;BR /&gt;way we mentioned above. Please let me know. Thanks.&lt;BR /&gt;Zubair&lt;BR /&gt;</description>
      <pubDate>Fri, 17 Aug 2007 23:54:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/to-run-a-script-in-linux-servicegurd/m-p/5063642#M57658</guid>
      <dc:creator>Md. Zubair Hoque</dc:creator>
      <dc:date>2007-08-17T23:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: To run a script in linux servicegurd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/to-run-a-script-in-linux-servicegurd/m-p/5063643#M57659</link>
      <description>Yes, there's a place in the package control script for things like this.&lt;BR /&gt;&lt;BR /&gt;Search the control script for "customer_defined_run_cmds" and "customer_defined_halt_cmds". You can add anything you need to these two shell functions.&lt;BR /&gt;&lt;BR /&gt;Remember that if any of the added commands returns an error code, ServiceGuard will assume it means that something went wrong and sysadmin's actions will be required to avoid data loss. &lt;BR /&gt;&lt;BR /&gt;The start script should be able to start the application even though it may not be shut down in a controlled manner. This is for the occasion when a package failover happens because the primary node has completely crashed.&lt;BR /&gt;&lt;BR /&gt;When the "customer_defined_halt_cmds" function has been completed successfully, there should be no more application processes accessing the package disks. ServiceGuard will try to unmount the package disks _immediately_ after completing the "customer_defined_halt_cmds". Your stop script should be designed with this in mind.&lt;BR /&gt;&lt;BR /&gt;MK</description>
      <pubDate>Sat, 18 Aug 2007 06:36:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/to-run-a-script-in-linux-servicegurd/m-p/5063643#M57659</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2007-08-18T06:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: To run a script in linux servicegurd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/to-run-a-script-in-linux-servicegurd/m-p/5063644#M57660</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Sounds like a job for the package control script.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://docs.hp.com/en/5991-5390/apcs07.html" target="_blank"&gt;http://docs.hp.com/en/5991-5390/apcs07.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Doesn't matter whether the link above is linux or hpux it works the same way.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Sat, 18 Aug 2007 15:26:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/to-run-a-script-in-linux-servicegurd/m-p/5063644#M57660</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-08-18T15:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: To run a script in linux servicegurd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/to-run-a-script-in-linux-servicegurd/m-p/5063645#M57661</link>
      <description>For any critical alarm, DGW sends SNMP traps to remote NMS. Is there any provision with service guard to send alarm? Let me put this way, if dgw cluster goes down then alarm should generate and it should be sent to remote monitoring tool.  Is this possible with hp service guard? Please let me know. Thanks.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 20 Aug 2007 00:05:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/to-run-a-script-in-linux-servicegurd/m-p/5063645#M57661</guid>
      <dc:creator>Md. Zubair Hoque</dc:creator>
      <dc:date>2007-08-20T00:05:27Z</dc:date>
    </item>
    <item>
      <title>Re: To run a script in linux servicegurd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/to-run-a-script-in-linux-servicegurd/m-p/5063646#M57662</link>
      <description>I would like to chime in since I have got a similar question/problem: specifically I am using SGLX A 11.18 on rhel4 and I would like to integrate an app in the package. According to the "Managing HP SG for Linux, 7th edition" guide, the way to do it, is by using a "legacy package" (the terminology is IMO somehow misleading), and to use the RUN_SCRIPT, HALT_SCRIPT entries in the package configuration file. My question is that these entries were not created for me whan I ran &lt;BR /&gt;# cmmakepkg $SGCONF/pkg1/pkg1.conf&lt;BR /&gt;&lt;BR /&gt;In addition, there is a whitepaper "Framework for HP Serviceguard Toolkits" explaining the integration: appendix B lists a sample integration with MySQL, and also refers to RUN_SCRIPT, HALT_SCRIPT in the pkg config. file.&lt;BR /&gt;&lt;BR /&gt;Is it correct to go ahead and edit pkg1.conf ?&lt;BR /&gt;&lt;BR /&gt;Why does it not get set by cmmakepkg?&lt;BR /&gt;Or am I missing anything else?&lt;BR /&gt;&lt;BR /&gt;Thank-you.</description>
      <pubDate>Sat, 15 Sep 2007 04:18:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/to-run-a-script-in-linux-servicegurd/m-p/5063646#M57662</guid>
      <dc:creator>joseph pareti</dc:creator>
      <dc:date>2007-09-15T04:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: To run a script in linux servicegurd</title>
      <link>https://community.hpe.com/t5/operating-system-linux/to-run-a-script-in-linux-servicegurd/m-p/5063647#M57663</link>
      <description>Problem solved.</description>
      <pubDate>Sat, 15 Sep 2007 22:52:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/to-run-a-script-in-linux-servicegurd/m-p/5063647#M57663</guid>
      <dc:creator>Md. Zubair Hoque</dc:creator>
      <dc:date>2007-09-15T22:52:18Z</dc:date>
    </item>
  </channel>
</rss>

