[Pacemaker] Two questions about utilization

Dejan Muhamedagic dejanmm at fastmail.fm
Mon Jan 10 14:39:28 UTC 2011


Hi,

On Fri, Jan 07, 2011 at 05:30:53PM +0000, Daugherity, Andrew W wrote:
> Date: Fri, 7 Jan 2011 13:32:49 +0100
> From: Michael Schwartzkopff <misch at clusterbau.com>
> To: Pacemaker mailing list <pacemaker at oss.clusterlabs.org>
> Subject: [Pacemaker] Two questions about utilization
> Message-ID: <201101071332.49884.misch at clusterbau.com>
> 
> Hi,
> 
> I am starting the explore the utilization feature in pacemaker-1.1. At the
> moment I have two problems:
> 
> 1) Following Beekhofs blog
> http://theclusterguy.clusterlabs.org/post/570381880/feature-spotlight-
> utilization
> 
> I tried to enter the utilization feature for the nodes. But it seems that the
> cluster doesn't like that attribute:
> 
> linux-54gl:~ # crm configure node linux-54gl utilization cores=2
> linux-54gl:~ # crm configure show
> node linux-54gl
> node linux-qwyt
> (...)
> 
> Does anybody have a good explanation why this doesn't work?

Yes, you found a bug. In case the utilization set didn't exist,
no attributes could be set this way. Fixed now.

BTW, you can also use "crm node utilization ..."

Thanks,

Dejan

> What does 'cibadmin -Q' show for the validate-with attribute of the top-level cib object?  If it's "pacemaker-1.0" then utilization won't work.  I encountered this with a cluster I'd first set up on pacemaker 1.0 (SLES11) and later upgraded to 1.1 (SLES11sp1).
> 
> You can either blow away the CIB and start over, or dump it, edit it to use pacemaker-1.1, and reload it, which is what I did.  I don't think there's a way to change the validation version from the crm shell.  I may have had to use crm configure edit and add the utilization attributes to the nodes that way, but I did get it working.
> 
> If this was your problem, fixing it will probably fix your other issue too.
> 
> 
> Andrew Daugherity
> Systems Analyst
> Div. of Research and Graduate Studies
> Texas A&M University
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker




More information about the Pacemaker mailing list