I have a program that executes on proxmox PVE nodes and has to ensure that one of its critical sections will only run on *one* of all involved cluster node at the same time. It's a low-volume thing (the mutex will have to be acquired rarely), but it must work reliably. Will something to the effect of `mkdir /etc/pve/mycustommutexdir; do the criticial thing; rmdir /etc/pve/mycustommutexdir` work and be enough for this condition to be met, or is there a better way to do this with what PVE holds in store ootb?
I would very much like to avoid introducing another infrastructure component/service for this puporse alone, if possible.
I would very much like to avoid introducing another infrastructure component/service for this puporse alone, if possible.