On Wed, Jan 14, 2009 at 11:24, Michael Schwartzkopff <[email protected]> wrote: > Hi, > > We have a problem with a custom lsb init script. It starts some processes in > the bachground and return immideately with return code "0" (success).
Then, to be blunt, its not suitable for clustering. You said its a custom script right? Why not fix it? > But the > proccess in the background need about 1 min to start, so the status call > results in "3 (error)" during that minute. After that everything works. > > Stop procedure gives the same. Even worse! You can fudge around the startup case with start delay, even then you could contrive an example where you'll damage the cluster, but the stop case is a total recipe for disaster. > Any solution for this? In all seriousness, don't use it in this form. Have start and stop call the status function in a loop until the desired state is reached (and increase the timeouts). > Is it possible to check "status" only after 120 sek? > Is the status automatically checked after "start"? > > Greetings, > -- > Dr. Michael Schwartzkopff > MultiNET Services GmbH > Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany > Tel: +49 - 89 - 45 69 11 0 > Fax: +49 - 89 - 45 69 11 21 > mob: +49 - 174 - 343 28 75 > > mail: [email protected] > web: www.multinet.de > > Sitz der Gesellschaft: 85630 Grasbrunn > Registergericht: Amtsgericht München HRB 114375 > Geschäftsführer: Günter Jurgeneit, Hubert Martens > > --- > > PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B > Skype: misch42 > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems > _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
