RE: logrotate
"Rick Willmore" <[email protected]>
| Newsgroups | gmane.linux.highavailability.ultramonkey |
|---|---|
| Message-ID | <[email protected]> |
I have to set it up in the configuration. The HUP would be issued against the web application in order to rotate the log. This doesn't affect heartbeat. The point is that the service would be down temporarily to release and locks on the log file so that I can do a clean rotate. I just worry that the application will be seen as down and a failover will ensue. R. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Horms Sent: Friday, August 12, 2005 2:00 AM To: [email protected] Subject: Re: logrotate On Fri, Aug 12, 2005 at 01:43:26AM -0700, Rick Willmore wrote: > It can cause a failover. Logrotate has a "kill -hup" command that is issued. I was wondering how others handled this situation. Personally i would just have long failover timeout vaules but if someone else had a good idea im game for listening. There shouldn't be any reason to issue a kill -hup to heartbeat. You can rotate the logs underneath heartebat and it should work just fine. Is this HUP in the logortate configuration, or is lorgrotate just issueing it of its own volition? -- Horms -- Ultra Monkey - http://www.ultramonkey.org/ To UNSUBSCRIBE, email to [email protected], with a body: unsubscribe ultramonkey-users [email protected] where "[email protected]" is YOUR email address. -- Ultra Monkey - http://www.ultramonkey.org/ To UNSUBSCRIBE, email to [email protected], with a body: unsubscribe ultramonkey-users [email protected] where "[email protected]" is YOUR email address.