Re: [Linux-HA] IPv6, service fail on start behaviour

2007-04-19 Thread Benjamin Watine

No idea about my questions ?

Benjamin Watine a écrit :

Hi all

I have two questions about Heartbeat v2 configuration :

1. IPv6addr : I've tried to configure virtual IPv6 address for a 
resource group. Because I didn't find documentation about this script, I 
did it like IPaddr, but it don't seems to be OK.
What are the parameters to use with IPv6addr script ? Is this script 
fully OK ?


2. On a resource group, when a service shut down (manually or because of 
fail), heartbeat try to start it again. It's ok, but if the service 
have, for any reason, stop after one minute, HB will try to start it 
undefinitely... How can I configure HeartBeat in the way it tries to 
load a service only 3 times between two reboot, and failover if it can't 
run durably the service ? I look after DTD, but didn't find anything 
about this.


I hope you understand what I mean :)

Thanks !

Ben
___
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


Re: [Linux-HA] IPv6, service fail on start behaviour

2007-04-19 Thread Andrew Beekhof

On 4/18/07, Benjamin Watine <[EMAIL PROTECTED]> wrote:

Hi all

I have two questions about Heartbeat v2 configuration :

1. IPv6addr : I've tried to configure virtual IPv6 address for a
resource group. Because I didn't find documentation about this script, I
did it like IPaddr, but it don't seems to be OK.
What are the parameters to use with IPv6addr script ? Is this script
fully OK ?


/path/to/IPv6addr meta-data



2. On a resource group, when a service shut down (manually or because of
fail), heartbeat try to start it again. It's ok, but if the service
have, for any reason, stop after one minute, HB will try to start it
undefinitely... How can I configure HeartBeat in the way it tries to
load a service only 3 times between two reboot, and failover if it can't
run durably the service ? I look after DTD, but didn't find anything
about this.


http://www.linux-ha.org/v2/faq/forced_failover



I hope you understand what I mean :)

Thanks !

Ben
___
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


Re: [Linux-HA] IPv6, service fail on start behaviour

2007-04-19 Thread Benjamin Watine

Andrew Beekhof a écrit :

On 4/18/07, Benjamin Watine <[EMAIL PROTECTED]> wrote:

Hi all

I have two questions about Heartbeat v2 configuration :

1. IPv6addr : I've tried to configure virtual IPv6 address for a
resource group. Because I didn't find documentation about this script, I
did it like IPaddr, but it don't seems to be OK.
What are the parameters to use with IPv6addr script ? Is this script
fully OK ?


/path/to/IPv6addr meta-data


# /etc/ha.d/resource.d/IPv6addr meta-data
usage: /etc/ha.d/resource.d/IPv6addr  
(start|stop|status|usage|meta-data)


That's why I ask.
"/usr/lib/ocf/resource.d/heartbeat/IPv6addr meta-data" works, thank you
Should I open a bugzilla ?



2. On a resource group, when a service shut down (manually or because of
fail), heartbeat try to start it again. It's ok, but if the service
have, for any reason, stop after one minute, HB will try to start it
undefinitely... How can I configure HeartBeat in the way it tries to
load a service only 3 times between two reboot, and failover if it can't
run durably the service ? I look after DTD, but didn't find anything
about this.


http://www.linux-ha.org/v2/faq/forced_failover


Thanks a lot !





I hope you understand what I mean :)

Thanks !

Ben
___
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




___
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


Re: [Linux-HA] IPv6, service fail on start behaviour

2007-04-19 Thread Andrew Beekhof

On 4/19/07, Benjamin Watine <[EMAIL PROTECTED]> wrote:

Andrew Beekhof a écrit :
> On 4/18/07, Benjamin Watine <[EMAIL PROTECTED]> wrote:
>> Hi all
>>
>> I have two questions about Heartbeat v2 configuration :
>>
>> 1. IPv6addr : I've tried to configure virtual IPv6 address for a
>> resource group. Because I didn't find documentation about this script, I
>> did it like IPaddr, but it don't seems to be OK.
>> What are the parameters to use with IPv6addr script ? Is this script
>> fully OK ?
>
> /path/to/IPv6addr meta-data
>
# /etc/ha.d/resource.d/IPv6addr meta-data
usage: /etc/ha.d/resource.d/IPv6addr 
(start|stop|status|usage|meta-data)

That's why I ask.
"/usr/lib/ocf/resource.d/heartbeat/IPv6addr meta-data" works, thank you
Should I open a bugzilla ?


couldn't hurt to



>>
>> 2. On a resource group, when a service shut down (manually or because of
>> fail), heartbeat try to start it again. It's ok, but if the service
>> have, for any reason, stop after one minute, HB will try to start it
>> undefinitely... How can I configure HeartBeat in the way it tries to
>> load a service only 3 times between two reboot, and failover if it can't
>> run durably the service ? I look after DTD, but didn't find anything
>> about this.
>
> http://www.linux-ha.org/v2/faq/forced_failover

Thanks a lot !

>
>>
>> I hope you understand what I mean :)
>>
>> Thanks !
>>
>> Ben
>> ___
>> 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
>
>

___
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


Re: [Linux-HA] IPv6, service fail on start behaviour

2007-04-23 Thread Dejan Muhamedagic
On Thu, Apr 19, 2007 at 12:08:48PM +0200, Andrew Beekhof wrote:
> On 4/19/07, Benjamin Watine <[EMAIL PROTECTED]> wrote:
> >Andrew Beekhof a écrit :
> >> On 4/18/07, Benjamin Watine <[EMAIL PROTECTED]> wrote:
> >>> Hi all
> >>>
> >>> I have two questions about Heartbeat v2 configuration :
> >>>
> >>> 1. IPv6addr : I've tried to configure virtual IPv6 address for a
> >>> resource group. Because I didn't find documentation about this script, I
> >>> did it like IPaddr, but it don't seems to be OK.
> >>> What are the parameters to use with IPv6addr script ? Is this script
> >>> fully OK ?
> >>
> >> /path/to/IPv6addr meta-data
> >>
> ># /etc/ha.d/resource.d/IPv6addr meta-data
> >usage: /etc/ha.d/resource.d/IPv6addr 
> >(start|stop|status|usage|meta-data)
> >
> >That's why I ask.
> >"/usr/lib/ocf/resource.d/heartbeat/IPv6addr meta-data" works, thank you
> >Should I open a bugzilla ?
> 
> couldn't hurt to

None of the heartbeat class agents supports meta-data. Is this
usage wrong?

> 
> >
> >>>
> >>> 2. On a resource group, when a service shut down (manually or because of
> >>> fail), heartbeat try to start it again. It's ok, but if the service
> >>> have, for any reason, stop after one minute, HB will try to start it
> >>> undefinitely... How can I configure HeartBeat in the way it tries to
> >>> load a service only 3 times between two reboot, and failover if it can't
> >>> run durably the service ? I look after DTD, but didn't find anything
> >>> about this.
> >>
> >> http://www.linux-ha.org/v2/faq/forced_failover
> >
> >Thanks a lot !
> >
> >>
> >>>
> >>> I hope you understand what I mean :)
> >>>
> >>> Thanks !
> >>>
> >>> Ben
> >>> ___
> >>> 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
> >>
> >>
> >
> >___
> >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

-- 
Dejan
___
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


Re: [Linux-HA] IPv6, service fail on start behaviour

2007-04-23 Thread Benjamin Watine

Dejan Muhamedagic a écrit :

On Thu, Apr 19, 2007 at 12:08:48PM +0200, Andrew Beekhof wrote:

On 4/19/07, Benjamin Watine <[EMAIL PROTECTED]> wrote:

Andrew Beekhof a écrit :

On 4/18/07, Benjamin Watine <[EMAIL PROTECTED]> wrote:

Hi all

I have two questions about Heartbeat v2 configuration :

1. IPv6addr : I've tried to configure virtual IPv6 address for a
resource group. Because I didn't find documentation about this script, I
did it like IPaddr, but it don't seems to be OK.
What are the parameters to use with IPv6addr script ? Is this script
fully OK ?

/path/to/IPv6addr meta-data


# /etc/ha.d/resource.d/IPv6addr meta-data
usage: /etc/ha.d/resource.d/IPv6addr 
(start|stop|status|usage|meta-data)

That's why I ask.
"/usr/lib/ocf/resource.d/heartbeat/IPv6addr meta-data" works, thank you
Should I open a bugzilla ?

couldn't hurt to


What couldn't hurt ? This behaviour or to open a bugzilla ? :)


None of the heartbeat class agents supports meta-data. Is this
usage wrong?


2. On a resource group, when a service shut down (manually or because of
fail), heartbeat try to start it again. It's ok, but if the service
have, for any reason, stop after one minute, HB will try to start it
undefinitely... How can I configure HeartBeat in the way it tries to
load a service only 3 times between two reboot, and failover if it can't
run durably the service ? I look after DTD, but didn't find anything
about this.

http://www.linux-ha.org/v2/faq/forced_failover

Thanks a lot !


I hope you understand what I mean :)

Thanks !

Ben
___
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



___
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




___
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


Re: [Linux-HA] IPv6, service fail on start behaviour

2007-04-23 Thread Andrew Beekhof

On 4/23/07, Dejan Muhamedagic <[EMAIL PROTECTED]> wrote:

On Thu, Apr 19, 2007 at 12:08:48PM +0200, Andrew Beekhof wrote:
> On 4/19/07, Benjamin Watine <[EMAIL PROTECTED]> wrote:
> >Andrew Beekhof a écrit :
> >> On 4/18/07, Benjamin Watine <[EMAIL PROTECTED]> wrote:
> >>> Hi all
> >>>
> >>> I have two questions about Heartbeat v2 configuration :
> >>>
> >>> 1. IPv6addr : I've tried to configure virtual IPv6 address for a
> >>> resource group. Because I didn't find documentation about this script, I
> >>> did it like IPaddr, but it don't seems to be OK.
> >>> What are the parameters to use with IPv6addr script ? Is this script
> >>> fully OK ?
> >>
> >> /path/to/IPv6addr meta-data
> >>
> ># /etc/ha.d/resource.d/IPv6addr meta-data
> >usage: /etc/ha.d/resource.d/IPv6addr 
> >(start|stop|status|usage|meta-data)
> >
> >That's why I ask.
> >"/usr/lib/ocf/resource.d/heartbeat/IPv6addr meta-data" works, thank you
> >Should I open a bugzilla ?
>
> couldn't hurt to

None of the heartbeat class agents supports meta-data. Is this
usage wrong?


99% of them just redirect to the OCF agent... so in theory it should work anyway
___
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


Re: [Linux-HA] IPv6, service fail on start behaviour

2007-04-27 Thread Alan Robertson
Andrew Beekhof wrote:
> On 4/23/07, Dejan Muhamedagic <[EMAIL PROTECTED]> wrote:
>> On Thu, Apr 19, 2007 at 12:08:48PM +0200, Andrew Beekhof wrote:
>> > On 4/19/07, Benjamin Watine <[EMAIL PROTECTED]> wrote:
>> > >Andrew Beekhof a écrit :
>> > >> On 4/18/07, Benjamin Watine <[EMAIL PROTECTED]> wrote:
>> > >>> Hi all
>> > >>>
>> > >>> I have two questions about Heartbeat v2 configuration :
>> > >>>
>> > >>> 1. IPv6addr : I've tried to configure virtual IPv6 address for a
>> > >>> resource group. Because I didn't find documentation about this
>> script, I
>> > >>> did it like IPaddr, but it don't seems to be OK.
>> > >>> What are the parameters to use with IPv6addr script ? Is this
>> script
>> > >>> fully OK ?
>> > >>
>> > >> /path/to/IPv6addr meta-data
>> > >>
>> > ># /etc/ha.d/resource.d/IPv6addr meta-data
>> > >usage: /etc/ha.d/resource.d/IPv6addr 
>> > >(start|stop|status|usage|meta-data)
>> > >
>> > >That's why I ask.
>> > >"/usr/lib/ocf/resource.d/heartbeat/IPv6addr meta-data" works, thank
>> you
>> > >Should I open a bugzilla ?
>> >
>> > couldn't hurt to
>>
>> None of the heartbeat class agents supports meta-data. Is this
>> usage wrong?
> 
> 99% of them just redirect to the OCF agent... so in theory it should
> work anyway

But, the GUI, et al know that they don't support meta-data, and the
meta-data for them would be very misleading - if you looked at it.


-- 
Alan Robertson <[EMAIL PROTECTED]>

"Openness is the foundation and preservative of friendship...  Let me
claim from you at all times your undisguised opinions." - William
Wilberforce
___
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