[ClusterLabs] cofigured trace for Virtual Domains - automatic restart ?

Ken Gaillot kgaillot at redhat.com
Fri Sep 17 19:19:56 EDT 2021


On Sat, 2021-09-18 at 00:46 +0200, Lentes, Bernd wrote:
> 
> ----- On Sep 17, 2021, at 9:13 PM, kgaillot kgaillot at redhat.com
> wrote:
> 
> > > Bernd
> > 
> > Tracing works by setting a special parameter, which to pacemaker
> > looks
> > like a configuration change that requires a restart. With the new
> > OCF
> > 1.1 standard, the trace parameter could be marked reloadable, but
> > the
> > agents need to be updated to do that.
> > --
> > Ken Gaillot <kgaillot at redhat.com>
> 
> Hi Ken,
> 
> but does pacemaker do it automatically or do i have to initiate that
> ?
> 
> Bernd

If the agent meta-data advertises support for the 1.1 standard and
indicates that the trace_ra parameter is reloadable, then Pacemaker
will automatically do a reload instead of restart for the resource if
the parameter changes.

trace_ra is unusual in that resource agents don't define the parameter
themselves, the ocf-shellfuncs shell include looks for it instead. It
would be nice to come up with a general solution that all agents can
use rather than modify each agent's meta-data individually, but either
approach would work.
-- 
Ken Gaillot <kgaillot at redhat.com>



More information about the Users mailing list