[PVE-User] 2node cluster

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Jun 20 13:01:28 CEST 2018


On 6/20/18 12:51 PM, Dean Mumby wrote:
> just create a proxmox vm within each node and join them to the cluster , then you should be able to have each node run independently.
> 

please don't do that, uneccessarily complicated and not good practice
to depend an additional vote to itself through indirection...
And if you add one in both nodes you win absolute nothing, as the cluster
then expects 4 votes, with 3 for quorum. If one node (and it's VM) go
down you have 2 votes left, i.e. no quorum...

If you have a case where one node will always be up and the second may
be shutdown from time to time just give the first "primary" node two
votes via editing /etc/pve/corosync.conf [1]. Just increase the
'quorum_votes' for the respective node entry.

cheers,
Thomas

[1]: https://pve.proxmox.com/pve-docs/chapter-pvecm.html#edit-corosync-conf

> 
> Regards
> Dean Mumby
> 
> ----- Original Message -----
> From: "Tonči Stipičević" <tonci at suma-informatika.hr>
> To: pve-user at pve.proxmox.com
> Sent: Wednesday, 20 June, 2018 12:44:59
> Subject: [PVE-User] 2node cluster
> 
> Hello to all
> 
> I'm testing pve-storage-zsync and it works pretty well on my 3node 
> cluster .   One VM from origin node is replicating to other two nodes 
> and when I shutdown origin node , I can start VM from it's replicated 
> image on one of the other nodes w/o any issues/problems. If I make some 
> changes to this replicated image , after starting "dead" node back 
> again, replication overrides those changes and so on ...
> 
> So this is possible because we still have quorum .  However real 
> scenario will have only two nodes in cluster and the problem arises when 
> one node shuts down and there is no quorum any more.
> 
> Then we have to lower "votes" on the surviving node.
> 
> Since I want to make zfs-sync (disaster recovery) test with 2node 
> cluster ,  the question would be: Is it possible to start "dead" node 
> back again and restore "votes" value on the surviving node ?      Will 
> the cluster accept this "dead" node back ?
> 
> I have never done this before  and just want to be prepared for 
> reinstalling dead node if it cannot get back into the cluster again ....
> 
> Thank you very much in advance
> 
> and
> 
> BR
> 
> 
> Tonci
> 
> 
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
> 






More information about the pve-user mailing list