[ClusterLabs] Feedback wanted: changing "master/slave" terminology

Ken Gaillot kgaillot at redhat.com
Thu Jan 25 11:00:14 EST 2018


On Thu, 2018-01-25 at 11:31 +0100, Jehan-Guillaume de Rorthais wrote:
> On Thu, 25 Jan 2018 11:28:16 +0100
> Jehan-Guillaume de Rorthais <jgdr at dalibo.com> wrote:
> 
> > On Thu, 25 Jan 2018 10:03:34 +0100
> > Ivan Devát <idevat at redhat.com> wrote:
> > 
> > > > I think there's enough sentiment for "promoted"/"started" as
> > > > the role
> > > > names, since it most directly reflects how pacemaker uses them.
> > > >   
> > > 
> > > Just a question.
> > > The property "role" of a resource operation can have values:
> > > "Stopped", 
> > > "Started" and in the case of multi-state resources, "Slave" and
> > > "Master".
> > > 
> > > What does it mean when the value is "Started"? Does it mean
> > > either 
> > > "Slave" or "Master" or does it mean just "Slave"?
> > 
> > This has been discussed on this list, not sure when...
> > 
> > "Started" has the exact same meaning than "Slave" (and the other
> > way around).

Correct, "Started" is just the term used with non-master/slave
resources.

"Slave" is almost but not 100% identical to "Started" internally, but
those details can be completely hidden from the user, so we can use
"Started" as a replacement for "Slave" in the configuration and
documentation.

> > If I remember correctly, a patch fixed some output about this some
> > versions
> > ago.
> 
> See commits:
> 
>   ab44df4b6b2f2af6cf94a50833b4e3acc3718c72
>   4acd6327a949a3836fa7bb1851f758d4474cd05d
-- 
Ken Gaillot <kgaillot at redhat.com>




More information about the Users mailing list