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

Mailing List Archive: Linux-HA: Users

Linux HA: Resource Stickiness

 

 

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


timothy.carr at foxtrail

Aug 26, 2009, 5:02 AM

Post #1 of 6 (764 views)
Permalink
Linux HA: Resource Stickiness

Hi All,

I have configured the resource stickiness attribute for a simgle resource
which has not been added to a group and this works 100%. I then recreated
the resource under a group, applied the stickiness to the group but when a
node boots up and joins the cluster it shuts down the resource and starts up
the resource again ..

Any ideas as to why this is happening to the group or am I mis-configuring
somewhere ?

Thanks


--
Timothy Carr
Technical Specialist
University of Cape Town
Cell: +27834572568
Fax: +27865472190
Gtalk: timothy.carr [at] foxtrail
Skype: timothy.carr.foxtrail
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


andrew at beekhof

Aug 26, 2009, 6:21 AM

Post #2 of 6 (721 views)
Permalink
Re: Linux HA: Resource Stickiness [In reply to]

On Wed, Aug 26, 2009 at 2:02 PM, Timothy
Carr<timothy.carr [at] foxtrail> wrote:
> Hi All,
>
> I have configured the resource stickiness attribute for a simgle resource
> which has not been added to a group and this works 100%. I then recreated
> the resource under a group, applied the stickiness to the group but when a
> node boots up and joins the cluster it shuts down the resource and starts up
> the resource again ..

on the same node or does it move the group to the new node?
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


timothy.carr at foxtrail

Aug 26, 2009, 6:24 AM

Post #3 of 6 (711 views)
Permalink
Re: Linux HA: Resource Stickiness [In reply to]

It stays on the same node ..

tim


On Wed, Aug 26, 2009 at 3:21 PM, Andrew Beekhof <andrew [at] beekhof> wrote:

> On Wed, Aug 26, 2009 at 2:02 PM, Timothy
> Carr<timothy.carr [at] foxtrail> wrote:
> > Hi All,
> >
> > I have configured the resource stickiness attribute for a simgle resource
> > which has not been added to a group and this works 100%. I then recreated
> > the resource under a group, applied the stickiness to the group but when
> a
> > node boots up and joins the cluster it shuts down the resource and starts
> up
> > the resource again ..
>
> on the same node or does it move the group to the new node?
> _______________________________________________
> Linux-HA mailing list
> Linux-HA [at] lists
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>



--
Timothy Carr
Technical Specialist
University of Cape Town
Cell: +27834572568
Fax: +27865472190
Gtalk: timothy.carr [at] foxtrail
Skype: timothy.carr.foxtrail
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


andrew at beekhof

Aug 26, 2009, 6:29 AM

Post #4 of 6 (729 views)
Permalink
Re: Linux HA: Resource Stickiness [In reply to]

On Wed, Aug 26, 2009 at 3:24 PM, Timothy
Carr<timothy.carr [at] foxtrail> wrote:
> It stays on the same node ..

Can you _attach_ the logs from that node?
What version is this?
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


timothy.carr at foxtrail

Aug 27, 2009, 12:59 AM

Post #5 of 6 (705 views)
Permalink
Re: Linux HA: Resource Stickiness [In reply to]

I've managed to resolve the issue with the resource stickiness problem.

What was happening was that the linux systems was not deactivating the LV's
when booting up. I disabled boot.lvm from the /etc/init.d scripts on both
hosts and got linux HA to do the activation via its OCF resource agents.

This not clears the " multi-running error " which i was getting and the
resource now sticks to the failover host

Tim


On Wed, Aug 26, 2009 at 3:29 PM, Andrew Beekhof <andrew [at] beekhof> wrote:

> On Wed, Aug 26, 2009 at 3:24 PM, Timothy
> Carr<timothy.carr [at] foxtrail> wrote:
> > It stays on the same node ..
>
> Can you _attach_ the logs from that node?
> What version is this?
> _______________________________________________
> Linux-HA mailing list
> Linux-HA [at] lists
> http://lists.linux-ha.org/mailman/listinfo/linux-ha
> See also: http://linux-ha.org/ReportingProblems
>



--
Timothy Carr
Technical Specialist
University of Cape Town
Cell: +27834572568
Fax: +27865472190
Gtalk: timothy.carr [at] foxtrail
Skype: timothy.carr.foxtrail
_______________________________________________
Linux-HA mailing list
Linux-HA [at] lists
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems


andrew at beekhof

Aug 27, 2009, 3:23 AM

Post #6 of 6 (693 views)
Permalink
Re: Linux HA: Resource Stickiness [In reply to]

On Thu, Aug 27, 2009 at 9:59 AM, Timothy
Carr<timothy.carr [at] foxtrail> wrote:
> I've managed to resolve the issue with the resource stickiness problem.
>
> What was happening was that the linux systems was not deactivating the LV's
> when booting up. I disabled boot.lvm from the /etc/init.d scripts on both
> hosts and got linux HA to do the activation via its OCF resource agents.
>
> This not clears the " multi-running error " which i was getting and the
> resource now sticks to the failover host

Thats usually the problem. I need to think of a way to make it more
obvious to users that this is the case.
_______________________________________________
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.