<?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: SG test_return ?? in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/sg-test-return/m-p/4948488#M699758</link>
    <description>Mike -- That should work.&lt;BR /&gt;</description>
    <pubDate>Thu, 22 Dec 2005 10:39:04 GMT</pubDate>
    <dc:creator>Kent Ostby</dc:creator>
    <dc:date>2005-12-22T10:39:04Z</dc:date>
    <item>
      <title>SG test_return ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sg-test-return/m-p/4948487#M699757</link>
      <description>Within our package start/stop script we start our applications and then do a test_return 56 and within that we execute:&lt;BR /&gt;56)&lt;BR /&gt;     print "\tERROR:  Application Start "&lt;BR /&gt;     print "\tERROR:  Failed to start/stop customer commands"&lt;BR /&gt;     halt_services&lt;BR /&gt;     customer_defined_halt_cmds&lt;BR /&gt;     disown_dtc&lt;BR /&gt;     remove_ip_address&lt;BR /&gt;     verify_ha_nfs stop&lt;BR /&gt;     umount_fs&lt;BR /&gt;     deactivate_volume_group&lt;BR /&gt;     deactivate_disk_group&lt;BR /&gt;     to_exit=1&lt;BR /&gt;     ;;&lt;BR /&gt;&lt;BR /&gt;If at this point I don't want to have SG start the halt package process, but rather just send out a notification that errors occured, can I change this to something like:&lt;BR /&gt;54)&lt;BR /&gt;     print "\tERROR:  Application Start "&lt;BR /&gt;     print "\tERROR:  Failed to start/stop customer commands"&lt;BR /&gt;     wall message_file         &lt;BR /&gt;     to_exit=0&lt;BR /&gt;     ;;&lt;BR /&gt;&lt;BR /&gt;This would allow the already started databases to remain up and then the applications group can fix the application startup problem.</description>
      <pubDate>Thu, 22 Dec 2005 10:29:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sg-test-return/m-p/4948487#M699757</guid>
      <dc:creator>MikeL_4</dc:creator>
      <dc:date>2005-12-22T10:29:27Z</dc:date>
    </item>
    <item>
      <title>Re: SG test_return ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sg-test-return/m-p/4948488#M699758</link>
      <description>Mike -- That should work.&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Dec 2005 10:39:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sg-test-return/m-p/4948488#M699758</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2005-12-22T10:39:04Z</dc:date>
    </item>
    <item>
      <title>Re: SG test_return ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sg-test-return/m-p/4948489#M699759</link>
      <description>thanks</description>
      <pubDate>Thu, 22 Dec 2005 10:41:42 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sg-test-return/m-p/4948489#M699759</guid>
      <dc:creator>MikeL_4</dc:creator>
      <dc:date>2005-12-22T10:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: SG test_return ??</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/sg-test-return/m-p/4948490#M699760</link>
      <description>Mike --&lt;BR /&gt;&lt;BR /&gt;The actual key to the script stopping is "exit_value".&lt;BR /&gt;&lt;BR /&gt;So if some OTHER aspect of the start up fails and to_exit is set (which will trigger exit_value being set) or exit_value is set directly, then the package will still fail.&lt;BR /&gt;&lt;BR /&gt;However, your change should keep the script from failing within that particular part of the package startup.&lt;BR /&gt;</description>
      <pubDate>Thu, 22 Dec 2005 10:45:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/sg-test-return/m-p/4948490#M699760</guid>
      <dc:creator>Kent Ostby</dc:creator>
      <dc:date>2005-12-22T10:45:18Z</dc:date>
    </item>
  </channel>
</rss>

