>>> Lars Marowsky-Bree <[email protected]> schrieb am 23.05.2011 um 13:21 in >>> Nachricht <[email protected]>: > On 2011-05-23T10:11:21, Ulrich Windl <[email protected]> > wrote: > > > Hi! > > > > I have defined nodes with a CPU and RAM utilization value, and I have > defined a resource that uses CPU and RAM. I'd expect to see the node's > utilization (rest capacity) reduced by the amount that the running resources > specify, but that doesn't seem to be the case. > > Where do you expect to see that? > > The remaining capacity is not currently reported (except via ptest). The > values you specified in the configuration section are the base values, > not the adjusted ones. > > > How would I do a similar thing with pacemaker? > > You'd send in a patch for crm_mon and/or hawk to show this ;-)
Hi! For the impatient, here's my first guess ;-) # man ptest #SLES11 SP1 No manual entry for ptest # ptest -LU | grep ^Remaining Remaining: rksaph03 capacity: utl_cpu=16 utl_ram=116 Remaining: rksaph04 capacity: utl_cpu=20 utl_ram=120 Remaining: rksaph07 capacity: utl_cpu=20 utl_ram=120 (So it works) My second guess was like: # ptest -LU | egrep '^(Original|Remaining)' > > It's at least on hawk's roadmap, but I'm not sure when Tim will get to > it. With a tiny script that information can be displayed rather nicely I'd guess. Regards, Ulrich _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
