[ClusterLabs] Cold star of one node only

Gienek Nowacki nowackig at gmail.com
Wed Sep 14 17:55:29 UTC 2016


2016-09-13 23:14 GMT+02:00 Ken Gaillot <kgaillot at redhat.com>:

> On 09/13/2016 03:27 PM, Gienek Nowacki wrote:
> > Hi,
> >
> > I'm still testing (before production running) the solution with
> > pacemaker+corosync+drbd+dlm+gfs2 on Centos7 with double-primary config.
> >
> > I have two nodes: wirt1v and wirt2v - each node contains LVM partition
> > with DRBD (/dev/drbd2) and filesystem mounted as /virtfs2. Filesystems
> > /virtfs2 contain the images of virtual machines.
> >
> > My problem is so - I can't start the cluster and the resources on one
> > node only (cold start) when the second node is completely powered off.
>
> "two_node: 1" implies "wait_for_all: 1" in corosync.conf; see the
> votequorum(5) man page for details.
>
> This is a safeguard against the situation where the other node is up,
> but not reachable from the newly starting node.
>
> You can get around this by setting "wait_for_all: 0", and rely on
> pacemaker's fencing to resolve that situation. But if so, be careful
> about starting pacemaker when the nodes can't see each other, because
> each will try to fence the other.
> (...)
>


Yes, this is the solution of my problem - now it's work as I expected.

Many thanks for your answer,
Gienek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/users/attachments/20160914/3ceb31e1/attachment.htm>


More information about the Users mailing list