7 juillet 2015 11:26 "Andrei Borzenkov" <[email protected]> a écrit: > On Tue, Jul 7, 2015 at 12:19 PM, Nicolas S. <[email protected]> wrote: > >> Hello everybody, >> >> I'm posting first time on this mailing list for an advice. >> >> I try actually trying to build a cluster on Centos 7. >> >> The cluster has 3 nodes : >> >> - 1 virtual machine (machine1). This machine is supposed to be >> high-available >> - 2 physical machines identical (machine2 and 3) >> >> The physical machines are supposed to use DRBD to replicate storage. >> A shared volume is going to be mounted on both machine 2 and 3 in read/write >> (gfs2). >> >> The virtual machine is only here for the vote in the qorum, it has no data . > > It's not going to work. If host where this VM is running goes down, > quorum is lost.
I must maybe precise : the VM isnt located on one of the physical machine, it is on another place, so if the host of the vm goes down, the 2 physical nodes still remain. So quorum isnt't lost. > >> I m' following this guide : >> http://clusterlabs.org/doc/en-US/Pacemaker/1.1-pcs/html/Clusters_from_Scratch/index.html >> >> My questions are : >> >> - Is this configuration OK or shoud I better go to a 2 node only cluster ? > > You need 2 node cluster with stonith. > >> - Is there a way to "group" the storage machines 2 and 3 and put some >> ressources (like DRBD and GFS2) only on them ? So that the machine 1 is >> here , but does nothing, just vote. >> I looked around in the pcs command line option but maybe i missed it. >> >> Thanks in advance >> >> Regards >> >> Nicolas. >> >> _______________________________________________ >> Users mailing list: [email protected] >> http://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 > > _______________________________________________ > Users mailing list: [email protected] > http://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 _______________________________________________ Users mailing list: [email protected] http://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
