[Pacemaker] Resource Scheduler Parameters

Dejan Muhamedagic dejanmm at fastmail.fm
Thu Apr 9 07:40:57 EDT 2009


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?

Thanks,

Dejan

> > 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.
> 
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker




More information about the Pacemaker mailing list