Any suggestions on how I can create a shared & replicated volume, to be used by multiple VMs across multiple nodes?

yonoss

Member
Jul 5, 2023
30
0
6
Hi,
Any suggestions on how I can create a shared & replicate volume, to be used by multiple VMs across multiple nodes?

And if possible, withoug having to set up a SAN or NAS, just using proxmox functionality if possible.

Thanks

sharedStorage.jpg
 
What do you want to achieve? VM disk images available on both nodes? This can be done if you configure a ZFS pool with the same name on both nodes. Then enable the VM Replication for each VM.

You can combine that with HA, but be aware that the replication is async and you can have some data loss. How much depends on when the last successful replication finished before one node died.

Keep in mind that you should have a 3rd vote in the cluster. The QDevice can help you to get that, without setting up a 3rd node.
 
I don't want to replicate the whole VMs. I just what a shared file system volume through which I will be sharing mainly image files (.jpg, .png, .gif) across my VMs. Async nature of the replication should not be a problem
 
I don't want to replicate the whole VMs. I just what a shared file system volume through which I will be sharing mainly image files (.jpg, .png, .gif) across my VMs. Async nature of the replication should not be a problem
Hard to do on the disk level. On a single node or with shared storage it might work, if a cluster file system is used that can handle multiple different machines accessing it. But having it locally on two nodes replicated will not work.
The simplest approach would be a file server VM that has a network share to which the other VMs connect to.
 
  • Like
Reactions: yonoss