Re: [Pacemaker] Trouble with ocf:Squid resource agent

2013-02-08 Thread Lars Ellenberg
On Fri, Feb 08, 2013 at 11:21:15AM +0100, Lars Ellenberg wrote: > On Mon, Aug 13, 2012 at 02:07:46PM +0200, Dejan Muhamedagic wrote: Appologies, I did not look at the date of the Post. For some reason it appeart as "first unread", and I assumed it was recent. D'oh. :-) > Please use resource-age

Re: [Pacemaker] Trouble with ocf:Squid resource agent

2013-02-08 Thread Lars Ellenberg
g > > > Sent: Wednesday, July 25, 2012 5:51:28 AM > > > Subject: Re: [Pacemaker] Trouble with ocf:Squid resource agent > > > > > > Oops! Spoke too fast. The fix below allows squid to start. But the > > > script also has problems in the 'stop' par

Re: [Pacemaker] Trouble with ocf:Squid resource agent

2012-08-13 Thread Dejan Muhamedagic
Hi, On Mon, Jul 30, 2012 at 12:09:10PM -0400, Jake Smith wrote: > > - Original Message - > > From: "Julien Cornuwel" > > To: pacemaker@oss.clusterlabs.org > > Sent: Wednesday, July 25, 2012 5:51:28 AM > > Subject: Re: [Pacemaker] Trouble wit

Re: [Pacemaker] Trouble with ocf:Squid resource agent

2012-07-30 Thread Jake Smith
- Original Message - > From: "Julien Cornuwel" > To: pacemaker@oss.clusterlabs.org > Sent: Wednesday, July 25, 2012 5:51:28 AM > Subject: Re: [Pacemaker] Trouble with ocf:Squid resource agent > > Oops! Spoke too fast. The fix below allows squid to star

Re: [Pacemaker] Trouble with ocf:Squid resource agent

2012-07-25 Thread Julien Cornuwel
Oops! Spoke too fast. The fix below allows squid to start. But the script also has problems in the 'stop' part. It is stuck in an infinite loop and here are the logs (repeats every second) : Jul 25 11:38:47 corsen-a lrmd: [24099]: info: RA output: (Proxy:stop:stderr) /usr/lib/ocf/resource.d//heart

Re: [Pacemaker] Trouble with ocf:Squid resource agent

2012-07-24 Thread Julien Cornuwel
Hi, Fixed! The problem comes from the squid ocf script (/usr/lib/ocf/resource.d/heartbeat/Squid) that doesn't handle IPv6 addresses correctly. All you have to do is modify the line 198 as such : awk '/(tcp.*[0-9]+\.[0-9]+\.+[0-9]+\.[0-9]+:'$SQUID_PORT' |tcp.*:::'$SQUID_PORT' )/{ Source: http://w

Re: [Pacemaker] Trouble with ocf:Squid resource agent

2012-07-19 Thread Julien Cornuwel
2012/7/18 Jake Smith : > With the "status=Timed Out" I'm thinking that you're setting of 60s for start > timeout might be too short? How long does it take to return if you start > squid from the LSB script? How long after starting until the squid.pid is > created (is it even created?)? >From t

Re: [Pacemaker] Trouble with ocf:Squid resource agent

2012-07-18 Thread Jake Smith
- Original Message - > From: "Julien Cornuwel" > To: "The Pacemaker cluster resource manager" > Sent: Wednesday, July 18, 2012 4:06:55 AM > Subject: [Pacemaker] Trouble with ocf:Squid resource agent > > Hi, > > I'm setting up a proxy cl

[Pacemaker] Trouble with ocf:Squid resource agent

2012-07-18 Thread Julien Cornuwel
Hi, I'm setting up a proxy cluster on OpenSuSE 12.1. Squid starts OK on both servers when called from the lsb script. I stopped it and here is the configuration I set up : # crm configure show node corsen-a node corsen-b primitive Proxy ocf:heartbeat:Squid \ params squid_exe="/usr/sbin/sq