I just had a meeting with my team, and I was trying to talk to them about masking LUNs to VMware ESX hosts in different clusters. I was trying to explain to them the risk of data corruption when two servers not joined by a cluster have access to the same LUN. They are insistent that there is no risk, and that is perfectly fine, supported, and even commonplace to share LUNs with hosts that are not in the same cluster.
Can the community help me with this? Am I being too cautious, or is there some risk involved?
it's not aware of other hosts but it handles file locking internally, other ESX hosts would not be able to start the VM if it's already running on other host. I have two stand-alone ESXi servers (the free version) and both are connected to one LUN from VNX, each server is running a couple of VMs from the same LUN.
So, if you have two ESXX hosts not in a cluster configuration and both of these hosts (in different Storage Groups) share the same LUNs, that the file system will be aware of the other host?
VMFS is a cluster file system designed to support up to 32 hosts with simultaneous access.. Each host issues locks to the files they are operating on individually and the other hosts see/respect those locks through their own view of the filesystem.
VMWare clusters are not based on the filesystem and are actually only created to put boundaries on VMWare HA and VMWare DRS and other VM availability features. There is no requirement to have a host cluster when sharing VMFS volumes, as long as the limitations of VMFS are respected (maximum number of hosts, etc)
dynamox
11 Legend
•
20419 Posts
•
87439 Points
502
0
Posted February 3rd, 2012 11:00
VMFS file system is cluster aware, it handles locking of vmdk files not the actual esx nodes in the cluster.