[ClusterLabs] Antw: Re: questions about startup fencing
Ken Gaillot
kgaillot at redhat.com
Mon Dec 4 17:17:13 EST 2017
On Mon, 2017-12-04 at 22:08 +0300, Andrei Borzenkov wrote:
> 04.12.2017 18:47, Tomas Jelinek пишет:
> > Dne 4.12.2017 v 16:02 Kristoffer Grönlund napsal(a):
> > > Tomas Jelinek <tojeline at redhat.com> writes:
> > >
> > > > >
> > > > > * how is it shutting down the cluster when issuing "pcs
> > > > > cluster stop
> > > > > --all"?
> > > >
> > > > First, it sends a request to each node to stop pacemaker. The
> > > > requests
> > > > are sent in parallel which prevents resources from being moved
> > > > from node
> > > > to node. Once pacemaker stops on all nodes, corosync is stopped
> > > > on all
> > > > nodes in the same manner.
> > > >
> > > > > * any race condition possible where the cib will record only
> > > > > one
> > > > > node up before
> > > > > the last one shut down?
> > > > > * will the cluster start safely?
> > >
> > > That definitely sounds racy to me. The best idea I can think of
> > > would be
> > > to set all nodes except one in standby, and then shutdown
> > > pacemaker
> > > everywhere...
> > >
> >
> > What issues does it solve? Which node should be the one?
> >
> > How do you get the nodes out of standby mode on startup?
>
> Is --lifetime=reboot valid for cluster properties? It is accepted by
> crm_attribute and actually puts value as transient_attribute.
standby is a node attribute, so lifetime does apply normally.
--
Ken Gaillot <kgaillot at redhat.com>
More information about the Users
mailing list