Re: [Linux-HA] Resources starting twice

2008-08-08 Thread Lars Marowsky-Bree
On 2008-08-05T18:29:16, Michael Alger <[EMAIL PROTECTED]> wrote: > It's a bit crude, but it works. The main problem is that if the > monitoring script stops, heartbeat has no idea and therefore can't > factor that into its decision-making process. I haven't determined > whether we can somehow stor

Re: [Linux-HA] Resources starting twice

2008-08-05 Thread Nathan Ward
On 5/08/2008, at 10:29 PM, Michael Alger wrote: It's a bit crude, but it works. The main problem is that if the monitoring script stops, heartbeat has no idea and therefore can't factor that into its decision-making process. I haven't determined whether we can somehow store a "last updated" time

Re: [Linux-HA] Resources starting twice

2008-08-05 Thread Michael Alger
On Fri, Aug 01, 2008 at 10:09:13AM -0500, Angel Rengifo Cancino wrote: > mmm, this is a different question: Do I really need to start/stop > services with haresources? Why can't I just simply mantain my > services always running (chkconfig services on)? Is it not enough > to change the IP alias bet

Re: [Linux-HA] Resources starting twice

2008-08-01 Thread Angel Rengifo Cancino
Thanks Lars and Michael: The squid script from Centos 5.2 it wasn't working correctly when trying to start twice. I edited /etc/init.d/squid a now "start" twice always returns me code 0. Now heartbeat doesn't give up when tries to start an already running service. I'll check every init script bef

Re: [Linux-HA] Resources starting twice

2008-08-01 Thread Lars Marowsky-Bree
On 2008-07-31T16:44:31, Angel Rengifo Cancino <[EMAIL PROTECTED]> wrote: > Yep, it's because I'm first trying to understand very well heartbeat > 1.x before learning 2.x style. Using haresources it seems easier for > my simple requirements. That's not necessarily helpful, as v2 is very different,

Re: [Linux-HA] Resources starting twice

2008-07-31 Thread Michael Alger
On Thu, Jul 31, 2008 at 04:44:31PM -0500, Angel Rengifo Cancino wrote: >> I can't understand why httpd and squid are starting again after >> they're already started previously. Is there something wrong with >> my configuration? This problems is causing hearbeat to give up >> due to failure of squid

Re: [Linux-HA] Resources starting twice

2008-07-31 Thread Angel Rengifo Cancino
e new to heartbeat why start with > outdated versions, go straight to version 2, forget version 1. > > just my opinion. > > > >>>> > From: Angel Rengifo Cancino<[EMAIL PROTECTED]> > To:linux-ha@lists.linux-ha.org > Date: 31/07/08 21:54 > Subject: [Linux-HA]

Re: [Linux-HA] Resources starting twice

2008-07-31 Thread Navatala
ject: [Linux-HA] Resources starting twice Hi people: I'm a newbie in heartbeat and I don't speak English very well yet. I'm getting started with two virtual machines (vmware) running Centos 5.2 and heartbeat 2.1.3. I'm working on heartbeat 1.x style without crm and stonith configur

[Linux-HA] Resources starting twice

2008-07-31 Thread Angel Rengifo Cancino
Hi people: I'm a newbie in heartbeat and I don't speak English very well yet. I'm getting started with two virtual machines (vmware) running Centos 5.2 and heartbeat 2.1.3. I'm working on heartbeat 1.x style without crm and stonith configuration, and managing httpd and squid services. I don't kno