VM's on NFS

okieunix1957

Member
Feb 11, 2020
71
5
8
68
I have a question about volumes which VM that lives on NFS.
Below is example:

cluster1
vm101
vm102

cluster2
vm101
vm102

New Cluster - cluster3 - NO VM's on it yet.

Now if I have All the VM's boots off SAME NFS volume that is attached to all 3 clusters.
Is there a chance that the other cluster VM get corrupted using same NFS volume on all 3 clusters?
 
hi,

it can cause problems since the VMs have the same IDs (101-102)

if you really have to use same NFS for multiple clusters you need to make sure you have different VMIDs so they don't clash
 
hi,

it can cause problems since the VMs have the same IDs (101-102)

if you really have to use same NFS for multiple clusters you need to make sure you have different VMIDs so they don't clash

Sounds like what needed is to add cluster-id info or at least look at corosync to do that so VM's know the difference.

What you have is dangerous to production environment. So this means for time being best practice that each cluster has it OWN NFS volume.