[Pacemaker] Resource Scheduler Parameters

Andrew Beekhof beekhof at gmail.com
Thu Apr 9 07:52:41 EDT 2009

On Thu, Apr 9, 2009 at 13:40, Dejan Muhamedagic <dejanmm at fastmail.fm> wrote:
> Hi,
> On Wed, Apr 08, 2009 at 08:18:52PM +0200, Andrew Beekhof wrote:
>> On Wed, Apr 8, 2009 at 18:40, btinsley <btinsley at gmail.com> wrote:
>> > AIS guys said to upgrade to the latest Whitetank :-)? I did and the behavior
>> > is the same, but it's not necessarily incorrect. The aisexec process sets
>> > itself to the realtime scheduling class, which does the same for all of the
>> > Pacemaker processes when they are spawned. This is probably how you want the
>> > cluster daemons to run. However, when lrmd spawns resource scripts
>> > *everything* the script does also inherits the realtime scheduling class.
>> > I'm not sure this is how you want all your clustered applications running
>> > (or all the other stuff a resource script may do). Thoughts here?
>> I'd tend to agree with you - the lrmd should probably do the
>> equivalent of chrt for the child processes it uses to perform the
>> resource actions
> How should lrmd know which scheduler/priority to set? Set it to
> the system default?

That would be my thinking (he also sent a patch which does something like this).
Either that or somehow make it configurable I guess.

More information about the Pacemaker mailing list