Patent attributes
Particular embodiments provide a system for managing a virtualization environment, the system comprising a plurality of host machines, one or more virtual disks comprising a plurality of storage devices, and a virtualized file server (VFS) comprising a plurality of file server virtual machines (FSVMs), wherein each of the FSVMs is running on one of the host machines and conducts I/O transactions with the one or more virtual disks, and the host machines form a cluster. A health monitoring service may monitor the FSVMs to determine whether any of the FSVMs has failed or is having problems. If the health monitoring service detects a failure of one of the FSVMs on a first one of the host machines, for each resource lock associated with the first FSVM, the health monitoring service may reassign the resource lock to another one of the FSVMs.