Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Users

Pacemaker 1.0 + heartbeat 2.99 / Problem with failover scores ?

 

 

Linux-HA users RSS feed   Index | Next | Previous | View Threaded


Alain.Moulle at bull

Jul 6, 2009, 1:32 AM

Post #1 of 2 (340 views)
Permalink
Pacemaker 1.0 + heartbeat 2.99 / Problem with failover scores ?

Hi,
I have a 4 nodes configuration and 3 resources on node3 , I'd like
them to be failovered on the 3 other remaining nodes,
not only 1 node, so I have set constraints likewise :
<rsc_location id="place_1_for_resource1" rsc="resource1" score="100"
node="node3"/>
<rsc_location id="place_2_for_resource1" rsc="resource1" score="50"
node="node2"/>
<rsc_location id="place_1_for_resource2" rsc="resource2" score="100"
node="node3"/>
<rsc_location id="place_2_for_resource2" rsc="resource2" score="50"
node="node1"/>
<rsc_location id="place_1_for_resource3" rsc="resource3" score="100"
node="node3"/>
<rsc_location id="place_2_for_resource3" rsc="resource3" score="50"
node="node4"/>

but when I kill the node3, the 3 resources are failovered by node4,
instead of resource1 on node 2 ,
resource2 on node 1 and resource3 on node 4 as I expected.

The same test with same configuration on heartbeat 2.0 without Pacemaker
was working fine,
whereas with Heartbeat-v2 and Pacemaker, it seems not to work as
expected, did I miss a parameter somewhere ?
Or is there an already known issue?

Thanks for your help.
Regards,
Alain
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


dejanmm at fastmail

Jul 6, 2009, 3:31 AM

Post #2 of 2 (295 views)
Permalink
Re: Pacemaker 1.0 + heartbeat 2.99 / Problem with failover scores ? [In reply to]

Hi,

On Mon, Jul 06, 2009 at 10:32:30AM +0200, Alain.Moulle wrote:
> Hi,
> I have a 4 nodes configuration and 3 resources on node3 , I'd like
> them to be failovered on the 3 other remaining nodes,
> not only 1 node, so I have set constraints likewise :
> <rsc_location id="place_1_for_resource1" rsc="resource1" score="100"
> node="node3"/>
> <rsc_location id="place_2_for_resource1" rsc="resource1" score="50"
> node="node2"/>
> <rsc_location id="place_1_for_resource2" rsc="resource2" score="100"
> node="node3"/>
> <rsc_location id="place_2_for_resource2" rsc="resource2" score="50"
> node="node1"/>
> <rsc_location id="place_1_for_resource3" rsc="resource3" score="100"
> node="node3"/>
> <rsc_location id="place_2_for_resource3" rsc="resource3" score="50"
> node="node4"/>
>
> but when I kill the node3, the 3 resources are failovered by node4,
> instead of resource1 on node 2 ,
> resource2 on node 1 and resource3 on node 4 as I expected.
>
> The same test with same configuration on heartbeat 2.0 without Pacemaker
> was working fine,
> whereas with Heartbeat-v2 and Pacemaker, it seems not to work as
> expected, did I miss a parameter somewhere ?
> Or is there an already known issue?

Did you check the scores with ptest -Ls? Perhaps some of the
resources failed on their prefered nodes earlier. Other
constraints, if there are any, may also have influenced the CRM.
If that's fine, then it should work the way you expect. And if it
doesn't please file a bugzilla with hb_report for the incident.

Thanks,

Dejan

> Thanks for your help.
> Regards,
> Alain
> _______________________________________________
> Linux-HA mailing list
> Linux-HA [at] lists
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Linux-HA users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.