How can all PVE nodes not restart when HA function is enabled and Ceph switch is turned off?

pve51888

New Member
Oct 2, 2023
19
0
1
Dear experts and professors, do you have any good solutions to solve this problem?
this is my pve , HA is enable ,and some virtual PC is include in HA
one day ,my ceph switch down ,
and then all of pve node restart after 。
This is a production environment ,we want in this case ,all of pve node just disconnect the network instead of restarting。
(When I turn off the HA function and this ceph switch shuts down, all PVE nodes are only disconnected from the network)
and ,LACP must be retained because the line bandwidth must be greater than 2G。

Here are the specific cluster configuration files
proxmox架构图2 - 副本英语.jpg
 
root@whjxpve1:~# cat /etc/pve/corosync.conf
logging {
debug: off
to_syslog: yes
}

nodelist {
node {
name: whjxpve1
nodeid: 1
quorum_votes: 1
ring0_addr: 88.0.0.1
}
node {
name: whjxpve2
nodeid: 2
quorum_votes: 1
ring0_addr: 88.0.0.2
}
node {
name: whjxpve3
nodeid: 3
quorum_votes: 1
ring0_addr: 88.0.0.3
}
}

quorum {
provider: corosync_votequorum
}

totem {
cluster_name: pve
config_version: 3
interface {
linknumber: 0
}
ip_version: ipv4-6
link_mode: passive
secauth: on
version: 2
}
 
root@whjxpve1:~# ha-manager status
quorum OK
master whjxpve3 (active, Mon Oct 16 11:34:43 2023)
lrm whjxpve1 (active, Mon Oct 16 11:34:39 2023)
lrm whjxpve2 (active, Mon Oct 16 11:34:45 2023)
lrm whjxpve3 (active, Mon Oct 16 11:34:38 2023)
service vm:100 (whjxpve3, started)
service vm:101 (whjxpve3, stopped)
service vm:102 (whjxpve3, started)
service vm:103 (whjxpve1, started)
service vm:104 (whjxpve1, started)
service vm:105 (whjxpve3, started)
 
root@whjxpve1:~# cat /etc/network/interfaces


auto lo
iface lo inet loopback

auto eno1
iface eno1 inet manual

auto eno2
iface eno2 inet manual

auto enp179s0f0
iface enp179s0f0 inet manual

auto enp179s0f1
iface enp179s0f1 inet manual

auto bond0
iface bond0 inet manual
bond-slaves eno1 eno2
bond-miimon 100
bond-mode 802.3ad
bond-xmit-hash-policy layer2+3

auto bond1
iface bond1 inet manual
bond-slaves enp179s0f0 enp179s0f1
bond-miimon 100
bond-mode 802.3ad
bond-xmit-hash-policy layer2+3

auto vmbr0
iface vmbr0 inet static
address 88.0.0.1/24
gateway 88.0.0.99
bridge-ports bond0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094

auto vmbr1
iface vmbr1 inet static
address 10.0.0.1/24
bridge-ports bond1
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!