[HPADM] MC/SG Service Scripts / Halting

From: Justin Willoughby (jwilloug@mhc.net)
Date: Mon Jul 07 2003 - 15:47:34 EDT


Hi All,

I have a new MC/SG cluster I am setting up.

I have three services and one startup and shutdown script.

The three service scripts launch another process in the foreground so that if the process dies it will get re-started. This seems to work fine but when I halt the cluster, MC/SG kills the script and then the process dies right away. One of the process usually takes 30 to 60 seconds to stop when killed normally.

If in the service script file I put a exec in front of the program I am launching, MC/SG will wait while the service stops (process is killed). This seem to me like what I should it so that any service process I launch is allowed to fully exit.

Is this the best way to do this or are there other suggestions?

Thanks!

- Justin

==================
 Justin Willoughby
 Computer Operations
==================

--
             ---> Please post QUESTIONS and SUMMARIES only!! <---
        To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl
       Name: hpux-admin@dutchworks.nl     Owner: owner-hpux-admin@dutchworks.nl
 
 Archives:  ftp.dutchworks.nl:/pub/digests/hpux-admin       (FTP, browse only)
            http://www.dutchworks.nl/htbin/hpsysadmin   (Web, browse & search)


This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 11:02:31 EDT