[Pacemaker] Resource Scheduler Parameters

Andrew Beekhof beekhof at gmail.com
Wed Apr 8 14:18:52 EDT 2009

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

> As a workaround, I added calls to the chrt program in each resource script
> to "downgrade" the scheduler to SCHED_OTHER and set the priority to zero,
> which is the system default.

More information about the Pacemaker mailing list