[pve-devel] Cluster storage plugin assistant service
Andrei Perapiolkin
andrei.perepiolkin at open-e.com
Wed May 28 17:42:46 CEST 2025
Hi Proxmox Community,
I am working on implementing custom storage plugin and after evaluating
various edge cases related to volume live migration, I have decided to
create a 'storage assistant service'.
This service will be responsible for managing my storage plugin volumes
activation and deactivation across all nodes in the cluster.
The idea is to run a service on every cluster node that conducts:
Volume activation upon creation
Volume deactivation upon deletion
To achieve this, the service must receive notifications from the storage
plugin whenever a volume is created or deleted.
However, I am not yet familiar with the internal mechanisms of Proxmox
clustering and am unsure what technology or approach would be most
appropriate for such inter-node communication.
At present, I am considering using the Proxmox Cluster File System
(pmxcfs)—specifically the '/etc/pve/priv' directory—as a means of
transferring notifications through file creation and deletion.
Another option I’m exploring is executing remote commands over SSH.
I would appreciate any feedback on potential issues with this approach.
Additionally, if there are any existing services or projects that have
solved similar design problems, I would be grateful to learn about them.
Best regards,
Andrei
More information about the pve-devel
mailing list