Fencing HA

CedricKid

New Member
Apr 22, 2024
14
0
1
Hello, I'm researching HA in Proxmox and came across the concept of fencing. I understand that it isolates a node from a cluster when it's faulty, but I don't quite grasp its real significance. I saw an example involving shared storage, but I didn't understand how fencing protects my cluster.
 
Hi @CedricKid ,
Your post contains no question marks "?" , i.e. there is no specific question in there. It seems like you are confused about HA Fencing and are looking for more information. Here are a few resources that may be helpful to review:

https://access.redhat.com/documenta..._availability_add-on_overview/s1-fencing-haao
https://clusterlabs.org/pacemaker/doc/2.1/Pacemaker_Explained/html/fencing.html
https://clusterlabs.org/pacemaker/doc/crm_fencing.html
https://documentation.suse.com/sle-ha/12-SP5/html/SLE-HA-all/cha-ha-fencing.html

Or, perhaps this may be helpful:
Imagine you are making soup with your roommate. You are constantly communicating and coordinating how much salt to add into the pot.

At some point, your roommate is not answering the phone and you have to run out. There is a chance that the roommate will come and add salt, which you just did. Because there is no communication, you need to prevent your roommate from adding salt. So you lock the door with a key they don't have. You fenced them from the soup.

Soup is the shared resource that must only be accessed in coordination with other stakeholders. Fencing prevents non-coordinated access, which can otherwise lead to data loss/corruption.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
Last edited:
Soup is the shared resource that must only be accessed in coordination with other spoonholders.
I'll see myself out.
 
  • Like
Reactions: bbgeek17
Bonjour @CedricKid ,
Votre message ne contient aucun point d'interrogation "?" , c'est-à-dire qu'il n'y a pas de question spécifique là-dedans. Il semble que vous soyez confus au sujet de HA Fencing et que vous recherchiez plus d’informations. Voici quelques ressources qu’il peut être utile de consulter :

https://access.redhat.com/documenta..._availability_add-on_overview/s1-fencing-haao
https://clusterlabs.org/pacemaker/doc/2.1/Pacemaker_Explained/html/fencing.html
https://clusterlabs.org/pacemaker/doc/crm_fencing.html
https://documentation.suse.com/sle-ha/12-SP5/html/SLE-HA-all/cha-ha-fencing.html

Ou peut-être que ceci peut être utile :
Imaginez que vous préparez de la soupe avec votre colocataire. Vous communiquez et coordonnez constamment la quantité de sel à ajouter dans le pot.

À un moment donné, votre colocataire ne répond plus au téléphone et vous devez vous enfuir. Il est possible que le colocataire vienne ajouter du sel, ce que vous venez de faire. Parce qu'il n'y a pas de communication, vous devez empêcher votre colocataire d'ajouter du sel. Alors vous verrouillez la porte avec une clé qu’ils n’ont pas. Vous les avez retirés de la soupe.

La soupe est la ressource partagée à laquelle il faut accéder uniquement en coordination avec les autres parties prenantes. La clôture empêche un accès non coordonné, qui pourrait autrement entraîner une perte/corruption de données.


Blockbridge : Stockage partagé tout NVME à très faible latence pour Proxmox - https://www.blockbridge.com/proxmox
Okay, thank you. The example is very clear. So, in the context of Proxmox, for instance, could we encounter an issue with shared Ceph storage? For example, if my PVE2, which can no longer communicate, creates a 50GB VM, would the other PVE nodes not see that 50GB has been taken? Could this potentially lead to unintentional simultaneous access to shared resources ?
 
Last edited:
So, in the context of Proxmox, for instance, could we encounter an issue with shared Ceph storage?
No, you will not encounter this issue if you have a properly configured cluster. I.e. don't try to circumvent a supported configuration.
if my PVE2, which can no longer communicate, creates a 50GB VM
If it can't communicate - it will not be able to create a VM or a disk. The Proxmox cluster architecture will block that attempt.
Could this potentially lead to unintentional simultaneous access to shared resources ?
There are many fences (pun intended) in place to prevent this from happening. If you intentionally circumvent them - that is not a PVE problem.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
  • Like
Reactions: Kingneutron

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!