mirror of
https://git.proxmox.com/git/pve-docs
synced 2025-10-05 10:35:24 +00:00
cluster: network: clarify and ease latency requirements
With 5 ms (stable!) even mid size cluster can work just fine, and we know quite some smaller setups that work OK with 6 - 9 ms, so ease on unnecessarily scaring users into thinking that their network will cause them trouble. we got reports of working two node clusters with ~15 ms latency, so it can work out above 10ms, albeit things start to get really brittle and def. not something for 3+ nodes. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
0537ebf1d8
commit
c43c999f81
23
pvecm.adoc
23
pvecm.adoc
@ -511,11 +511,18 @@ file system (`pmxcfs`).
|
|||||||
[[pvecm_cluster_network_requirements]]
|
[[pvecm_cluster_network_requirements]]
|
||||||
Network Requirements
|
Network Requirements
|
||||||
~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~
|
||||||
This needs a reliable network with latencies under 2 milliseconds (LAN
|
|
||||||
performance) to work properly. The network should not be used heavily by other
|
The {pve} cluster stack requires a reliable network with latencies under 5
|
||||||
members; ideally corosync runs on its own network. Do not use a shared network
|
milliseconds (LAN performance) between all nodes to operate stably. While on
|
||||||
for corosync and storage (except as a potential low-priority fallback in a
|
setups with a small node count a network with higher latencies _may_ work, this
|
||||||
xref:pvecm_redundancy[redundant] configuration).
|
is not guaranteed and gets rather unlikely with more than three nodes and
|
||||||
|
latencies above around 10 ms.
|
||||||
|
|
||||||
|
The network should not be used heavily by other members, as while corosync does
|
||||||
|
not uses much bandwidth it is sensitive to latency jitters; ideally corosync
|
||||||
|
runs on its own physically separated network. Especially do not use a shared
|
||||||
|
network for corosync and storage (except as a potential low-priority fallback
|
||||||
|
in a xref:pvecm_redundancy[redundant] configuration).
|
||||||
|
|
||||||
Before setting up a cluster, it is good practice to check if the network is fit
|
Before setting up a cluster, it is good practice to check if the network is fit
|
||||||
for that purpose. To ensure that the nodes can connect to each other on the
|
for that purpose. To ensure that the nodes can connect to each other on the
|
||||||
@ -974,9 +981,9 @@ the cluster and to have a corosync-qnetd package available. We provide a package
|
|||||||
for Debian based hosts, and other Linux distributions should also have a package
|
for Debian based hosts, and other Linux distributions should also have a package
|
||||||
available through their respective package manager.
|
available through their respective package manager.
|
||||||
|
|
||||||
NOTE: In contrast to corosync itself, a QDevice connects to the cluster over
|
NOTE: Unlike corosync itself, a QDevice connects to the cluster over TCP/IP.
|
||||||
TCP/IP. The daemon may even run outside of the cluster's LAN and can have longer
|
The daemon can also run outside the LAN of the cluster and isn't limited to the
|
||||||
latencies than 2 ms.
|
low latencies requirements of corosync.
|
||||||
|
|
||||||
Supported Setups
|
Supported Setups
|
||||||
~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~
|
||||||
|
Loading…
Reference in New Issue
Block a user