meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
vm:proxmox:cluster:2nodes [2025/02/18 20:53] – created niziakvm:proxmox:cluster:2nodes [2025/03/05 22:04] (current) niziak
Line 2: Line 2:
  
 Possible to run QDevice daemon on external - 3rd device: [[https://pve.proxmox.com/wiki/Cluster_Manager#_corosync_external_vote_support|Corosync External Vote Support]] Possible to run QDevice daemon on external - 3rd device: [[https://pve.proxmox.com/wiki/Cluster_Manager#_corosync_external_vote_support|Corosync External Vote Support]]
 +
 +  * On 1st node create cluster.
 +  * On 2nd node join to cluster (node must be empty - no VMs / CT)
 +  * Then add QDevice to cluster.
 +
 +===== QDevice on PBS =====
 +
 +on PBS:
 +<code bash>
 +apt install corosync-qnetd
 +</code>
 +
 +on all nodes:
 +<code bash>
 +apt install corosync-qdevice
 +</code>
 +
 +on one cluster node (separate cluster only network 192.168.188.0/24):
 +<code bash>
 +#pvecm qdevice setup <QDEVICE-IP>
 +pvecm qdevice setup 192.168.188.3 --network 192.168.188.1/24
 +</code>
 +
 +<code bash>
 +pvecm status
 +Cluster information
 +-------------------
 +Name:             example.com
 +Config Version:   3
 +Transport:        knet
 +Secure auth:      on
 +
 +Quorum information
 +------------------
 +Date:             Wed Mar  5 22:04:06 2025
 +Quorum provider:  corosync_votequorum
 +Nodes:            2
 +Node ID:          0x00000001
 +Ring ID:          1.9
 +Quorate:          Yes
 +
 +Votequorum information
 +----------------------
 +Expected votes:   3
 +Highest expected: 3
 +Total votes:      3
 +Quorum:           2  
 +Flags:            Quorate Qdevice 
 +
 +Membership information
 +----------------------
 +    Nodeid      Votes    Qdevice Name
 +0x00000001          1    A,V,NMW 192.168.188.1 (local)
 +0x00000002          1    A,V,NMW 192.168.188.2
 +0x00000000          1            Qdevice
 +
 +</code>
 +