The login failure occurs when a host in the cluster is shut down

shining

New Member
Jun 6, 2022
9
0
1
After a host in the cluster is shut down, the cluster page cannot be accessed.

Pve: 7.2

1. Whether the page cannot be accessed depends on the number of clusters

2. Whether the execution of the underlying command has any impact

3. In the actual environment, one host is likely to perform maintenance. In this case, whether normal operations are affected.
 
Hi,

so you cannot log in at all as long as a node in the cluster is shutdown?
 
all of them is started can login.

2 node, one is down.

Code:
root@pve:~# pvecm status

Cluster information

-------------------

Name:             cluster1

Config Version:   2

Transport:        knet

Secure auth:      on


Quorum information

------------------

Date:             Tue Jun  7 18:11:15 2022

Quorum provider:  corosync_votequorum

Nodes:            1

Node ID:          0x00000001

Ring ID:          1.48

Quorate:          No


Votequorum information

----------------------

Expected votes:   2

Highest expected: 2

Total votes:      1

Quorum:           2 Activity blocked

Flags:           


Membership information

----------------------

    Nodeid      Votes Name

0x00000001          1 192.168.146.165 (local)

root@pve:~#
 
To have a quorum, you need a majority of the votes. This would be 50 % of the votes + 1 vote = 2 votes (for the two node cluster). There is an option to enable two_node operation (see https://www.systutorials.com/docs/linux/man/5-votequorum/) but I wouldn't recommend it. If both nodes can't see each other but are still working, weird things could happen to the config since both edit the config independently.

Better if possible would be a three node cluster since there a majority of the votes would be two, and one node be unavailable.
 
thanks a lot!
I see, the cluster with more than 3 nodes, down one node login is no problem.

Also, whether Proxmox supports multiple cluster management?
 
Also, whether Proxmox supports multiple cluster management?
No, Proxmox does not support multi-cluster management at the moment. This feature might be released some time in the future though (nothing concrete yet).