[ClusterLabs] 答复: 答复: Could not start only one node in pacemaker

Klaus Wenninger kwenning at redhat.com
Wed May 2 09:59:30 EDT 2018

On 05/02/2018 02:57 PM, Andrei Borzenkov wrote:
> 02.05.2018 15:37, Jehan-Guillaume de Rorthais пишет:
>> On Wed, 2 May 2018 05:24:23 +0000
>> 范国腾 <fanguoteng at highgo.com> wrote:
>>> Andrei,
>>> We use the following command to create the cluster:
>>> pcs cluster auth node1 node2 node3 node4 -u hacluster;
>>> pcs cluster setup --name cluster_pgsql node1 node2 node3 node4;
>>> pcs cluster start --all;
>>> pcs property set no-quorum-policy=freeze;
>>> pcs property set stonith-enabled=true;
>>> pcs stonith create scsi-stonith-device fence_scsi devices=/dev/mapper/fence
>>> pcmk_monitor_action=metadata pcmk_reboot_action=off pcmk_host_list="node1
>>> node2 node3 node4" meta provides=unfencing;
>>> Could you please tell how to configure if I want to use only fencing or only
>>> quorum? Maybe no-quorum-policy=freeze and stonith-enabled=true could not be
>>> set at the same time?
>> You can not run without fencing. Period. Quorum might be optional, but not
>> fencing. Moreover, yes, they can play together well: you don't have to disable
>> quorum because you are using fencing.
> What exact additional advantage quorum gives you in addition to fencing
> if you are going to use fencing anyway?

No fence-races for instance. The quorate-partition is gonna fence
the non-quorate.

> _______________________________________________
> Users mailing list: Users at clusterlabs.org
> https://lists.clusterlabs.org/mailman/listinfo/users
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org

More information about the Users mailing list