[Linux-HA] Almost done with my HA setup, but somethign not working

2008-04-21 Thread Nick Duda
(sorry for the long email, but all my configs are here to view) I posted before about HA with 2 squid servers. It's just about done, but stumbling on something. Everytime i manually cause something to happen in hopes to see it failover, it doesnt. For example, I get crm_mon to show everything

[SOLVED] Re: [Linux-HA] Resource Stickiness (documentation?) bug is biting hard

2008-04-21 Thread Luis Motta Campos
Xinwei Hu wrote: > 1. Change the rsc_colocation to > "" > from="database-filesystem" to="database-disk" to_role="master" > score="INFINITY"/> > "" > Don't colocate with group. > 2. default-resource-stickness = 0 > 3. database-filesystem's resource-stickness = 1000 Now, I understand what I was doi

RE: [Linux-HA] (no subject)

2008-04-21 Thread Rodrigo Pereira
> -Original Message- > From: Dejan Muhamedagic [mailto:[EMAIL PROTECTED] > Sent: segunda-feira, 21 de Abril de 2008 14:09 > To: [EMAIL PROTECTED]; General Linux-HA mailing list > Subject: Re: [Linux-HA] (no subject) > > Hi, > > On Sun, Apr 20, 2008 at 06:20:50PM +0100, Rodrigo Pereira

Re: [Linux-HA] (no subject)

2008-04-21 Thread Dejan Muhamedagic
Hi, On Sun, Apr 20, 2008 at 06:20:50PM +0100, Rodrigo Pereira wrote: > Hello, > > On he linux-HA site we can read the following warning about the Xen OCF: > > " > Memory management race conditions > > In case there is more than one Xen node started on a node at the same time, > it can happen th

Re: [Linux-HA] failcount for master/slave resource

2008-04-21 Thread Andrew Beekhof
On Mon, Apr 21, 2008 at 11:07 AM, Junko IKEDA <[EMAIL PROTECTED]> wrote: > Hi, > > I have one master/slave resource. > (Heartbeat 2.2.0 + Pacemaker 0.6.2) > > Master/Slave Set: ms-sf > stateful-1:0 (ocf::heartbeat:Stateful):Master node-b > stateful-1:1 (ocf::heartbeat:Stateful):Started node-a

Re: [Linux-HA] Election for resources

2008-04-21 Thread Andrew Beekhof
On Mon, Apr 21, 2008 at 11:37 AM, Franck Ganachaud <[EMAIL PROTECTED]> wrote: > Thanks for your answer, Dejan. > > That's the "almost" part I can't figure out. > > It seems that from the little knowledge I have of coding science and the > source of heartbeat (ahem! yes I did it, I looked at the s

Re: [Linux-HA] Resource Stickiness (documentation?) bug is biting hard

2008-04-21 Thread Andrew Beekhof
On Mon, Apr 21, 2008 at 10:24 AM, Luis Motta Campos <[EMAIL PROTECTED]> wrote: > Andrew Beekhof wrote: > > They're not going to stay on db-sql2.ripe.net because you're also > > telling them that they _must_ be running with the master drbd > > instance (which is running on db-sql4.ripe.net). > >

Re: [Linux-HA] Election for resources

2008-04-21 Thread Dejan Muhamedagic
Hi, On Mon, Apr 21, 2008 at 12:21:04PM +0200, Franck Ganachaud wrote: > Quote : > >BTW, why is that important > >to you? If you want to run a group on certain node, why not just > >set the location constraint. If you don't care where it runs... > >what difference does it make then how the cluster

Re: [Linux-HA] Election for resources

2008-04-21 Thread Franck Ganachaud
Quote : >BTW, why is that important >to you? If you want to run a group on certain node, why not just >set the location constraint. If you don't care where it runs... >what difference does it make then how the cluster decides on >resource locations. Well, some people I have to answer to like thin

Re: [Linux-HA] Resource Stickiness (documentation?) bug is biting hard

2008-04-21 Thread Xinwei Hu
1. Change the rsc_colocation to "" "" Don't colocate with group. 2. default-resource-stickness = 0 3. database-filesystem's resource-stickness = 1000 2008/4/21, Luis Motta Campos <[EMAIL PROTECTED]>: > Xinwei Hu wrote: > > Hello, > > Can you try to set default-resource-stickiness to 1000 ? >

Re: [Linux-HA] Election for resources

2008-04-21 Thread Dejan Muhamedagic
Hi, On Mon, Apr 21, 2008 at 11:37:37AM +0200, Franck Ganachaud wrote: > Thanks for your answer, Dejan. > > That's the "almost" part I can't figure out. > > It seems that from the little knowledge I have of coding science and the > source of heartbeat (ahem! yes I did it, I looked at the source),

Re: [Linux-HA] Election for resources

2008-04-21 Thread Franck Ganachaud
Thanks for your answer, Dejan. That's the "almost" part I can't figure out. It seems that from the little knowledge I have of coding science and the source of heartbeat (ahem! yes I did it, I looked at the source), tell me if I'm wrong, pengine picks up the first (index 0) in the allowed node

RE: [Linux-HA] New questions relating to: Methods of dealing withnetwork fail(ure/over)

2008-04-21 Thread Stallmann, Andreas
Hi there! Thank you Dominik. dopd works just fine in heartbeat 2.1.3-21.1 toghether with drbd 8.2.5-3 and solved our problem. Kind regards, Andreas -- CONET Solutions GmbH Andreas Stallmann, Senior Berater --- CONET Solutions GmbH, Theodor-Heuss-Allee 19, 537

Re: [Linux-HA] Resource Stickiness (documentation?) bug is biting hard

2008-04-21 Thread Luis Motta Campos
Xinwei Hu wrote: > Hello, > Can you try to set default-resource-stickiness to 1000 ? I did, setted it to 1. It didn't work. Now, I dropped all my configuration and started over, with only a single IP, and it seems to be working right. I will start adding more configuration until it brea

Re: [Linux-HA] Resource Stickiness (documentation?) bug is biting hard

2008-04-21 Thread Xinwei Hu
Hello, Can you try to set default-resource-stickiness to 1000 ? 2008/4/21, Luis Motta Campos <[EMAIL PROTECTED]>: > Andrew Beekhof wrote: > > They're not going to stay on db-sql2.ripe.net because you're also > > telling them that they _must_ be running with the master drbd > > instance (which

Re: [Linux-HA] Election for resources

2008-04-21 Thread Dejan Muhamedagic
Hi, On Mon, Apr 21, 2008 at 09:31:49AM +0200, Franck Ganachaud wrote: > Hello, > > I have a two nodes cluster (nodeA and nodeB) with a set of resources linked > together in a group. Nothing tricky. > > How hearbeat select which node will run the resources? I see lines like > this : > "pengine: [

Re: [Linux-HA] Resource Stickiness (documentation?) bug is biting hard

2008-04-21 Thread Luis Motta Campos
Andrew Beekhof wrote: > They're not going to stay on db-sql2.ripe.net because you're also > telling them that they _must_ be running with the master drbd > instance (which is running on db-sql4.ripe.net). >From this, I understand that there is some problem with my constraints. I'm confused, as I

[Linux-HA] Election for resources

2008-04-21 Thread Franck Ganachaud
Hello, I have a two nodes cluster (nodeA and nodeB) with a set of resources linked together in a group. Nothing tricky. How hearbeat select which node will run the resources? I see lines like this : "pengine: [12684]: info: native_assign_node: 2 nodes with equal score (1) for running the lis