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

Andrei Borzenkov arvidjaar at gmail.com
Wed May 2 08:57:54 EDT 2018


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?



More information about the Users mailing list