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 before using it with heartbeat.

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 between nodes?

On Fri, Aug 1, 2008 at 5:00 AM, Lars Marowsky-Bree <[EMAIL PROTECTED]> wrote:
> 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, and knowledge
> from v1 almost does not apply at all.
>
> The errors you have are very likely related to the LSB scripts not being
> quite LSB compliant.
>
> However, v1 and even v2 have some scenarios which might cause the
> "start" or even "stop" action to be issued twice. The scripts must be
> able to handle this, as they are defined to be idem-potent.
>
>
> Regards,
>    Lars
>
> --
> Teamlead Kernel, SuSE Labs, Research and Development
> SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg)
> "Experience is the name everyone gives to their mistakes." -- Oscar Wilde
>
> _______________________________________________
> Linux-HA mailing list
> Linux-HA@lists.linux-ha.org
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>
_______________________________________________
Linux-HA mailing list
Linux-HA@lists.linux-ha.org
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to