Re: Newbie question
Marc Luuk <[email protected]> Wed, 7 Aug 2002 15:56:36 +0200
| Newsgroups | gmane.linux.failsafe |
|---|---|
| Message-ID | <[email protected]> |
Hi Alain, I'm using a failsafe script that suspend monitoring the resource_group containing the webserver. After moving the logfiles I'm calling another script that reactivates monitoring for the resource_group. Feel free to use the two attached scripts. Best wishes Marc Luuk On Wed, 7 Aug 2002, Lavoie,Alain [CMC] wrote: > Date: Wed, 7 Aug 2002 10:44:41 -0300 > From: "Lavoie,Alain [CMC]" <[email protected]> > To: [email protected] > Subject: [LinuxFailSafe] Newbie question > > Hi, > > I just got the new responsability of the application this Monday > when i discover that the application is making a fail-over at almost > each night. With investigation the conclusion was when our script > who make the apache log rotation restart the application detect the > restart and make a fail-over. Oh! we have apache/web ressource > defined. > > Is there a variable i can set that failsafe take much time to detect > this application failure, like a retry or a delay time before the failure > is declaired. > > Thank you very much! > ------------------------------- > Alain Lavoie > _______________________________________________ > LinuxFailSafe mailing list > [email protected] > http://lists.community.tummy.com/mailman/listinfo/linuxfailsafe >
resource_group_maintenance_on.sh
(text/plain, 182 B)
#!/usr/lib/failsafe/bin/cluster_mgr -f set cluster <Your cluster name goes here> admin maintenance_on resource_group <Your resource group name containing the webserver goes here>
resource_group_maintenance_off.sh
(text/plain, 183 B)
#!/usr/lib/failsafe/bin/cluster_mgr -f set cluster <Your cluster name goes here> admin maintenance_off resource_group <Your resource_group name containing the webserver goes here>